interface _SERVICE {
    add_user: ActorMethod<[bigint, [] | [string], [] | [bigint]], undefined>;
    create_note: ActorMethod<[], bigint>;
    delete_note: ActorMethod<[bigint], undefined>;
    encrypted_symmetric_key_for_note: ActorMethod<
        [bigint, number[] | Uint8Array],
        string,
    >;
    get_notes: ActorMethod<[], EncryptedNote[]>;
    refresh_note: ActorMethod<[bigint], EncryptedNote>;
    remove_user: ActorMethod<[bigint, [] | [string]], undefined>;
    symmetric_key_verification_key_for_note: ActorMethod<[], string>;
    update_note: ActorMethod<[bigint, string, string], undefined>;
    whoami: ActorMethod<[], string>;
}

Properties

add_user: ActorMethod<[bigint, [] | [string], [] | [bigint]], undefined>
create_note: ActorMethod<[], bigint>
delete_note: ActorMethod<[bigint], undefined>
encrypted_symmetric_key_for_note: ActorMethod<
    [bigint, number[] | Uint8Array],
    string,
>
get_notes: ActorMethod<[], EncryptedNote[]>
refresh_note: ActorMethod<[bigint], EncryptedNote>
remove_user: ActorMethod<[bigint, [] | [string]], undefined>
symmetric_key_verification_key_for_note: ActorMethod<[], string>
update_note: ActorMethod<[bigint, string, string], undefined>
whoami: ActorMethod<[], string>