Variable snapKeystoreApiDefsConst

snapKeystoreApiDefs: {
    createAuthToken: {
        req: {
            decode(input, length?): CreateAuthTokenRequest;
            encode(message, writer?): Writer;
            fromJSON(object): CreateAuthTokenRequest;
            fromPartial<I>(object): CreateAuthTokenRequest;
            toJSON(message): unknown;
        };
        res: {
            decode(input, length?): Token;
            encode(message, writer?): Writer;
            fromJSON(object): Token;
            fromPartial<I>(object): Token;
            toJSON(message): unknown;
        };
    };
    createInvite: {
        req: {
            decode(input, length?): CreateInviteRequest;
            encode(message, writer?): Writer;
            fromJSON(object): CreateInviteRequest;
            fromPartial<I>(object): CreateInviteRequest;
            toJSON(message): unknown;
        };
        res: {
            decode(input, length?): CreateInviteResponse;
            encode(message, writer?): Writer;
            fromJSON(object): CreateInviteResponse;
            fromPartial<I>(object): CreateInviteResponse;
            toJSON(message): unknown;
        };
    };
    decryptV1: {
        req: {
            decode(input, length?): DecryptV1Request;
            encode(message, writer?): Writer;
            fromJSON(object): DecryptV1Request;
            fromPartial<I>(object): DecryptV1Request;
            toJSON(message): unknown;
        };
        res: {
            decode(input, length?): DecryptResponse;
            encode(message, writer?): Writer;
            fromJSON(object): DecryptResponse;
            fromPartial<I>(object): DecryptResponse;
            toJSON(message): unknown;
        };
    };
    decryptV2: {
        req: {
            decode(input, length?): DecryptV2Request;
            encode(message, writer?): Writer;
            fromJSON(object): DecryptV2Request;
            fromPartial<I>(object): DecryptV2Request;
            toJSON(message): unknown;
        };
        res: {
            decode(input, length?): DecryptResponse;
            encode(message, writer?): Writer;
            fromJSON(object): DecryptResponse;
            fromPartial<I>(object): DecryptResponse;
            toJSON(message): unknown;
        };
    };
    encryptV1: {
        req: {
            decode(input, length?): EncryptV1Request;
            encode(message, writer?): Writer;
            fromJSON(object): EncryptV1Request;
            fromPartial<I>(object): EncryptV1Request;
            toJSON(message): unknown;
        };
        res: {
            decode(input, length?): EncryptResponse;
            encode(message, writer?): Writer;
            fromJSON(object): EncryptResponse;
            fromPartial<I>(object): EncryptResponse;
            toJSON(message): unknown;
        };
    };
    encryptV2: {
        req: {
            decode(input, length?): EncryptV2Request;
            encode(message, writer?): Writer;
            fromJSON(object): EncryptV2Request;
            fromPartial<I>(object): EncryptV2Request;
            toJSON(message): unknown;
        };
        res: {
            decode(input, length?): EncryptResponse;
            encode(message, writer?): Writer;
            fromJSON(object): EncryptResponse;
            fromPartial<I>(object): EncryptResponse;
            toJSON(message): unknown;
        };
    };
    getKeystoreStatus: {
        req: {
            decode(input, length?): GetKeystoreStatusRequest;
            encode(message, writer?): Writer;
            fromJSON(object): GetKeystoreStatusRequest;
            fromPartial<I>(object): GetKeystoreStatusRequest;
            toJSON(message): unknown;
        };
        res: {
            decode(input, length?): GetKeystoreStatusResponse;
            encode(message, writer?): Writer;
            fromJSON(object): GetKeystoreStatusResponse;
            fromPartial<I>(object): GetKeystoreStatusResponse;
            toJSON(message): unknown;
        };
    };
    getPrivateKeyBundle: {
        req: null;
        res: {
            decode(input, length?): PrivateKeyBundleV1;
            encode(message, writer?): Writer;
            fromJSON(object): PrivateKeyBundleV1;
            fromPartial<I>(object): PrivateKeyBundleV1;
            toJSON(message): unknown;
        };
    };
    getPrivatePreferencesTopicIdentifier: {
        req: null;
        res: {
            decode(input, length?): GetPrivatePreferencesTopicIdentifierResponse;
            encode(message, writer?): Writer;
            fromJSON(object): GetPrivatePreferencesTopicIdentifierResponse;
            fromPartial<I>(object): GetPrivatePreferencesTopicIdentifierResponse;
            toJSON(message): unknown;
        };
    };
    getPublicKeyBundle: {
        req: null;
        res: {
            decode(input, length?): PublicKeyBundle;
            encode(message, writer?): Writer;
            fromJSON(object): PublicKeyBundle;
            fromPartial<I>(object): PublicKeyBundle;
            toJSON(message): unknown;
        };
    };
    getRefreshJob: {
        req: {
            decode(input, length?): GetRefreshJobRequest;
            encode(message, writer?): Writer;
            fromJSON(object): GetRefreshJobRequest;
            fromPartial<I>(object): GetRefreshJobRequest;
            toJSON(message): unknown;
        };
        res: {
            decode(input, length?): GetRefreshJobResponse;
            encode(message, writer?): Writer;
            fromJSON(object): GetRefreshJobResponse;
            fromPartial<I>(object): GetRefreshJobResponse;
            toJSON(message): unknown;
        };
    };
    getV1Conversations: {
        req: null;
        res: {
            decode(input, length?): GetConversationsResponse;
            encode(message, writer?): Writer;
            fromJSON(object): GetConversationsResponse;
            fromPartial<I>(object): GetConversationsResponse;
            toJSON(message): unknown;
        };
    };
    getV2ConversationHmacKeys: {
        req: {
            decode(input, length?): GetConversationHmacKeysRequest;
            encode(message, writer?): Writer;
            fromJSON(object): GetConversationHmacKeysRequest;
            fromPartial<I>(object): GetConversationHmacKeysRequest;
            toJSON(message): unknown;
        };
        res: {
            decode(input, length?): GetConversationHmacKeysResponse;
            encode(message, writer?): Writer;
            fromJSON(object): GetConversationHmacKeysResponse;
            fromPartial<I>(object): GetConversationHmacKeysResponse;
            toJSON(message): unknown;
        };
    };
    getV2Conversations: {
        req: null;
        res: {
            decode(input, length?): GetConversationsResponse;
            encode(message, writer?): Writer;
            fromJSON(object): GetConversationsResponse;
            fromPartial<I>(object): GetConversationsResponse;
            toJSON(message): unknown;
        };
    };
    initKeystore: {
        req: {
            decode(input, length?): InitKeystoreRequest;
            encode(message, writer?): Writer;
            fromJSON(object): InitKeystoreRequest;
            fromPartial<I>(object): InitKeystoreRequest;
            toJSON(message): unknown;
        };
        res: {
            decode(input, length?): InitKeystoreResponse;
            encode(message, writer?): Writer;
            fromJSON(object): InitKeystoreResponse;
            fromPartial<I>(object): InitKeystoreResponse;
            toJSON(message): unknown;
        };
    };
    saveInvites: {
        req: {
            decode(input, length?): SaveInvitesRequest;
            encode(message, writer?): Writer;
            fromJSON(object): SaveInvitesRequest;
            fromPartial<I>(object): SaveInvitesRequest;
            toJSON(message): unknown;
        };
        res: {
            decode(input, length?): SaveInvitesResponse;
            encode(message, writer?): Writer;
            fromJSON(object): SaveInvitesResponse;
            fromPartial<I>(object): SaveInvitesResponse;
            toJSON(message): unknown;
        };
    };
    saveV1Conversations: {
        req: {
            decode(input, length?): SaveV1ConversationsRequest;
            encode(message, writer?): Writer;
            fromJSON(object): SaveV1ConversationsRequest;
            fromPartial<I>(object): SaveV1ConversationsRequest;
            toJSON(message): unknown;
        };
        res: {
            decode(input, length?): SaveV1ConversationsResponse;
            encode(_, writer?): Writer;
            fromJSON(_): SaveV1ConversationsResponse;
            fromPartial<I>(_): SaveV1ConversationsResponse;
            toJSON(_): unknown;
        };
    };
    selfDecrypt: {
        req: {
            decode(input, length?): SelfDecryptRequest;
            encode(message, writer?): Writer;
            fromJSON(object): SelfDecryptRequest;
            fromPartial<I>(object): SelfDecryptRequest;
            toJSON(message): unknown;
        };
        res: {
            decode(input, length?): DecryptResponse;
            encode(message, writer?): Writer;
            fromJSON(object): DecryptResponse;
            fromPartial<I>(object): DecryptResponse;
            toJSON(message): unknown;
        };
    };
    selfEncrypt: {
        req: {
            decode(input, length?): SelfEncryptRequest;
            encode(message, writer?): Writer;
            fromJSON(object): SelfEncryptRequest;
            fromPartial<I>(object): SelfEncryptRequest;
            toJSON(message): unknown;
        };
        res: {
            decode(input, length?): SelfEncryptResponse;
            encode(message, writer?): Writer;
            fromJSON(object): SelfEncryptResponse;
            fromPartial<I>(object): SelfEncryptResponse;
            toJSON(message): unknown;
        };
    };
    setRefreshJob: {
        req: {
            decode(input, length?): SetRefeshJobRequest;
            encode(message, writer?): Writer;
            fromJSON(object): SetRefeshJobRequest;
            fromPartial<I>(object): SetRefeshJobRequest;
            toJSON(message): unknown;
        };
        res: {
            decode(input, length?): SetRefreshJobResponse;
            encode(_, writer?): Writer;
            fromJSON(_): SetRefreshJobResponse;
            fromPartial<I>(_): SetRefreshJobResponse;
            toJSON(_): unknown;
        };
    };
    signDigest: {
        req: {
            decode(input, length?): SignDigestRequest;
            encode(message, writer?): Writer;
            fromJSON(object): SignDigestRequest;
            fromPartial<I>(object): SignDigestRequest;
            toJSON(message): unknown;
        };
        res: {
            decode(input, length?): Signature;
            encode(message, writer?): Writer;
            fromJSON(object): Signature;
            fromPartial<I>(object): Signature;
            toJSON(message): unknown;
        };
    };
} = ...

Type declaration

  • createAuthToken: {
        req: {
            decode(input, length?): CreateAuthTokenRequest;
            encode(message, writer?): Writer;
            fromJSON(object): CreateAuthTokenRequest;
            fromPartial<I>(object): CreateAuthTokenRequest;
            toJSON(message): unknown;
        };
        res: {
            decode(input, length?): Token;
            encode(message, writer?): Writer;
            fromJSON(object): Token;
            fromPartial<I>(object): Token;
            toJSON(message): unknown;
        };
    }

    Create an XMTP auth token to be used as a header on XMTP API requests

    • req: {
          decode(input, length?): CreateAuthTokenRequest;
          encode(message, writer?): Writer;
          fromJSON(object): CreateAuthTokenRequest;
          fromPartial<I>(object): CreateAuthTokenRequest;
          toJSON(message): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optional length: number

          Returns CreateAuthTokenRequest

      • encode:function
        • Parameters

          • message: CreateAuthTokenRequest
          • Optional writer: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns CreateAuthTokenRequest

      • fromPartial:function
        • Type Parameters

          • I extends {
                timestampNs?: string | number | Long;
            } & {
                timestampNs?: string | number | Long & {
                    add: ((addend) => Long);
                    and: ((other) => Long);
                    clz: (() => number);
                    comp: ((other) => number);
                    compare: ((other) => number);
                    countLeadingZeros: (() => number);
                    countTrailingZeros: (() => number);
                    ctz: (() => number);
                    div: ((divisor) => Long);
                    divide: ((divisor) => Long);
                    eq: ((other) => boolean);
                    equals: ((other) => boolean);
                    eqz: (() => boolean);
                    ge: ((other) => boolean);
                    getHighBits: (() => number);
                    getHighBitsUnsigned: (() => number);
                    getLowBits: (() => number);
                    getLowBitsUnsigned: (() => number);
                    getNumBitsAbs: (() => number);
                    greaterThan: ((other) => boolean);
                    greaterThanOrEqual: ((other) => boolean);
                    gt: ((other) => boolean);
                    gte: ((other) => boolean);
                    high: number;
                    isEven: (() => boolean);
                    isNegative: (() => boolean);
                    isOdd: (() => boolean);
                    isPositive: (() => boolean);
                    isZero: (() => boolean);
                    le: ((other) => boolean);
                    lessThan: ((other) => boolean);
                    lessThanOrEqual: ((other) => boolean);
                    low: number;
                    lt: ((other) => boolean);
                    lte: ((other) => boolean);
                    mod: ((other) => Long);
                    modulo: ((other) => Long);
                    mul: ((multiplier) => Long);
                    multiply: ((multiplier) => Long);
                    ne: ((other) => boolean);
                    neg: (() => Long);
                    negate: (() => Long);
                    neq: ((other) => boolean);
                    not: (() => Long);
                    notEquals: ((other) => boolean);
                    or: ((other) => Long);
                    rem: ((other) => Long);
                    rotateLeft: ((numBits) => Long);
                    rotateRight: ((numBits) => Long);
                    rotl: ((numBits) => Long);
                    rotr: ((numBits) => Long);
                    shiftLeft: ((numBits) => Long);
                    shiftRight: ((numBits) => Long);
                    shiftRightUnsigned: ((numBits) => Long);
                    shl: ((numBits) => Long);
                    shr: ((numBits) => Long);
                    shr_u: ((numBits) => Long);
                    shru: ((numBits) => Long);
                    sub: ((subtrahend) => Long);
                    subtract: ((subtrahend) => Long);
                    toBytes: ((le?) => number[]);
                    toBytesBE: (() => number[]);
                    toBytesLE: (() => number[]);
                    toInt: (() => number);
                    toNumber: (() => number);
                    toSigned: (() => Long);
                    toString: ((radix?) => string);
                    toUnsigned: (() => Long);
                    unsigned: boolean;
                    xor: ((other) => Long);
                } & {
                    [K in string | number | symbol]: never
                };
            } & {
                [K_1 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns CreateAuthTokenRequest

      • toJSON:function
        • Parameters

          • message: CreateAuthTokenRequest

          Returns unknown

    • res: {
          decode(input, length?): Token;
          encode(message, writer?): Writer;
          fromJSON(object): Token;
          fromPartial<I>(object): Token;
          toJSON(message): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optional length: number

          Returns Token

      • encode:function
        • Parameters

          • message: Token
          • Optional writer: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns Token

      • fromPartial:function
        • Type Parameters

          • I extends {
                authDataBytes?: Uint8Array;
                authDataSignature?: {
                    ecdsaCompact?: {
                        bytes?: Uint8Array;
                        recovery?: number;
                    };
                    walletEcdsaCompact?: {
                        bytes?: Uint8Array;
                        recovery?: number;
                    };
                };
                identityKey?: {
                    secp256k1Uncompressed?: {
                        bytes?: Uint8Array;
                    };
                    signature?: {
                        ecdsaCompact?: {
                            bytes?: ...;
                            recovery?: ...;
                        };
                        walletEcdsaCompact?: {
                            bytes?: ...;
                            recovery?: ...;
                        };
                    };
                    timestamp?: string | number | Long;
                };
            } & {
                authDataBytes?: Uint8Array;
                authDataSignature?: {
                    ecdsaCompact?: {
                        bytes?: (...) | (...);
                        recovery?: (...) | (...);
                    };
                    walletEcdsaCompact?: {
                        bytes?: (...) | (...);
                        recovery?: (...) | (...);
                    };
                } & {
                    ecdsaCompact?: {
                        bytes?: ...;
                        recovery?: ...;
                    } & {
                        bytes?: ...;
                        recovery?: ...;
                    } & {
                        [K_6 in (...)]: (...)
                    };
                    walletEcdsaCompact?: {
                        bytes?: ...;
                        recovery?: ...;
                    } & {
                        bytes?: ...;
                        recovery?: ...;
                    } & {
                        [K_7 in (...)]: (...)
                    };
                } & {
                    [K_8 in string | number | symbol]: never
                };
                identityKey?: {
                    secp256k1Uncompressed?: {
                        bytes?: (...) | (...);
                    };
                    signature?: {
                        ecdsaCompact?: (...) | (...);
                        walletEcdsaCompact?: (...) | (...);
                    };
                    timestamp?: string | number | Long;
                } & {
                    secp256k1Uncompressed?: {
                        bytes?: ...;
                    } & {
                        bytes?: ...;
                    } & {
                        [K_4 in (...)]: (...)
                    };
                    signature?: {
                        ecdsaCompact?: ...;
                        walletEcdsaCompact?: ...;
                    } & {
                        ecdsaCompact?: ...;
                        walletEcdsaCompact?: ...;
                    } & {
                        [K_3 in (...)]: (...)
                    };
                    timestamp?: string | number | Long & {
                        add: ...;
                        and: ...;
                        clz: ...;
                        comp: ...;
                        compare: ...;
                        countLeadingZeros: ...;
                        countTrailingZeros: ...;
                        ctz: ...;
                        div: ...;
                        divide: ...;
                        eq: ...;
                        equals: ...;
                        eqz: ...;
                        ge: ...;
                        getHighBits: ...;
                        getHighBitsUnsigned: ...;
                        getLowBits: ...;
                        getLowBitsUnsigned: ...;
                        getNumBitsAbs: ...;
                        greaterThan: ...;
                        greaterThanOrEqual: ...;
                        gt: ...;
                        gte: ...;
                        high: ...;
                        isEven: ...;
                        isNegative: ...;
                        isOdd: ...;
                        isPositive: ...;
                        isZero: ...;
                        le: ...;
                        lessThan: ...;
                        lessThanOrEqual: ...;
                        low: ...;
                        lt: ...;
                        lte: ...;
                        mod: ...;
                        modulo: ...;
                        mul: ...;
                        multiply: ...;
                        ne: ...;
                        neg: ...;
                        negate: ...;
                        neq: ...;
                        not: ...;
                        notEquals: ...;
                        or: ...;
                        rem: ...;
                        rotateLeft: ...;
                        rotateRight: ...;
                        rotl: ...;
                        rotr: ...;
                        shiftLeft: ...;
                        shiftRight: ...;
                        shiftRightUnsigned: ...;
                        shl: ...;
                        shr: ...;
                        shr_u: ...;
                        shru: ...;
                        sub: ...;
                        subtract: ...;
                        toBytes: ...;
                        toBytesBE: ...;
                        toBytesLE: ...;
                        toInt: ...;
                        toNumber: ...;
                        toSigned: ...;
                        toString: ...;
                        toUnsigned: ...;
                        unsigned: ...;
                        xor: ...;
                    } & {
                        [K in (...)]: (...)
                    };
                } & {
                    [K_5 in string | number | symbol]: never
                };
            } & {
                [K_9 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns Token

      • toJSON:function
        • Parameters

          • message: Token

          Returns unknown

  • createInvite: {
        req: {
            decode(input, length?): CreateInviteRequest;
            encode(message, writer?): Writer;
            fromJSON(object): CreateInviteRequest;
            fromPartial<I>(object): CreateInviteRequest;
            toJSON(message): unknown;
        };
        res: {
            decode(input, length?): CreateInviteResponse;
            encode(message, writer?): Writer;
            fromJSON(object): CreateInviteResponse;
            fromPartial<I>(object): CreateInviteResponse;
            toJSON(message): unknown;
        };
    }

    Create a sealed/encrypted invite and store the Topic keys in the Keystore for later use. The returned invite payload must be sent to the network for the other party to be able to communicate.

    • req: {
          decode(input, length?): CreateInviteRequest;
          encode(message, writer?): Writer;
          fromJSON(object): CreateInviteRequest;
          fromPartial<I>(object): CreateInviteRequest;
          toJSON(message): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optional length: number

          Returns CreateInviteRequest

      • encode:function
        • Parameters

          • message: CreateInviteRequest
          • Optional writer: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns CreateInviteRequest

      • fromPartial:function
        • Type Parameters

          • I extends {
                consentProof?: {
                    payloadVersion?: ConsentProofPayloadVersion;
                    signature?: string;
                    timestamp?: string | number | Long;
                };
                context?: {
                    conversationId?: string;
                    metadata?: {
                        [x: string]: string | undefined;
                    };
                };
                createdNs?: string | number | Long;
                recipient?: {
                    identityKey?: {
                        keyBytes?: Uint8Array;
                        signature?: {
                            ecdsaCompact?: ...;
                            walletEcdsaCompact?: ...;
                        };
                    };
                    preKey?: {
                        keyBytes?: Uint8Array;
                        signature?: {
                            ecdsaCompact?: ...;
                            walletEcdsaCompact?: ...;
                        };
                    };
                };
            } & {
                consentProof?: {
                    payloadVersion?: ConsentProofPayloadVersion;
                    signature?: string;
                    timestamp?: string | number | Long;
                } & {
                    payloadVersion?: ConsentProofPayloadVersion;
                    signature?: string;
                    timestamp?: string | number | Long & {
                        add: ...;
                        and: ...;
                        clz: ...;
                        comp: ...;
                        compare: ...;
                        countLeadingZeros: ...;
                        countTrailingZeros: ...;
                        ctz: ...;
                        div: ...;
                        divide: ...;
                        eq: ...;
                        equals: ...;
                        eqz: ...;
                        ge: ...;
                        getHighBits: ...;
                        getHighBitsUnsigned: ...;
                        getLowBits: ...;
                        getLowBitsUnsigned: ...;
                        getNumBitsAbs: ...;
                        greaterThan: ...;
                        greaterThanOrEqual: ...;
                        gt: ...;
                        gte: ...;
                        high: ...;
                        isEven: ...;
                        isNegative: ...;
                        isOdd: ...;
                        isPositive: ...;
                        isZero: ...;
                        le: ...;
                        lessThan: ...;
                        lessThanOrEqual: ...;
                        low: ...;
                        lt: ...;
                        lte: ...;
                        mod: ...;
                        modulo: ...;
                        mul: ...;
                        multiply: ...;
                        ne: ...;
                        neg: ...;
                        negate: ...;
                        neq: ...;
                        not: ...;
                        notEquals: ...;
                        or: ...;
                        rem: ...;
                        rotateLeft: ...;
                        rotateRight: ...;
                        rotl: ...;
                        rotr: ...;
                        shiftLeft: ...;
                        shiftRight: ...;
                        shiftRightUnsigned: ...;
                        shl: ...;
                        shr: ...;
                        shr_u: ...;
                        shru: ...;
                        sub: ...;
                        subtract: ...;
                        toBytes: ...;
                        toBytesBE: ...;
                        toBytesLE: ...;
                        toInt: ...;
                        toNumber: ...;
                        toSigned: ...;
                        toString: ...;
                        toUnsigned: ...;
                        unsigned: ...;
                        xor: ...;
                    } & {
                        [K_12 in (...)]: (...)
                    };
                } & {
                    [K_13 in string | number | symbol]: never
                };
                context?: {
                    conversationId?: string;
                    metadata?: {
                        [x: string]: (...) | (...);
                    };
                } & {
                    conversationId?: string;
                    metadata?: {
                        [x: ...]: ...;
                    } & {
                        [x: ...]: ...;
                    } & {
                        [K in (...)]: (...)
                    };
                } & {
                    [K_1 in string | number | symbol]: never
                };
                createdNs?: string | number | Long & {
                    add: ((addend) => Long);
                    and: ((other) => Long);
                    clz: (() => number);
                    comp: ((other) => number);
                    compare: ((other) => number);
                    countLeadingZeros: (() => number);
                    countTrailingZeros: (() => number);
                    ctz: (() => number);
                    div: ((divisor) => Long);
                    divide: ((divisor) => Long);
                    eq: ((other) => boolean);
                    equals: ((other) => boolean);
                    eqz: (() => boolean);
                    ge: ((other) => boolean);
                    getHighBits: (() => number);
                    getHighBitsUnsigned: (() => number);
                    getLowBits: (() => number);
                    getLowBitsUnsigned: (() => number);
                    getNumBitsAbs: (() => number);
                    greaterThan: ((other) => boolean);
                    greaterThanOrEqual: ((other) => boolean);
                    gt: ((other) => boolean);
                    gte: ((other) => boolean);
                    high: number;
                    isEven: (() => boolean);
                    isNegative: (() => boolean);
                    isOdd: (() => boolean);
                    isPositive: (() => boolean);
                    isZero: (() => boolean);
                    le: ((other) => boolean);
                    lessThan: ((other) => boolean);
                    lessThanOrEqual: ((other) => boolean);
                    low: number;
                    lt: ((other) => boolean);
                    lte: ((other) => boolean);
                    mod: ((other) => Long);
                    modulo: ((other) => Long);
                    mul: ((multiplier) => Long);
                    multiply: ((multiplier) => Long);
                    ne: ((other) => boolean);
                    neg: (() => Long);
                    negate: (() => Long);
                    neq: ((other) => boolean);
                    not: (() => Long);
                    notEquals: ((other) => boolean);
                    or: ((other) => Long);
                    rem: ((other) => Long);
                    rotateLeft: ((numBits) => Long);
                    rotateRight: ((numBits) => Long);
                    rotl: ((numBits) => Long);
                    rotr: ((numBits) => Long);
                    shiftLeft: ((numBits) => Long);
                    shiftRight: ((numBits) => Long);
                    shiftRightUnsigned: ((numBits) => Long);
                    shl: ((numBits) => Long);
                    shr: ((numBits) => Long);
                    shr_u: ((numBits) => Long);
                    shru: ((numBits) => Long);
                    sub: ((subtrahend) => Long);
                    subtract: ((subtrahend) => Long);
                    toBytes: ((le?) => number[]);
                    toBytesBE: (() => number[]);
                    toBytesLE: (() => number[]);
                    toInt: (() => number);
                    toNumber: (() => number);
                    toSigned: (() => Long);
                    toString: ((radix?) => string);
                    toUnsigned: (() => Long);
                    unsigned: boolean;
                    xor: ((other) => Long);
                } & {
                    [K_11 in string | number | symbol]: never
                };
                recipient?: {
                    identityKey?: {
                        keyBytes?: (...) | (...);
                        signature?: (...) | (...);
                    };
                    preKey?: {
                        keyBytes?: (...) | (...);
                        signature?: (...) | (...);
                    };
                } & {
                    identityKey?: {
                        keyBytes?: ...;
                        signature?: ...;
                    } & {
                        keyBytes?: ...;
                        signature?: ...;
                    } & {
                        [K_5 in (...)]: (...)
                    };
                    preKey?: {
                        keyBytes?: ...;
                        signature?: ...;
                    } & {
                        keyBytes?: ...;
                        signature?: ...;
                    } & {
                        [K_9 in (...)]: (...)
                    };
                } & {
                    [K_10 in string | number | symbol]: never
                };
            } & {
                [K_14 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns CreateInviteRequest

      • toJSON:function
        • Parameters

          • message: CreateInviteRequest

          Returns unknown

    • res: {
          decode(input, length?): CreateInviteResponse;
          encode(message, writer?): Writer;
          fromJSON(object): CreateInviteResponse;
          fromPartial<I>(object): CreateInviteResponse;
          toJSON(message): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optional length: number

          Returns CreateInviteResponse

      • encode:function
        • Parameters

          • message: CreateInviteResponse
          • Optional writer: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns CreateInviteResponse

      • fromPartial:function
        • Type Parameters

          • I extends {
                conversation?: {
                    consentProofPayload?: {
                        payloadVersion?: ConsentProofPayloadVersion;
                        signature?: string;
                        timestamp?: string | number | Long;
                    };
                    context?: {
                        conversationId?: string;
                        metadata?: {
                            [x: ...]: ...;
                        };
                    };
                    createdNs?: string | number | Long;
                    peerAddress?: string;
                    topic?: string;
                };
                payload?: Uint8Array;
            } & {
                conversation?: {
                    consentProofPayload?: {
                        payloadVersion?: (...) | (...);
                        signature?: (...) | (...);
                        timestamp?: (...) | (...) | (...) | (...);
                    };
                    context?: {
                        conversationId?: (...) | (...);
                        metadata?: (...) | (...);
                    };
                    createdNs?: string | number | Long;
                    peerAddress?: string;
                    topic?: string;
                } & {
                    consentProofPayload?: {
                        payloadVersion?: ...;
                        signature?: ...;
                        timestamp?: ...;
                    } & {
                        payloadVersion?: ...;
                        signature?: ...;
                        timestamp?: ...;
                    } & {
                        [K_4 in (...)]: (...)
                    };
                    context?: {
                        conversationId?: ...;
                        metadata?: ...;
                    } & {
                        conversationId?: ...;
                        metadata?: ...;
                    } & {
                        [K_2 in (...)]: (...)
                    };
                    createdNs?: string | number | Long & {
                        add: ...;
                        and: ...;
                        clz: ...;
                        comp: ...;
                        compare: ...;
                        countLeadingZeros: ...;
                        countTrailingZeros: ...;
                        ctz: ...;
                        div: ...;
                        divide: ...;
                        eq: ...;
                        equals: ...;
                        eqz: ...;
                        ge: ...;
                        getHighBits: ...;
                        getHighBitsUnsigned: ...;
                        getLowBits: ...;
                        getLowBitsUnsigned: ...;
                        getNumBitsAbs: ...;
                        greaterThan: ...;
                        greaterThanOrEqual: ...;
                        gt: ...;
                        gte: ...;
                        high: ...;
                        isEven: ...;
                        isNegative: ...;
                        isOdd: ...;
                        isPositive: ...;
                        isZero: ...;
                        le: ...;
                        lessThan: ...;
                        lessThanOrEqual: ...;
                        low: ...;
                        lt: ...;
                        lte: ...;
                        mod: ...;
                        modulo: ...;
                        mul: ...;
                        multiply: ...;
                        ne: ...;
                        neg: ...;
                        negate: ...;
                        neq: ...;
                        not: ...;
                        notEquals: ...;
                        or: ...;
                        rem: ...;
                        rotateLeft: ...;
                        rotateRight: ...;
                        rotl: ...;
                        rotr: ...;
                        shiftLeft: ...;
                        shiftRight: ...;
                        shiftRightUnsigned: ...;
                        shl: ...;
                        shr: ...;
                        shr_u: ...;
                        shru: ...;
                        sub: ...;
                        subtract: ...;
                        toBytes: ...;
                        toBytesBE: ...;
                        toBytesLE: ...;
                        toInt: ...;
                        toNumber: ...;
                        toSigned: ...;
                        toString: ...;
                        toUnsigned: ...;
                        unsigned: ...;
                        xor: ...;
                    } & {
                        [K in (...)]: (...)
                    };
                    peerAddress?: string;
                    topic?: string;
                } & {
                    [K_5 in string | number | symbol]: never
                };
                payload?: Uint8Array;
            } & {
                [K_6 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns CreateInviteResponse

      • toJSON:function
        • Parameters

          • message: CreateInviteResponse

          Returns unknown

  • decryptV1: {
        req: {
            decode(input, length?): DecryptV1Request;
            encode(message, writer?): Writer;
            fromJSON(object): DecryptV1Request;
            fromPartial<I>(object): DecryptV1Request;
            toJSON(message): unknown;
        };
        res: {
            decode(input, length?): DecryptResponse;
            encode(message, writer?): Writer;
            fromJSON(object): DecryptResponse;
            fromPartial<I>(object): DecryptResponse;
            toJSON(message): unknown;
        };
    }

    Decrypt a batch of V1 messages

    • req: {
          decode(input, length?): DecryptV1Request;
          encode(message, writer?): Writer;
          fromJSON(object): DecryptV1Request;
          fromPartial<I>(object): DecryptV1Request;
          toJSON(message): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optional length: number

          Returns DecryptV1Request

      • encode:function
        • Parameters

          • message: DecryptV1Request
          • Optional writer: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns DecryptV1Request

      • fromPartial:function
        • Type Parameters

          • I extends {
                requests?: {
                    headerBytes?: Uint8Array;
                    isSender?: boolean;
                    payload?: {
                        aes256GcmHkdfSha256?: (...) | (...);
                    };
                    peerKeys?: {
                        identityKey?: (...) | (...);
                        preKey?: (...) | (...);
                    };
                }[];
            } & {
                requests?: {
                    headerBytes?: Uint8Array;
                    isSender?: boolean;
                    payload?: {
                        aes256GcmHkdfSha256?: ...;
                    };
                    peerKeys?: {
                        identityKey?: ...;
                        preKey?: ...;
                    };
                }[] & ({
                    headerBytes?: (...) | (...);
                    isSender?: (...) | (...) | (...);
                    payload?: (...) | (...);
                    peerKeys?: (...) | (...);
                } & {
                    headerBytes?: (...) | (...);
                    isSender?: (...) | (...) | (...);
                    payload?: (...) | (...);
                    peerKeys?: (...) | (...);
                } & {
                    [K_15 in (...) | (...) | (...)]: never
                })[] & {
                    [K_16 in string | symbol]: never
                };
            } & {
                [K_17 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns DecryptV1Request

      • toJSON:function
        • Parameters

          • message: DecryptV1Request

          Returns unknown

    • res: {
          decode(input, length?): DecryptResponse;
          encode(message, writer?): Writer;
          fromJSON(object): DecryptResponse;
          fromPartial<I>(object): DecryptResponse;
          toJSON(message): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optional length: number

          Returns DecryptResponse

      • encode:function
        • Parameters

          • message: DecryptResponse
          • Optional writer: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns DecryptResponse

      • fromPartial:function
        • Type Parameters

          • I extends {
                responses?: {
                    error?: {
                        code?: (...) | (...);
                        message?: (...) | (...);
                    };
                    result?: {
                        decrypted?: (...) | (...);
                    };
                }[];
            } & {
                responses?: {
                    error?: {
                        code?: ...;
                        message?: ...;
                    };
                    result?: {
                        decrypted?: ...;
                    };
                }[] & ({
                    error?: (...) | (...);
                    result?: (...) | (...);
                } & {
                    error?: (...) | (...);
                    result?: (...) | (...);
                } & {
                    [K_2 in (...) | (...) | (...)]: never
                })[] & {
                    [K_3 in string | symbol]: never
                };
            } & {
                [K_4 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns DecryptResponse

      • toJSON:function
        • Parameters

          • message: DecryptResponse

          Returns unknown

  • decryptV2: {
        req: {
            decode(input, length?): DecryptV2Request;
            encode(message, writer?): Writer;
            fromJSON(object): DecryptV2Request;
            fromPartial<I>(object): DecryptV2Request;
            toJSON(message): unknown;
        };
        res: {
            decode(input, length?): DecryptResponse;
            encode(message, writer?): Writer;
            fromJSON(object): DecryptResponse;
            fromPartial<I>(object): DecryptResponse;
            toJSON(message): unknown;
        };
    }

    Decrypt a batch of V2 messages

    • req: {
          decode(input, length?): DecryptV2Request;
          encode(message, writer?): Writer;
          fromJSON(object): DecryptV2Request;
          fromPartial<I>(object): DecryptV2Request;
          toJSON(message): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optional length: number

          Returns DecryptV2Request

      • encode:function
        • Parameters

          • message: DecryptV2Request
          • Optional writer: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns DecryptV2Request

      • fromPartial:function
        • Type Parameters

          • I extends {
                requests?: {
                    contentTopic?: string;
                    headerBytes?: Uint8Array;
                    payload?: {
                        aes256GcmHkdfSha256?: (...) | (...);
                    };
                }[];
            } & {
                requests?: {
                    contentTopic?: string;
                    headerBytes?: Uint8Array;
                    payload?: {
                        aes256GcmHkdfSha256?: ...;
                    };
                }[] & ({
                    contentTopic?: (...) | (...);
                    headerBytes?: (...) | (...);
                    payload?: (...) | (...);
                } & {
                    contentTopic?: (...) | (...);
                    headerBytes?: (...) | (...);
                    payload?: (...) | (...);
                } & {
                    [K_2 in (...) | (...) | (...)]: never
                })[] & {
                    [K_3 in string | symbol]: never
                };
            } & {
                [K_4 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns DecryptV2Request

      • toJSON:function
        • Parameters

          • message: DecryptV2Request

          Returns unknown

    • res: {
          decode(input, length?): DecryptResponse;
          encode(message, writer?): Writer;
          fromJSON(object): DecryptResponse;
          fromPartial<I>(object): DecryptResponse;
          toJSON(message): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optional length: number

          Returns DecryptResponse

      • encode:function
        • Parameters

          • message: DecryptResponse
          • Optional writer: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns DecryptResponse

      • fromPartial:function
        • Type Parameters

          • I extends {
                responses?: {
                    error?: {
                        code?: (...) | (...);
                        message?: (...) | (...);
                    };
                    result?: {
                        decrypted?: (...) | (...);
                    };
                }[];
            } & {
                responses?: {
                    error?: {
                        code?: ...;
                        message?: ...;
                    };
                    result?: {
                        decrypted?: ...;
                    };
                }[] & ({
                    error?: (...) | (...);
                    result?: (...) | (...);
                } & {
                    error?: (...) | (...);
                    result?: (...) | (...);
                } & {
                    [K_2 in (...) | (...) | (...)]: never
                })[] & {
                    [K_3 in string | symbol]: never
                };
            } & {
                [K_4 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns DecryptResponse

      • toJSON:function
        • Parameters

          • message: DecryptResponse

          Returns unknown

  • encryptV1: {
        req: {
            decode(input, length?): EncryptV1Request;
            encode(message, writer?): Writer;
            fromJSON(object): EncryptV1Request;
            fromPartial<I>(object): EncryptV1Request;
            toJSON(message): unknown;
        };
        res: {
            decode(input, length?): EncryptResponse;
            encode(message, writer?): Writer;
            fromJSON(object): EncryptResponse;
            fromPartial<I>(object): EncryptResponse;
            toJSON(message): unknown;
        };
    }

    Encrypt a batch of V1 messages

    • req: {
          decode(input, length?): EncryptV1Request;
          encode(message, writer?): Writer;
          fromJSON(object): EncryptV1Request;
          fromPartial<I>(object): EncryptV1Request;
          toJSON(message): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optional length: number

          Returns EncryptV1Request

      • encode:function
        • Parameters

          • message: EncryptV1Request
          • Optional writer: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns EncryptV1Request

      • fromPartial:function
        • Type Parameters

          • I extends {
                requests?: {
                    headerBytes?: Uint8Array;
                    payload?: Uint8Array;
                    recipient?: {
                        identityKey?: (...) | (...);
                        preKey?: (...) | (...);
                    };
                }[];
            } & {
                requests?: {
                    headerBytes?: Uint8Array;
                    payload?: Uint8Array;
                    recipient?: {
                        identityKey?: ...;
                        preKey?: ...;
                    };
                }[] & ({
                    headerBytes?: (...) | (...);
                    payload?: (...) | (...);
                    recipient?: (...) | (...);
                } & {
                    headerBytes?: (...) | (...);
                    payload?: (...) | (...);
                    recipient?: (...) | (...);
                } & {
                    [K_13 in (...) | (...) | (...)]: never
                })[] & {
                    [K_14 in string | symbol]: never
                };
            } & {
                [K_15 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns EncryptV1Request

      • toJSON:function
        • Parameters

          • message: EncryptV1Request

          Returns unknown

    • res: {
          decode(input, length?): EncryptResponse;
          encode(message, writer?): Writer;
          fromJSON(object): EncryptResponse;
          fromPartial<I>(object): EncryptResponse;
          toJSON(message): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optional length: number

          Returns EncryptResponse

      • encode:function
        • Parameters

          • message: EncryptResponse
          • Optional writer: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns EncryptResponse

      • fromPartial:function
        • Type Parameters

          • I extends {
                responses?: {
                    error?: {
                        code?: (...) | (...);
                        message?: (...) | (...);
                    };
                    result?: {
                        encrypted?: (...) | (...);
                        senderHmac?: (...) | (...);
                    };
                }[];
            } & {
                responses?: {
                    error?: {
                        code?: ...;
                        message?: ...;
                    };
                    result?: {
                        encrypted?: ...;
                        senderHmac?: ...;
                    };
                }[] & ({
                    error?: (...) | (...);
                    result?: (...) | (...);
                } & {
                    error?: (...) | (...);
                    result?: (...) | (...);
                } & {
                    [K_4 in (...) | (...) | (...)]: never
                })[] & {
                    [K_5 in string | symbol]: never
                };
            } & {
                [K_6 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns EncryptResponse

      • toJSON:function
        • Parameters

          • message: EncryptResponse

          Returns unknown

  • encryptV2: {
        req: {
            decode(input, length?): EncryptV2Request;
            encode(message, writer?): Writer;
            fromJSON(object): EncryptV2Request;
            fromPartial<I>(object): EncryptV2Request;
            toJSON(message): unknown;
        };
        res: {
            decode(input, length?): EncryptResponse;
            encode(message, writer?): Writer;
            fromJSON(object): EncryptResponse;
            fromPartial<I>(object): EncryptResponse;
            toJSON(message): unknown;
        };
    }

    Encrypt a batch of V2 messages

    • req: {
          decode(input, length?): EncryptV2Request;
          encode(message, writer?): Writer;
          fromJSON(object): EncryptV2Request;
          fromPartial<I>(object): EncryptV2Request;
          toJSON(message): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optional length: number

          Returns EncryptV2Request

      • encode:function
        • Parameters

          • message: EncryptV2Request
          • Optional writer: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns EncryptV2Request

      • fromPartial:function
        • Type Parameters

          • I extends {
                requests?: {
                    contentTopic?: string;
                    headerBytes?: Uint8Array;
                    payload?: Uint8Array;
                }[];
            } & {
                requests?: {
                    contentTopic?: string;
                    headerBytes?: Uint8Array;
                    payload?: Uint8Array;
                }[] & ({
                    contentTopic?: (...) | (...);
                    headerBytes?: (...) | (...);
                    payload?: (...) | (...);
                } & {
                    contentTopic?: (...) | (...);
                    headerBytes?: (...) | (...);
                    payload?: (...) | (...);
                } & {
                    [K in (...) | (...) | (...)]: never
                })[] & {
                    [K_1 in string | symbol]: never
                };
            } & {
                [K_2 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns EncryptV2Request

      • toJSON:function
        • Parameters

          • message: EncryptV2Request

          Returns unknown

    • res: {
          decode(input, length?): EncryptResponse;
          encode(message, writer?): Writer;
          fromJSON(object): EncryptResponse;
          fromPartial<I>(object): EncryptResponse;
          toJSON(message): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optional length: number

          Returns EncryptResponse

      • encode:function
        • Parameters

          • message: EncryptResponse
          • Optional writer: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns EncryptResponse

      • fromPartial:function
        • Type Parameters

          • I extends {
                responses?: {
                    error?: {
                        code?: (...) | (...);
                        message?: (...) | (...);
                    };
                    result?: {
                        encrypted?: (...) | (...);
                        senderHmac?: (...) | (...);
                    };
                }[];
            } & {
                responses?: {
                    error?: {
                        code?: ...;
                        message?: ...;
                    };
                    result?: {
                        encrypted?: ...;
                        senderHmac?: ...;
                    };
                }[] & ({
                    error?: (...) | (...);
                    result?: (...) | (...);
                } & {
                    error?: (...) | (...);
                    result?: (...) | (...);
                } & {
                    [K_4 in (...) | (...) | (...)]: never
                })[] & {
                    [K_5 in string | symbol]: never
                };
            } & {
                [K_6 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns EncryptResponse

      • toJSON:function
        • Parameters

          • message: EncryptResponse

          Returns unknown

  • getKeystoreStatus: {
        req: {
            decode(input, length?): GetKeystoreStatusRequest;
            encode(message, writer?): Writer;
            fromJSON(object): GetKeystoreStatusRequest;
            fromPartial<I>(object): GetKeystoreStatusRequest;
            toJSON(message): unknown;
        };
        res: {
            decode(input, length?): GetKeystoreStatusResponse;
            encode(message, writer?): Writer;
            fromJSON(object): GetKeystoreStatusResponse;
            fromPartial<I>(object): GetKeystoreStatusResponse;
            toJSON(message): unknown;
        };
    }
    • req: {
          decode(input, length?): GetKeystoreStatusRequest;
          encode(message, writer?): Writer;
          fromJSON(object): GetKeystoreStatusRequest;
          fromPartial<I>(object): GetKeystoreStatusRequest;
          toJSON(message): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optional length: number

          Returns GetKeystoreStatusRequest

      • encode:function
        • Parameters

          • message: GetKeystoreStatusRequest
          • Optional writer: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns GetKeystoreStatusRequest

      • fromPartial:function
        • Type Parameters

          • I extends {
                walletAddress?: string;
            } & {
                walletAddress?: string;
            } & {
                [K in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns GetKeystoreStatusRequest

      • toJSON:function
        • Parameters

          • message: GetKeystoreStatusRequest

          Returns unknown

    • res: {
          decode(input, length?): GetKeystoreStatusResponse;
          encode(message, writer?): Writer;
          fromJSON(object): GetKeystoreStatusResponse;
          fromPartial<I>(object): GetKeystoreStatusResponse;
          toJSON(message): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optional length: number

          Returns GetKeystoreStatusResponse

      • encode:function
        • Parameters

          • message: GetKeystoreStatusResponse
          • Optional writer: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns GetKeystoreStatusResponse

      • fromPartial:function
        • Type Parameters

          • I extends {
                status?: GetKeystoreStatusResponse_KeystoreStatus;
            } & {
                status?: GetKeystoreStatusResponse_KeystoreStatus;
            } & {
                [K in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns GetKeystoreStatusResponse

      • toJSON:function
        • Parameters

          • message: GetKeystoreStatusResponse

          Returns unknown

  • getPrivateKeyBundle: {
        req: null;
        res: {
            decode(input, length?): PrivateKeyBundleV1;
            encode(message, writer?): Writer;
            fromJSON(object): PrivateKeyBundleV1;
            fromPartial<I>(object): PrivateKeyBundleV1;
            toJSON(message): unknown;
        };
    }

    Export the private keys. May throw an error if the keystore implementation does not allow this operation

    • req: null
    • res: {
          decode(input, length?): PrivateKeyBundleV1;
          encode(message, writer?): Writer;
          fromJSON(object): PrivateKeyBundleV1;
          fromPartial<I>(object): PrivateKeyBundleV1;
          toJSON(message): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optional length: number

          Returns PrivateKeyBundleV1

      • encode:function
        • Parameters

          • message: PrivateKeyBundleV1
          • Optional writer: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns PrivateKeyBundleV1

      • fromPartial:function
        • Type Parameters

          • I extends {
                identityKey?: {
                    publicKey?: {
                        secp256k1Uncompressed?: {
                            bytes?: ...;
                        };
                        signature?: {
                            ecdsaCompact?: ...;
                            walletEcdsaCompact?: ...;
                        };
                        timestamp?: string | number | Long;
                    };
                    secp256k1?: {
                        bytes?: Uint8Array;
                    };
                    timestamp?: string | number | Long;
                };
                preKeys?: {
                    publicKey?: {
                        secp256k1Uncompressed?: (...) | (...);
                        signature?: (...) | (...);
                        timestamp?: (...) | (...) | (...) | (...);
                    };
                    secp256k1?: {
                        bytes?: (...) | (...);
                    };
                    timestamp?: string | number | Long;
                }[];
            } & {
                identityKey?: {
                    publicKey?: {
                        secp256k1Uncompressed?: (...) | (...);
                        signature?: (...) | (...);
                        timestamp?: (...) | (...) | (...) | (...);
                    };
                    secp256k1?: {
                        bytes?: (...) | (...);
                    };
                    timestamp?: string | number | Long;
                } & {
                    publicKey?: {
                        secp256k1Uncompressed?: ...;
                        signature?: ...;
                        timestamp?: ...;
                    } & {
                        secp256k1Uncompressed?: ...;
                        signature?: ...;
                        timestamp?: ...;
                    } & {
                        [K_7 in (...)]: (...)
                    };
                    secp256k1?: {
                        bytes?: ...;
                    } & {
                        bytes?: ...;
                    } & {
                        [K_1 in (...)]: (...)
                    };
                    timestamp?: string | number | Long & {
                        add: ...;
                        and: ...;
                        clz: ...;
                        comp: ...;
                        compare: ...;
                        countLeadingZeros: ...;
                        countTrailingZeros: ...;
                        ctz: ...;
                        div: ...;
                        divide: ...;
                        eq: ...;
                        equals: ...;
                        eqz: ...;
                        ge: ...;
                        getHighBits: ...;
                        getHighBitsUnsigned: ...;
                        getLowBits: ...;
                        getLowBitsUnsigned: ...;
                        getNumBitsAbs: ...;
                        greaterThan: ...;
                        greaterThanOrEqual: ...;
                        gt: ...;
                        gte: ...;
                        high: ...;
                        isEven: ...;
                        isNegative: ...;
                        isOdd: ...;
                        isPositive: ...;
                        isZero: ...;
                        le: ...;
                        lessThan: ...;
                        lessThanOrEqual: ...;
                        low: ...;
                        lt: ...;
                        lte: ...;
                        mod: ...;
                        modulo: ...;
                        mul: ...;
                        multiply: ...;
                        ne: ...;
                        neg: ...;
                        negate: ...;
                        neq: ...;
                        not: ...;
                        notEquals: ...;
                        or: ...;
                        rem: ...;
                        rotateLeft: ...;
                        rotateRight: ...;
                        rotl: ...;
                        rotr: ...;
                        shiftLeft: ...;
                        shiftRight: ...;
                        shiftRightUnsigned: ...;
                        shl: ...;
                        shr: ...;
                        shr_u: ...;
                        shru: ...;
                        sub: ...;
                        subtract: ...;
                        toBytes: ...;
                        toBytesBE: ...;
                        toBytesLE: ...;
                        toInt: ...;
                        toNumber: ...;
                        toSigned: ...;
                        toString: ...;
                        toUnsigned: ...;
                        unsigned: ...;
                        xor: ...;
                    } & {
                        [K in (...)]: (...)
                    };
                } & {
                    [K_8 in string | number | symbol]: never
                };
                preKeys?: {
                    publicKey?: {
                        secp256k1Uncompressed?: ...;
                        signature?: ...;
                        timestamp?: ...;
                    };
                    secp256k1?: {
                        bytes?: ...;
                    };
                    timestamp?: string | number | Long;
                }[] & ({
                    publicKey?: (...) | (...);
                    secp256k1?: (...) | (...);
                    timestamp?: (...) | (...) | (...) | (...);
                } & {
                    publicKey?: (...) | (...);
                    secp256k1?: (...) | (...);
                    timestamp?: (...) | (...) | (...) | (...);
                } & {
                    [K_17 in (...) | (...) | (...)]: never
                })[] & {
                    [K_18 in string | symbol]: never
                };
            } & {
                [K_19 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns PrivateKeyBundleV1

      • toJSON:function
        • Parameters

          • message: PrivateKeyBundleV1

          Returns unknown

  • getPrivatePreferencesTopicIdentifier: {
        req: null;
        res: {
            decode(input, length?): GetPrivatePreferencesTopicIdentifierResponse;
            encode(message, writer?): Writer;
            fromJSON(object): GetPrivatePreferencesTopicIdentifierResponse;
            fromPartial<I>(object): GetPrivatePreferencesTopicIdentifierResponse;
            toJSON(message): unknown;
        };
    }

    Get the private preferences topic identifier

    • req: null
    • res: {
          decode(input, length?): GetPrivatePreferencesTopicIdentifierResponse;
          encode(message, writer?): Writer;
          fromJSON(object): GetPrivatePreferencesTopicIdentifierResponse;
          fromPartial<I>(object): GetPrivatePreferencesTopicIdentifierResponse;
          toJSON(message): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optional length: number

          Returns GetPrivatePreferencesTopicIdentifierResponse

      • encode:function
        • Parameters

          • message: GetPrivatePreferencesTopicIdentifierResponse
          • Optional writer: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns GetPrivatePreferencesTopicIdentifierResponse

      • fromPartial:function
        • Type Parameters

          • I extends {
                identifier?: string;
            } & {
                identifier?: string;
            } & {
                [K in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns GetPrivatePreferencesTopicIdentifierResponse

      • toJSON:function
        • Parameters

          • message: GetPrivatePreferencesTopicIdentifierResponse

          Returns unknown

  • getPublicKeyBundle: {
        req: null;
        res: {
            decode(input, length?): PublicKeyBundle;
            encode(message, writer?): Writer;
            fromJSON(object): PublicKeyBundle;
            fromPartial<I>(object): PublicKeyBundle;
            toJSON(message): unknown;
        };
    }

    Get the PublicKeyBundle associated with the Keystore's private keys

    • req: null
    • res: {
          decode(input, length?): PublicKeyBundle;
          encode(message, writer?): Writer;
          fromJSON(object): PublicKeyBundle;
          fromPartial<I>(object): PublicKeyBundle;
          toJSON(message): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optional length: number

          Returns PublicKeyBundle

      • encode:function
        • Parameters

          • message: PublicKeyBundle
          • Optional writer: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns PublicKeyBundle

      • fromPartial:function
        • Type Parameters

          • I extends {
                identityKey?: {
                    secp256k1Uncompressed?: {
                        bytes?: Uint8Array;
                    };
                    signature?: {
                        ecdsaCompact?: {
                            bytes?: ...;
                            recovery?: ...;
                        };
                        walletEcdsaCompact?: {
                            bytes?: ...;
                            recovery?: ...;
                        };
                    };
                    timestamp?: string | number | Long;
                };
                preKey?: {
                    secp256k1Uncompressed?: {
                        bytes?: Uint8Array;
                    };
                    signature?: {
                        ecdsaCompact?: {
                            bytes?: ...;
                            recovery?: ...;
                        };
                        walletEcdsaCompact?: {
                            bytes?: ...;
                            recovery?: ...;
                        };
                    };
                    timestamp?: string | number | Long;
                };
            } & {
                identityKey?: {
                    secp256k1Uncompressed?: {
                        bytes?: (...) | (...);
                    };
                    signature?: {
                        ecdsaCompact?: (...) | (...);
                        walletEcdsaCompact?: (...) | (...);
                    };
                    timestamp?: string | number | Long;
                } & {
                    secp256k1Uncompressed?: {
                        bytes?: ...;
                    } & {
                        bytes?: ...;
                    } & {
                        [K_4 in (...)]: (...)
                    };
                    signature?: {
                        ecdsaCompact?: ...;
                        walletEcdsaCompact?: ...;
                    } & {
                        ecdsaCompact?: ...;
                        walletEcdsaCompact?: ...;
                    } & {
                        [K_3 in (...)]: (...)
                    };
                    timestamp?: string | number | Long & {
                        add: ...;
                        and: ...;
                        clz: ...;
                        comp: ...;
                        compare: ...;
                        countLeadingZeros: ...;
                        countTrailingZeros: ...;
                        ctz: ...;
                        div: ...;
                        divide: ...;
                        eq: ...;
                        equals: ...;
                        eqz: ...;
                        ge: ...;
                        getHighBits: ...;
                        getHighBitsUnsigned: ...;
                        getLowBits: ...;
                        getLowBitsUnsigned: ...;
                        getNumBitsAbs: ...;
                        greaterThan: ...;
                        greaterThanOrEqual: ...;
                        gt: ...;
                        gte: ...;
                        high: ...;
                        isEven: ...;
                        isNegative: ...;
                        isOdd: ...;
                        isPositive: ...;
                        isZero: ...;
                        le: ...;
                        lessThan: ...;
                        lessThanOrEqual: ...;
                        low: ...;
                        lt: ...;
                        lte: ...;
                        mod: ...;
                        modulo: ...;
                        mul: ...;
                        multiply: ...;
                        ne: ...;
                        neg: ...;
                        negate: ...;
                        neq: ...;
                        not: ...;
                        notEquals: ...;
                        or: ...;
                        rem: ...;
                        rotateLeft: ...;
                        rotateRight: ...;
                        rotl: ...;
                        rotr: ...;
                        shiftLeft: ...;
                        shiftRight: ...;
                        shiftRightUnsigned: ...;
                        shl: ...;
                        shr: ...;
                        shr_u: ...;
                        shru: ...;
                        sub: ...;
                        subtract: ...;
                        toBytes: ...;
                        toBytesBE: ...;
                        toBytesLE: ...;
                        toInt: ...;
                        toNumber: ...;
                        toSigned: ...;
                        toString: ...;
                        toUnsigned: ...;
                        unsigned: ...;
                        xor: ...;
                    } & {
                        [K in (...)]: (...)
                    };
                } & {
                    [K_5 in string | number | symbol]: never
                };
                preKey?: {
                    secp256k1Uncompressed?: {
                        bytes?: (...) | (...);
                    };
                    signature?: {
                        ecdsaCompact?: (...) | (...);
                        walletEcdsaCompact?: (...) | (...);
                    };
                    timestamp?: string | number | Long;
                } & {
                    secp256k1Uncompressed?: {
                        bytes?: ...;
                    } & {
                        bytes?: ...;
                    } & {
                        [K_10 in (...)]: (...)
                    };
                    signature?: {
                        ecdsaCompact?: ...;
                        walletEcdsaCompact?: ...;
                    } & {
                        ecdsaCompact?: ...;
                        walletEcdsaCompact?: ...;
                    } & {
                        [K_9 in (...)]: (...)
                    };
                    timestamp?: string | number | Long & {
                        add: ...;
                        and: ...;
                        clz: ...;
                        comp: ...;
                        compare: ...;
                        countLeadingZeros: ...;
                        countTrailingZeros: ...;
                        ctz: ...;
                        div: ...;
                        divide: ...;
                        eq: ...;
                        equals: ...;
                        eqz: ...;
                        ge: ...;
                        getHighBits: ...;
                        getHighBitsUnsigned: ...;
                        getLowBits: ...;
                        getLowBitsUnsigned: ...;
                        getNumBitsAbs: ...;
                        greaterThan: ...;
                        greaterThanOrEqual: ...;
                        gt: ...;
                        gte: ...;
                        high: ...;
                        isEven: ...;
                        isNegative: ...;
                        isOdd: ...;
                        isPositive: ...;
                        isZero: ...;
                        le: ...;
                        lessThan: ...;
                        lessThanOrEqual: ...;
                        low: ...;
                        lt: ...;
                        lte: ...;
                        mod: ...;
                        modulo: ...;
                        mul: ...;
                        multiply: ...;
                        ne: ...;
                        neg: ...;
                        negate: ...;
                        neq: ...;
                        not: ...;
                        notEquals: ...;
                        or: ...;
                        rem: ...;
                        rotateLeft: ...;
                        rotateRight: ...;
                        rotl: ...;
                        rotr: ...;
                        shiftLeft: ...;
                        shiftRight: ...;
                        shiftRightUnsigned: ...;
                        shl: ...;
                        shr: ...;
                        shr_u: ...;
                        shru: ...;
                        sub: ...;
                        subtract: ...;
                        toBytes: ...;
                        toBytesBE: ...;
                        toBytesLE: ...;
                        toInt: ...;
                        toNumber: ...;
                        toSigned: ...;
                        toString: ...;
                        toUnsigned: ...;
                        unsigned: ...;
                        xor: ...;
                    } & {
                        [K_6 in (...)]: (...)
                    };
                } & {
                    [K_11 in string | number | symbol]: never
                };
            } & {
                [K_12 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns PublicKeyBundle

      • toJSON:function
        • Parameters

          • message: PublicKeyBundle

          Returns unknown

  • getRefreshJob: {
        req: {
            decode(input, length?): GetRefreshJobRequest;
            encode(message, writer?): Writer;
            fromJSON(object): GetRefreshJobRequest;
            fromPartial<I>(object): GetRefreshJobRequest;
            toJSON(message): unknown;
        };
        res: {
            decode(input, length?): GetRefreshJobResponse;
            encode(message, writer?): Writer;
            fromJSON(object): GetRefreshJobResponse;
            fromPartial<I>(object): GetRefreshJobResponse;
            toJSON(message): unknown;
        };
    }

    Get a refresh job from the persistence

    • req: {
          decode(input, length?): GetRefreshJobRequest;
          encode(message, writer?): Writer;
          fromJSON(object): GetRefreshJobRequest;
          fromPartial<I>(object): GetRefreshJobRequest;
          toJSON(message): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optional length: number

          Returns GetRefreshJobRequest

      • encode:function
        • Parameters

          • message: GetRefreshJobRequest
          • Optional writer: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns GetRefreshJobRequest

      • fromPartial:function
        • Type Parameters

          • I extends {
                jobType?: JobType;
            } & {
                jobType?: JobType;
            } & {
                [K in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns GetRefreshJobRequest

      • toJSON:function
        • Parameters

          • message: GetRefreshJobRequest

          Returns unknown

    • res: {
          decode(input, length?): GetRefreshJobResponse;
          encode(message, writer?): Writer;
          fromJSON(object): GetRefreshJobResponse;
          fromPartial<I>(object): GetRefreshJobResponse;
          toJSON(message): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optional length: number

          Returns GetRefreshJobResponse

      • encode:function
        • Parameters

          • message: GetRefreshJobResponse
          • Optional writer: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns GetRefreshJobResponse

      • fromPartial:function
        • Type Parameters

          • I extends {
                lastRunNs?: string | number | Long;
            } & {
                lastRunNs?: string | number | Long & {
                    add: ((addend) => Long);
                    and: ((other) => Long);
                    clz: (() => number);
                    comp: ((other) => number);
                    compare: ((other) => number);
                    countLeadingZeros: (() => number);
                    countTrailingZeros: (() => number);
                    ctz: (() => number);
                    div: ((divisor) => Long);
                    divide: ((divisor) => Long);
                    eq: ((other) => boolean);
                    equals: ((other) => boolean);
                    eqz: (() => boolean);
                    ge: ((other) => boolean);
                    getHighBits: (() => number);
                    getHighBitsUnsigned: (() => number);
                    getLowBits: (() => number);
                    getLowBitsUnsigned: (() => number);
                    getNumBitsAbs: (() => number);
                    greaterThan: ((other) => boolean);
                    greaterThanOrEqual: ((other) => boolean);
                    gt: ((other) => boolean);
                    gte: ((other) => boolean);
                    high: number;
                    isEven: (() => boolean);
                    isNegative: (() => boolean);
                    isOdd: (() => boolean);
                    isPositive: (() => boolean);
                    isZero: (() => boolean);
                    le: ((other) => boolean);
                    lessThan: ((other) => boolean);
                    lessThanOrEqual: ((other) => boolean);
                    low: number;
                    lt: ((other) => boolean);
                    lte: ((other) => boolean);
                    mod: ((other) => Long);
                    modulo: ((other) => Long);
                    mul: ((multiplier) => Long);
                    multiply: ((multiplier) => Long);
                    ne: ((other) => boolean);
                    neg: (() => Long);
                    negate: (() => Long);
                    neq: ((other) => boolean);
                    not: (() => Long);
                    notEquals: ((other) => boolean);
                    or: ((other) => Long);
                    rem: ((other) => Long);
                    rotateLeft: ((numBits) => Long);
                    rotateRight: ((numBits) => Long);
                    rotl: ((numBits) => Long);
                    rotr: ((numBits) => Long);
                    shiftLeft: ((numBits) => Long);
                    shiftRight: ((numBits) => Long);
                    shiftRightUnsigned: ((numBits) => Long);
                    shl: ((numBits) => Long);
                    shr: ((numBits) => Long);
                    shr_u: ((numBits) => Long);
                    shru: ((numBits) => Long);
                    sub: ((subtrahend) => Long);
                    subtract: ((subtrahend) => Long);
                    toBytes: ((le?) => number[]);
                    toBytesBE: (() => number[]);
                    toBytesLE: (() => number[]);
                    toInt: (() => number);
                    toNumber: (() => number);
                    toSigned: (() => Long);
                    toString: ((radix?) => string);
                    toUnsigned: (() => Long);
                    unsigned: boolean;
                    xor: ((other) => Long);
                } & {
                    [K in string | number | symbol]: never
                };
            } & {
                [K_1 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns GetRefreshJobResponse

      • toJSON:function
        • Parameters

          • message: GetRefreshJobResponse

          Returns unknown

  • getV1Conversations: {
        req: null;
        res: {
            decode(input, length?): GetConversationsResponse;
            encode(message, writer?): Writer;
            fromJSON(object): GetConversationsResponse;
            fromPartial<I>(object): GetConversationsResponse;
            toJSON(message): unknown;
        };
    }

    Get a list of V1 conversations

    • req: null
    • res: {
          decode(input, length?): GetConversationsResponse;
          encode(message, writer?): Writer;
          fromJSON(object): GetConversationsResponse;
          fromPartial<I>(object): GetConversationsResponse;
          toJSON(message): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optional length: number

          Returns GetConversationsResponse

      • encode:function
        • Parameters

          • message: GetConversationsResponse
          • Optional writer: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns GetConversationsResponse

      • fromPartial:function
        • Type Parameters

          • I extends {
                conversations?: {
                    consentProofPayload?: {
                        payloadVersion?: (...) | (...);
                        signature?: (...) | (...);
                        timestamp?: (...) | (...) | (...) | (...);
                    };
                    context?: {
                        conversationId?: (...) | (...);
                        metadata?: (...) | (...);
                    };
                    createdNs?: string | number | Long;
                    peerAddress?: string;
                    topic?: string;
                }[];
            } & {
                conversations?: {
                    consentProofPayload?: {
                        payloadVersion?: ...;
                        signature?: ...;
                        timestamp?: ...;
                    };
                    context?: {
                        conversationId?: ...;
                        metadata?: ...;
                    };
                    createdNs?: string | number | Long;
                    peerAddress?: string;
                    topic?: string;
                }[] & ({
                    consentProofPayload?: (...) | (...);
                    context?: (...) | (...);
                    createdNs?: (...) | (...) | (...) | (...);
                    peerAddress?: (...) | (...);
                    topic?: (...) | (...);
                } & {
                    consentProofPayload?: (...) | (...);
                    context?: (...) | (...);
                    createdNs?: (...) | (...) | (...) | (...);
                    peerAddress?: (...) | (...);
                    topic?: (...) | (...);
                } & {
                    [K_5 in (...) | (...) | (...)]: never
                })[] & {
                    [K_6 in string | symbol]: never
                };
            } & {
                [K_7 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns GetConversationsResponse

      • toJSON:function
        • Parameters

          • message: GetConversationsResponse

          Returns unknown

  • getV2ConversationHmacKeys: {
        req: {
            decode(input, length?): GetConversationHmacKeysRequest;
            encode(message, writer?): Writer;
            fromJSON(object): GetConversationHmacKeysRequest;
            fromPartial<I>(object): GetConversationHmacKeysRequest;
            toJSON(message): unknown;
        };
        res: {
            decode(input, length?): GetConversationHmacKeysResponse;
            encode(message, writer?): Writer;
            fromJSON(object): GetConversationHmacKeysResponse;
            fromPartial<I>(object): GetConversationHmacKeysResponse;
            toJSON(message): unknown;
        };
    }

    Returns the conversation HMAC keys for the current, previous, and next 30 day periods since the epoch

    • req: {
          decode(input, length?): GetConversationHmacKeysRequest;
          encode(message, writer?): Writer;
          fromJSON(object): GetConversationHmacKeysRequest;
          fromPartial<I>(object): GetConversationHmacKeysRequest;
          toJSON(message): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optional length: number

          Returns GetConversationHmacKeysRequest

      • encode:function
        • Parameters

          • message: GetConversationHmacKeysRequest
          • Optional writer: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns GetConversationHmacKeysRequest

      • fromPartial:function
        • Type Parameters

          • I extends {
                topics?: string[];
            } & {
                topics?: string[] & {
                    [K in string | symbol]: never
                };
            } & {
                [K_1 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns GetConversationHmacKeysRequest

      • toJSON:function
        • Parameters

          • message: GetConversationHmacKeysRequest

          Returns unknown

    • res: {
          decode(input, length?): GetConversationHmacKeysResponse;
          encode(message, writer?): Writer;
          fromJSON(object): GetConversationHmacKeysResponse;
          fromPartial<I>(object): GetConversationHmacKeysResponse;
          toJSON(message): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optional length: number

          Returns GetConversationHmacKeysResponse

      • encode:function
        • Parameters

          • message: GetConversationHmacKeysResponse
          • Optional writer: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns GetConversationHmacKeysResponse

      • fromPartial:function
        • Type Parameters

          • I extends {
                hmacKeys?: {
                    [x: string]: {
                        values?: (...)[];
                    } | undefined;
                };
            } & {
                hmacKeys?: {
                    [x: string]: {
                        values?: (...) | (...);
                    } | undefined;
                } & {
                    [x: string]: (...) & (...) & (...) | undefined;
                } & {
                    [K_3 in symbol]: never
                };
            } & {
                [K_4 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns GetConversationHmacKeysResponse

      • toJSON:function
        • Parameters

          • message: GetConversationHmacKeysResponse

          Returns unknown

  • getV2Conversations: {
        req: null;
        res: {
            decode(input, length?): GetConversationsResponse;
            encode(message, writer?): Writer;
            fromJSON(object): GetConversationsResponse;
            fromPartial<I>(object): GetConversationsResponse;
            toJSON(message): unknown;
        };
    }

    Get a list of V2 conversations

    • req: null
    • res: {
          decode(input, length?): GetConversationsResponse;
          encode(message, writer?): Writer;
          fromJSON(object): GetConversationsResponse;
          fromPartial<I>(object): GetConversationsResponse;
          toJSON(message): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optional length: number

          Returns GetConversationsResponse

      • encode:function
        • Parameters

          • message: GetConversationsResponse
          • Optional writer: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns GetConversationsResponse

      • fromPartial:function
        • Type Parameters

          • I extends {
                conversations?: {
                    consentProofPayload?: {
                        payloadVersion?: (...) | (...);
                        signature?: (...) | (...);
                        timestamp?: (...) | (...) | (...) | (...);
                    };
                    context?: {
                        conversationId?: (...) | (...);
                        metadata?: (...) | (...);
                    };
                    createdNs?: string | number | Long;
                    peerAddress?: string;
                    topic?: string;
                }[];
            } & {
                conversations?: {
                    consentProofPayload?: {
                        payloadVersion?: ...;
                        signature?: ...;
                        timestamp?: ...;
                    };
                    context?: {
                        conversationId?: ...;
                        metadata?: ...;
                    };
                    createdNs?: string | number | Long;
                    peerAddress?: string;
                    topic?: string;
                }[] & ({
                    consentProofPayload?: (...) | (...);
                    context?: (...) | (...);
                    createdNs?: (...) | (...) | (...) | (...);
                    peerAddress?: (...) | (...);
                    topic?: (...) | (...);
                } & {
                    consentProofPayload?: (...) | (...);
                    context?: (...) | (...);
                    createdNs?: (...) | (...) | (...) | (...);
                    peerAddress?: (...) | (...);
                    topic?: (...) | (...);
                } & {
                    [K_5 in (...) | (...) | (...)]: never
                })[] & {
                    [K_6 in string | symbol]: never
                };
            } & {
                [K_7 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns GetConversationsResponse

      • toJSON:function
        • Parameters

          • message: GetConversationsResponse

          Returns unknown

  • initKeystore: {
        req: {
            decode(input, length?): InitKeystoreRequest;
            encode(message, writer?): Writer;
            fromJSON(object): InitKeystoreRequest;
            fromPartial<I>(object): InitKeystoreRequest;
            toJSON(message): unknown;
        };
        res: {
            decode(input, length?): InitKeystoreResponse;
            encode(message, writer?): Writer;
            fromJSON(object): InitKeystoreResponse;
            fromPartial<I>(object): InitKeystoreResponse;
            toJSON(message): unknown;
        };
    }
    • req: {
          decode(input, length?): InitKeystoreRequest;
          encode(message, writer?): Writer;
          fromJSON(object): InitKeystoreRequest;
          fromPartial<I>(object): InitKeystoreRequest;
          toJSON(message): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optional length: number

          Returns InitKeystoreRequest

      • encode:function
        • Parameters

          • message: InitKeystoreRequest
          • Optional writer: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns InitKeystoreRequest

      • fromPartial:function
        • Type Parameters

          • I extends {
                v1?: {
                    identityKey?: {
                        publicKey?: {
                            secp256k1Uncompressed?: ...;
                            signature?: ...;
                            timestamp?: ...;
                        };
                        secp256k1?: {
                            bytes?: ...;
                        };
                        timestamp?: string | number | Long;
                    };
                    preKeys?: {
                        publicKey?: (...) | (...);
                        secp256k1?: (...) | (...);
                        timestamp?: (...) | (...) | (...) | (...);
                    }[];
                };
            } & {
                v1?: {
                    identityKey?: {
                        publicKey?: (...) | (...);
                        secp256k1?: (...) | (...);
                        timestamp?: (...) | (...) | (...) | (...);
                    };
                    preKeys?: {
                        publicKey?: ...;
                        secp256k1?: ...;
                        timestamp?: ...;
                    }[];
                } & {
                    identityKey?: {
                        publicKey?: ...;
                        secp256k1?: ...;
                        timestamp?: ...;
                    } & {
                        publicKey?: ...;
                        secp256k1?: ...;
                        timestamp?: ...;
                    } & {
                        [K_8 in (...)]: (...)
                    };
                    preKeys?: (...)[] & (...)[] & {
                        [K_18 in (...)]: (...)
                    };
                } & {
                    [K_19 in string | number | symbol]: never
                };
            } & {
                [K_20 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns InitKeystoreRequest

      • toJSON:function
        • Parameters

          • message: InitKeystoreRequest

          Returns unknown

    • res: {
          decode(input, length?): InitKeystoreResponse;
          encode(message, writer?): Writer;
          fromJSON(object): InitKeystoreResponse;
          fromPartial<I>(object): InitKeystoreResponse;
          toJSON(message): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optional length: number

          Returns InitKeystoreResponse

      • encode:function
        • Parameters

          • message: InitKeystoreResponse
          • Optional writer: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns InitKeystoreResponse

      • fromPartial:function
        • Type Parameters

          • I extends {
                error?: {
                    code?: ErrorCode;
                    message?: string;
                };
            } & {
                error?: {
                    code?: ErrorCode;
                    message?: string;
                } & {
                    code?: ErrorCode;
                    message?: string;
                } & {
                    [K in string | number | symbol]: never
                };
            } & {
                [K_1 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns InitKeystoreResponse

      • toJSON:function
        • Parameters

          • message: InitKeystoreResponse

          Returns unknown

  • saveInvites: {
        req: {
            decode(input, length?): SaveInvitesRequest;
            encode(message, writer?): Writer;
            fromJSON(object): SaveInvitesRequest;
            fromPartial<I>(object): SaveInvitesRequest;
            toJSON(message): unknown;
        };
        res: {
            decode(input, length?): SaveInvitesResponse;
            encode(message, writer?): Writer;
            fromJSON(object): SaveInvitesResponse;
            fromPartial<I>(object): SaveInvitesResponse;
            toJSON(message): unknown;
        };
    }

    Take a batch of invite messages and store the TopicKeys for later use in decrypting messages

    • req: {
          decode(input, length?): SaveInvitesRequest;
          encode(message, writer?): Writer;
          fromJSON(object): SaveInvitesRequest;
          fromPartial<I>(object): SaveInvitesRequest;
          toJSON(message): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optional length: number

          Returns SaveInvitesRequest

      • encode:function
        • Parameters

          • message: SaveInvitesRequest
          • Optional writer: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns SaveInvitesRequest

      • fromPartial:function
        • Type Parameters

          • I extends {
                requests?: {
                    contentTopic?: string;
                    payload?: Uint8Array;
                    timestampNs?: string | number | Long;
                }[];
            } & {
                requests?: {
                    contentTopic?: string;
                    payload?: Uint8Array;
                    timestampNs?: string | number | Long;
                }[] & ({
                    contentTopic?: (...) | (...);
                    payload?: (...) | (...);
                    timestampNs?: (...) | (...) | (...) | (...);
                } & {
                    contentTopic?: (...) | (...);
                    payload?: (...) | (...);
                    timestampNs?: (...) | (...) | (...) | (...);
                } & {
                    [K_1 in (...) | (...) | (...)]: never
                })[] & {
                    [K_2 in string | symbol]: never
                };
            } & {
                [K_3 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns SaveInvitesRequest

      • toJSON:function
        • Parameters

          • message: SaveInvitesRequest

          Returns unknown

    • res: {
          decode(input, length?): SaveInvitesResponse;
          encode(message, writer?): Writer;
          fromJSON(object): SaveInvitesResponse;
          fromPartial<I>(object): SaveInvitesResponse;
          toJSON(message): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optional length: number

          Returns SaveInvitesResponse

      • encode:function
        • Parameters

          • message: SaveInvitesResponse
          • Optional writer: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns SaveInvitesResponse

      • fromPartial:function
        • Type Parameters

          • I extends {
                responses?: {
                    error?: {
                        code?: (...) | (...);
                        message?: (...) | (...);
                    };
                    result?: {
                        conversation?: (...) | (...);
                    };
                }[];
            } & {
                responses?: {
                    error?: {
                        code?: ...;
                        message?: ...;
                    };
                    result?: {
                        conversation?: ...;
                    };
                }[] & ({
                    error?: (...) | (...);
                    result?: (...) | (...);
                } & {
                    error?: (...) | (...);
                    result?: (...) | (...);
                } & {
                    [K_8 in (...) | (...) | (...)]: never
                })[] & {
                    [K_9 in string | symbol]: never
                };
            } & {
                [K_10 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns SaveInvitesResponse

      • toJSON:function
        • Parameters

          • message: SaveInvitesResponse

          Returns unknown

  • saveV1Conversations: {
        req: {
            decode(input, length?): SaveV1ConversationsRequest;
            encode(message, writer?): Writer;
            fromJSON(object): SaveV1ConversationsRequest;
            fromPartial<I>(object): SaveV1ConversationsRequest;
            toJSON(message): unknown;
        };
        res: {
            decode(input, length?): SaveV1ConversationsResponse;
            encode(_, writer?): Writer;
            fromJSON(_): SaveV1ConversationsResponse;
            fromPartial<I>(_): SaveV1ConversationsResponse;
            toJSON(_): unknown;
        };
    }

    Save V1 Conversations

    • req: {
          decode(input, length?): SaveV1ConversationsRequest;
          encode(message, writer?): Writer;
          fromJSON(object): SaveV1ConversationsRequest;
          fromPartial<I>(object): SaveV1ConversationsRequest;
          toJSON(message): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optional length: number

          Returns SaveV1ConversationsRequest

      • encode:function
        • Parameters

          • message: SaveV1ConversationsRequest
          • Optional writer: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns SaveV1ConversationsRequest

      • fromPartial:function
        • Type Parameters

          • I extends {
                conversations?: {
                    consentProofPayload?: {
                        payloadVersion?: (...) | (...);
                        signature?: (...) | (...);
                        timestamp?: (...) | (...) | (...) | (...);
                    };
                    context?: {
                        conversationId?: (...) | (...);
                        metadata?: (...) | (...);
                    };
                    createdNs?: string | number | Long;
                    peerAddress?: string;
                    topic?: string;
                }[];
            } & {
                conversations?: {
                    consentProofPayload?: {
                        payloadVersion?: ...;
                        signature?: ...;
                        timestamp?: ...;
                    };
                    context?: {
                        conversationId?: ...;
                        metadata?: ...;
                    };
                    createdNs?: string | number | Long;
                    peerAddress?: string;
                    topic?: string;
                }[] & ({
                    consentProofPayload?: (...) | (...);
                    context?: (...) | (...);
                    createdNs?: (...) | (...) | (...) | (...);
                    peerAddress?: (...) | (...);
                    topic?: (...) | (...);
                } & {
                    consentProofPayload?: (...) | (...);
                    context?: (...) | (...);
                    createdNs?: (...) | (...) | (...) | (...);
                    peerAddress?: (...) | (...);
                    topic?: (...) | (...);
                } & {
                    [K_5 in (...) | (...) | (...)]: never
                })[] & {
                    [K_6 in string | symbol]: never
                };
            } & {
                [K_7 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns SaveV1ConversationsRequest

      • toJSON:function
        • Parameters

          • message: SaveV1ConversationsRequest

          Returns unknown

    • res: {
          decode(input, length?): SaveV1ConversationsResponse;
          encode(_, writer?): Writer;
          fromJSON(_): SaveV1ConversationsResponse;
          fromPartial<I>(_): SaveV1ConversationsResponse;
          toJSON(_): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optional length: number

          Returns SaveV1ConversationsResponse

      • encode:function
        • Parameters

          • _: SaveV1ConversationsResponse
          • Optional writer: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • _: any

          Returns SaveV1ConversationsResponse

      • fromPartial:function
        • Type Parameters

          • I extends {
                [K in string | number | symbol]: never
            }

          Parameters

          Returns SaveV1ConversationsResponse

      • toJSON:function
        • Parameters

          • _: SaveV1ConversationsResponse

          Returns unknown

  • selfDecrypt: {
        req: {
            decode(input, length?): SelfDecryptRequest;
            encode(message, writer?): Writer;
            fromJSON(object): SelfDecryptRequest;
            fromPartial<I>(object): SelfDecryptRequest;
            toJSON(message): unknown;
        };
        res: {
            decode(input, length?): DecryptResponse;
            encode(message, writer?): Writer;
            fromJSON(object): DecryptResponse;
            fromPartial<I>(object): DecryptResponse;
            toJSON(message): unknown;
        };
    }

    Decrypt a batch of messages to yourself

    • req: {
          decode(input, length?): SelfDecryptRequest;
          encode(message, writer?): Writer;
          fromJSON(object): SelfDecryptRequest;
          fromPartial<I>(object): SelfDecryptRequest;
          toJSON(message): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optional length: number

          Returns SelfDecryptRequest

      • encode:function
        • Parameters

          • message: SelfDecryptRequest
          • Optional writer: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns SelfDecryptRequest

      • fromPartial:function
        • Type Parameters

          • I extends {
                requests?: {
                    payload?: Uint8Array;
                }[];
            } & {
                requests?: {
                    payload?: Uint8Array;
                }[] & ({
                    payload?: (...) | (...);
                } & {
                    payload?: (...) | (...);
                } & {
                    [K in (...) | (...) | (...)]: never
                })[] & {
                    [K_1 in string | symbol]: never
                };
            } & {
                [K_2 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns SelfDecryptRequest

      • toJSON:function
        • Parameters

          • message: SelfDecryptRequest

          Returns unknown

    • res: {
          decode(input, length?): DecryptResponse;
          encode(message, writer?): Writer;
          fromJSON(object): DecryptResponse;
          fromPartial<I>(object): DecryptResponse;
          toJSON(message): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optional length: number

          Returns DecryptResponse

      • encode:function
        • Parameters

          • message: DecryptResponse
          • Optional writer: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns DecryptResponse

      • fromPartial:function
        • Type Parameters

          • I extends {
                responses?: {
                    error?: {
                        code?: (...) | (...);
                        message?: (...) | (...);
                    };
                    result?: {
                        decrypted?: (...) | (...);
                    };
                }[];
            } & {
                responses?: {
                    error?: {
                        code?: ...;
                        message?: ...;
                    };
                    result?: {
                        decrypted?: ...;
                    };
                }[] & ({
                    error?: (...) | (...);
                    result?: (...) | (...);
                } & {
                    error?: (...) | (...);
                    result?: (...) | (...);
                } & {
                    [K_2 in (...) | (...) | (...)]: never
                })[] & {
                    [K_3 in string | symbol]: never
                };
            } & {
                [K_4 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns DecryptResponse

      • toJSON:function
        • Parameters

          • message: DecryptResponse

          Returns unknown

  • selfEncrypt: {
        req: {
            decode(input, length?): SelfEncryptRequest;
            encode(message, writer?): Writer;
            fromJSON(object): SelfEncryptRequest;
            fromPartial<I>(object): SelfEncryptRequest;
            toJSON(message): unknown;
        };
        res: {
            decode(input, length?): SelfEncryptResponse;
            encode(message, writer?): Writer;
            fromJSON(object): SelfEncryptResponse;
            fromPartial<I>(object): SelfEncryptResponse;
            toJSON(message): unknown;
        };
    }

    Encrypt a batch of messages to yourself

    • req: {
          decode(input, length?): SelfEncryptRequest;
          encode(message, writer?): Writer;
          fromJSON(object): SelfEncryptRequest;
          fromPartial<I>(object): SelfEncryptRequest;
          toJSON(message): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optional length: number

          Returns SelfEncryptRequest

      • encode:function
        • Parameters

          • message: SelfEncryptRequest
          • Optional writer: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns SelfEncryptRequest

      • fromPartial:function
        • Type Parameters

          • I extends {
                requests?: {
                    payload?: Uint8Array;
                }[];
            } & {
                requests?: {
                    payload?: Uint8Array;
                }[] & ({
                    payload?: (...) | (...);
                } & {
                    payload?: (...) | (...);
                } & {
                    [K in (...) | (...) | (...)]: never
                })[] & {
                    [K_1 in string | symbol]: never
                };
            } & {
                [K_2 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns SelfEncryptRequest

      • toJSON:function
        • Parameters

          • message: SelfEncryptRequest

          Returns unknown

    • res: {
          decode(input, length?): SelfEncryptResponse;
          encode(message, writer?): Writer;
          fromJSON(object): SelfEncryptResponse;
          fromPartial<I>(object): SelfEncryptResponse;
          toJSON(message): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optional length: number

          Returns SelfEncryptResponse

      • encode:function
        • Parameters

          • message: SelfEncryptResponse
          • Optional writer: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns SelfEncryptResponse

      • fromPartial:function
        • Type Parameters

          • I extends {
                responses?: {
                    error?: {
                        code?: (...) | (...);
                        message?: (...) | (...);
                    };
                    result?: {
                        encrypted?: (...) | (...);
                    };
                }[];
            } & {
                responses?: {
                    error?: {
                        code?: ...;
                        message?: ...;
                    };
                    result?: {
                        encrypted?: ...;
                    };
                }[] & ({
                    error?: (...) | (...);
                    result?: (...) | (...);
                } & {
                    error?: (...) | (...);
                    result?: (...) | (...);
                } & {
                    [K_2 in (...) | (...) | (...)]: never
                })[] & {
                    [K_3 in string | symbol]: never
                };
            } & {
                [K_4 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns SelfEncryptResponse

      • toJSON:function
        • Parameters

          • message: SelfEncryptResponse

          Returns unknown

  • setRefreshJob: {
        req: {
            decode(input, length?): SetRefeshJobRequest;
            encode(message, writer?): Writer;
            fromJSON(object): SetRefeshJobRequest;
            fromPartial<I>(object): SetRefeshJobRequest;
            toJSON(message): unknown;
        };
        res: {
            decode(input, length?): SetRefreshJobResponse;
            encode(_, writer?): Writer;
            fromJSON(_): SetRefreshJobResponse;
            fromPartial<I>(_): SetRefreshJobResponse;
            toJSON(_): unknown;
        };
    }

    Sets the time of a refresh job

    • req: {
          decode(input, length?): SetRefeshJobRequest;
          encode(message, writer?): Writer;
          fromJSON(object): SetRefeshJobRequest;
          fromPartial<I>(object): SetRefeshJobRequest;
          toJSON(message): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optional length: number

          Returns SetRefeshJobRequest

      • encode:function
        • Parameters

          • message: SetRefeshJobRequest
          • Optional writer: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns SetRefeshJobRequest

      • fromPartial:function
        • Type Parameters

          • I extends {
                jobType?: JobType;
                lastRunNs?: string | number | Long;
            } & {
                jobType?: JobType;
                lastRunNs?: string | number | Long & {
                    add: ((addend) => Long);
                    and: ((other) => Long);
                    clz: (() => number);
                    comp: ((other) => number);
                    compare: ((other) => number);
                    countLeadingZeros: (() => number);
                    countTrailingZeros: (() => number);
                    ctz: (() => number);
                    div: ((divisor) => Long);
                    divide: ((divisor) => Long);
                    eq: ((other) => boolean);
                    equals: ((other) => boolean);
                    eqz: (() => boolean);
                    ge: ((other) => boolean);
                    getHighBits: (() => number);
                    getHighBitsUnsigned: (() => number);
                    getLowBits: (() => number);
                    getLowBitsUnsigned: (() => number);
                    getNumBitsAbs: (() => number);
                    greaterThan: ((other) => boolean);
                    greaterThanOrEqual: ((other) => boolean);
                    gt: ((other) => boolean);
                    gte: ((other) => boolean);
                    high: number;
                    isEven: (() => boolean);
                    isNegative: (() => boolean);
                    isOdd: (() => boolean);
                    isPositive: (() => boolean);
                    isZero: (() => boolean);
                    le: ((other) => boolean);
                    lessThan: ((other) => boolean);
                    lessThanOrEqual: ((other) => boolean);
                    low: number;
                    lt: ((other) => boolean);
                    lte: ((other) => boolean);
                    mod: ((other) => Long);
                    modulo: ((other) => Long);
                    mul: ((multiplier) => Long);
                    multiply: ((multiplier) => Long);
                    ne: ((other) => boolean);
                    neg: (() => Long);
                    negate: (() => Long);
                    neq: ((other) => boolean);
                    not: (() => Long);
                    notEquals: ((other) => boolean);
                    or: ((other) => Long);
                    rem: ((other) => Long);
                    rotateLeft: ((numBits) => Long);
                    rotateRight: ((numBits) => Long);
                    rotl: ((numBits) => Long);
                    rotr: ((numBits) => Long);
                    shiftLeft: ((numBits) => Long);
                    shiftRight: ((numBits) => Long);
                    shiftRightUnsigned: ((numBits) => Long);
                    shl: ((numBits) => Long);
                    shr: ((numBits) => Long);
                    shr_u: ((numBits) => Long);
                    shru: ((numBits) => Long);
                    sub: ((subtrahend) => Long);
                    subtract: ((subtrahend) => Long);
                    toBytes: ((le?) => number[]);
                    toBytesBE: (() => number[]);
                    toBytesLE: (() => number[]);
                    toInt: (() => number);
                    toNumber: (() => number);
                    toSigned: (() => Long);
                    toString: ((radix?) => string);
                    toUnsigned: (() => Long);
                    unsigned: boolean;
                    xor: ((other) => Long);
                } & {
                    [K in string | number | symbol]: never
                };
            } & {
                [K_1 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns SetRefeshJobRequest

      • toJSON:function
        • Parameters

          • message: SetRefeshJobRequest

          Returns unknown

    • res: {
          decode(input, length?): SetRefreshJobResponse;
          encode(_, writer?): Writer;
          fromJSON(_): SetRefreshJobResponse;
          fromPartial<I>(_): SetRefreshJobResponse;
          toJSON(_): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optional length: number

          Returns SetRefreshJobResponse

      • encode:function
        • Parameters

          • _: SetRefreshJobResponse
          • Optional writer: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • _: any

          Returns SetRefreshJobResponse

      • fromPartial:function
        • Type Parameters

          • I extends {
                [K in string | number | symbol]: never
            }

          Parameters

          Returns SetRefreshJobResponse

      • toJSON:function
        • Parameters

          • _: SetRefreshJobResponse

          Returns unknown

  • signDigest: {
        req: {
            decode(input, length?): SignDigestRequest;
            encode(message, writer?): Writer;
            fromJSON(object): SignDigestRequest;
            fromPartial<I>(object): SignDigestRequest;
            toJSON(message): unknown;
        };
        res: {
            decode(input, length?): Signature;
            encode(message, writer?): Writer;
            fromJSON(object): Signature;
            fromPartial<I>(object): Signature;
            toJSON(message): unknown;
        };
    }

    Sign the provided digest with either the IdentityKey or a specified PreKey

    • req: {
          decode(input, length?): SignDigestRequest;
          encode(message, writer?): Writer;
          fromJSON(object): SignDigestRequest;
          fromPartial<I>(object): SignDigestRequest;
          toJSON(message): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optional length: number

          Returns SignDigestRequest

      • encode:function
        • Parameters

          • message: SignDigestRequest
          • Optional writer: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns SignDigestRequest

      • fromPartial:function
        • Type Parameters

          • I extends {
                digest?: Uint8Array;
                identityKey?: boolean;
                prekeyIndex?: number;
            } & {
                digest?: Uint8Array;
                identityKey?: boolean;
                prekeyIndex?: number;
            } & {
                [K in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns SignDigestRequest

      • toJSON:function
        • Parameters

          • message: SignDigestRequest

          Returns unknown

    • res: {
          decode(input, length?): Signature;
          encode(message, writer?): Writer;
          fromJSON(object): Signature;
          fromPartial<I>(object): Signature;
          toJSON(message): unknown;
      }
      • decode:function
        • Parameters

          • input: Uint8Array | Reader
          • Optional length: number

          Returns Signature

      • encode:function
        • Parameters

          • message: Signature
          • Optional writer: Writer

          Returns Writer

      • fromJSON:function
        • Parameters

          • object: any

          Returns Signature

      • fromPartial:function
        • Type Parameters

          • I extends {
                ecdsaCompact?: {
                    bytes?: Uint8Array;
                    recovery?: number;
                };
                walletEcdsaCompact?: {
                    bytes?: Uint8Array;
                    recovery?: number;
                };
            } & {
                ecdsaCompact?: {
                    bytes?: Uint8Array;
                    recovery?: number;
                } & {
                    bytes?: Uint8Array;
                    recovery?: number;
                } & {
                    [K in string | number | symbol]: never
                };
                walletEcdsaCompact?: {
                    bytes?: Uint8Array;
                    recovery?: number;
                } & {
                    bytes?: Uint8Array;
                    recovery?: number;
                } & {
                    [K_1 in string | number | symbol]: never
                };
            } & {
                [K_2 in string | number | symbol]: never
            }

          Parameters

          • object: I

          Returns Signature

      • toJSON:function
        • Parameters

          • message: Signature

          Returns unknown