import * as _m0 from "../../../node_modules/protobufjs/minimal";
import { Observable } from "../../../node_modules/rxjs/dist/types/index";
export declare const protobufPackage = "hermes";
export declare enum RpcFrameType {
    UnspecifiedRFT = 0,
    Request = 1,
    SuccessResponse = 2,
    ErrorResponse = 3,
    UNRECOGNIZED = -1
}
export declare function rpcFrameTypeFromJSON(object: any): RpcFrameType;
export declare function rpcFrameTypeToJSON(object: RpcFrameType): string;
export declare enum ContentType {
    UnspecifiedCT = 0,
    Protobuf = 1,
    Json = 2,
    Binary = 3,
    Text = 4,
    UNRECOGNIZED = -1
}
export declare function contentTypeFromJSON(object: any): ContentType;
export declare function contentTypeToJSON(object: ContentType): string;
export interface MessageFromClient {
    sendMessageRequest?: SendMessageRequest | undefined;
    firstMessage?: FirstMessage | undefined;
    ping?: Ping | undefined;
    pong?: Pong | undefined;
    notification?: Notification | undefined;
    subscribeRequest?: SubscribeRequest | undefined;
}
export interface Notification {
    message?: string | undefined;
}
export interface MessageToClient {
    messageEnvelope?: MessageEnvelope | undefined;
    sendMessageResponse?: SendMessageResponse | undefined;
    ping?: Ping | undefined;
    pong?: Pong | undefined;
    notification?: Notification | undefined;
    subscribeResponse?: SubscribeResponse | undefined;
}
export interface Ping {
    payload?: Uint8Array | undefined;
}
export interface Pong {
    payload?: Uint8Array | undefined;
}
export interface MessageHeader {
    sender?: string | undefined;
    contentType?: ContentType | undefined;
    rpcHeader?: RpcHeader | undefined;
    senderSequence?: number | undefined;
    extraHeaders?: KeyValPair[] | undefined;
}
export interface SenderEnvelope {
    created?: number | undefined;
}
export interface ServerEnvelope {
    sequence?: number | undefined;
    created?: number | undefined;
    channel?: string | undefined;
    subscriptionId?: string | undefined;
}
export interface KeyValPair {
    key?: string | undefined;
    val?: string | undefined;
}
export interface RpcHeader {
    correlationId?: string | undefined;
    endPoint?: string | undefined;
    frameType?: RpcFrameType | undefined;
    errorInfo?: RpcErrorInfo | undefined;
}
export interface RpcErrorInfo {
    errorCode?: number | undefined;
    message?: string | undefined;
    stackTrace?: string | undefined;
}
export interface Message {
    header?: MessageHeader | undefined;
    senderEnvelope?: SenderEnvelope | undefined;
    serverEnvelope?: ServerEnvelope | undefined;
    data?: Uint8Array | undefined;
}
export interface MessageEnvelope {
    messageBytes?: Uint8Array | undefined;
    serverEnvelope?: ServerEnvelope | undefined;
}
export interface SendMessageRequest {
    to?: string[] | undefined;
    message?: Message | undefined;
    channel?: string | undefined;
    idempotentId?: string | undefined;
}
export interface SendMessageResponse {
    errors?: SendMessageError[] | undefined;
    duplicates?: string[] | undefined;
    idempotentId?: string | undefined;
    correlationId?: string | undefined;
}
export interface SendReceipt {
    request?: SendMessageRequest | undefined;
    response?: SendMessageResponse | undefined;
    serverEnvelope?: ServerEnvelope | undefined;
}
export interface SendMessageError {
    message?: string | undefined;
    to?: string | undefined;
}
export interface FirstMessage {
    senderInfo?: SenderInfo | undefined;
    mailboxTimeoutInMs?: number | undefined;
    subscriptions?: Subscription[] | undefined;
}
export interface SenderInfo {
    readerKey?: string | undefined;
    address?: string | undefined;
}
export interface SubscribeRequest {
    subscriptions?: Subscription[] | undefined;
}
export interface SubscribeResponse {
    succeeded?: string[] | undefined;
    errors?: SubscribeError[] | undefined;
}
export interface SubscribeError {
    state?: string | undefined;
    message?: string | undefined;
}
export interface Subscription {
    mailbox?: MailboxSubscription | undefined;
    nefario?: NefarioSubscription | undefined;
    changeDataCapture?: ChangeDataCaptureSubscription | undefined;
    unsubscribe?: Unsubscribe | undefined;
}
export interface MailboxSubscription {
    id?: string | undefined;
    state?: string | undefined;
    readerKey?: string | undefined;
    channel?: string | undefined;
    startSeq?: string | undefined;
}
export interface ChangeDataCaptureSubscription {
    id?: string | undefined;
    state?: string | undefined;
    matchers?: RecordMatcher[] | undefined;
    startSeq?: string | undefined;
}
export interface RecordMatcher {
    database?: string | undefined;
    table?: string | undefined;
    primaryKeys?: any[] | undefined;
}
export interface NefarioSubscription {
    id?: string | undefined;
    state?: string | undefined;
    processUid?: string | undefined;
    channel?: string | undefined;
    startSeq?: string | undefined;
}
export interface Unsubscribe {
    id?: string | undefined;
}
export interface CreateMailboxRequest {
    channels?: string[] | undefined;
    privateMetadata?: {
        [key: string]: any;
    } | undefined;
    publicMetadata?: {
        [key: string]: any;
    } | undefined;
    purgeTimeoutInMillis?: number | undefined;
    closeTimeoutInMillis?: number | undefined;
    extraData?: {
        [key: string]: any;
    } | undefined;
}
export interface CreateMailboxResponse {
    adminKey?: string | undefined;
    address?: string | undefined;
    readerKey?: string | undefined;
    channels?: string[] | undefined;
}
export interface AddChannelRequest {
    adminKey?: string | undefined;
    channels?: string[] | undefined;
}
export interface AddChannelResponse {
}
export declare const MessageFromClient: {
    encode(message: MessageFromClient, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): MessageFromClient;
    fromJSON(object: any): MessageFromClient;
    toJSON(message: MessageFromClient): unknown;
    create<I extends {
        sendMessageRequest?: {
            to?: string[] | undefined;
            message?: {
                header?: {
                    sender?: string | undefined;
                    contentType?: ContentType | undefined;
                    rpcHeader?: {
                        correlationId?: string | undefined;
                        endPoint?: string | undefined;
                        frameType?: RpcFrameType | undefined;
                        errorInfo?: {
                            errorCode?: number | undefined;
                            message?: string | undefined;
                            stackTrace?: string | undefined;
                        } | undefined;
                    } | undefined;
                    senderSequence?: number | undefined;
                    extraHeaders?: {
                        key?: string | undefined;
                        val?: string | undefined;
                    }[] | undefined;
                } | undefined;
                senderEnvelope?: {
                    created?: number | undefined;
                } | undefined;
                serverEnvelope?: {
                    sequence?: number | undefined;
                    created?: number | undefined;
                    channel?: string | undefined;
                    subscriptionId?: string | undefined;
                } | undefined;
                data?: Uint8Array | undefined;
            } | undefined;
            channel?: string | undefined;
            idempotentId?: string | undefined;
        } | undefined;
        firstMessage?: {
            senderInfo?: {
                readerKey?: string | undefined;
                address?: string | undefined;
            } | undefined;
            mailboxTimeoutInMs?: number | undefined;
            subscriptions?: {
                mailbox?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    readerKey?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                nefario?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    processUid?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                changeDataCapture?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    matchers?: {
                        database?: string | undefined;
                        table?: string | undefined;
                        primaryKeys?: any[] | undefined;
                    }[] | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                unsubscribe?: {
                    id?: string | undefined;
                } | undefined;
            }[] | undefined;
        } | undefined;
        ping?: {
            payload?: Uint8Array | undefined;
        } | undefined;
        pong?: {
            payload?: Uint8Array | undefined;
        } | undefined;
        notification?: {
            message?: string | undefined;
        } | undefined;
        subscribeRequest?: {
            subscriptions?: {
                mailbox?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    readerKey?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                nefario?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    processUid?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                changeDataCapture?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    matchers?: {
                        database?: string | undefined;
                        table?: string | undefined;
                        primaryKeys?: any[] | undefined;
                    }[] | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                unsubscribe?: {
                    id?: string | undefined;
                } | undefined;
            }[] | undefined;
        } | undefined;
    } & {
        sendMessageRequest?: ({
            to?: string[] | undefined;
            message?: {
                header?: {
                    sender?: string | undefined;
                    contentType?: ContentType | undefined;
                    rpcHeader?: {
                        correlationId?: string | undefined;
                        endPoint?: string | undefined;
                        frameType?: RpcFrameType | undefined;
                        errorInfo?: {
                            errorCode?: number | undefined;
                            message?: string | undefined;
                            stackTrace?: string | undefined;
                        } | undefined;
                    } | undefined;
                    senderSequence?: number | undefined;
                    extraHeaders?: {
                        key?: string | undefined;
                        val?: string | undefined;
                    }[] | undefined;
                } | undefined;
                senderEnvelope?: {
                    created?: number | undefined;
                } | undefined;
                serverEnvelope?: {
                    sequence?: number | undefined;
                    created?: number | undefined;
                    channel?: string | undefined;
                    subscriptionId?: string | undefined;
                } | undefined;
                data?: Uint8Array | undefined;
            } | undefined;
            channel?: string | undefined;
            idempotentId?: string | undefined;
        } & {
            to?: (string[] & string[] & { [K in Exclude<keyof I["sendMessageRequest"]["to"], keyof string[]>]: never; }) | undefined;
            message?: ({
                header?: {
                    sender?: string | undefined;
                    contentType?: ContentType | undefined;
                    rpcHeader?: {
                        correlationId?: string | undefined;
                        endPoint?: string | undefined;
                        frameType?: RpcFrameType | undefined;
                        errorInfo?: {
                            errorCode?: number | undefined;
                            message?: string | undefined;
                            stackTrace?: string | undefined;
                        } | undefined;
                    } | undefined;
                    senderSequence?: number | undefined;
                    extraHeaders?: {
                        key?: string | undefined;
                        val?: string | undefined;
                    }[] | undefined;
                } | undefined;
                senderEnvelope?: {
                    created?: number | undefined;
                } | undefined;
                serverEnvelope?: {
                    sequence?: number | undefined;
                    created?: number | undefined;
                    channel?: string | undefined;
                    subscriptionId?: string | undefined;
                } | undefined;
                data?: Uint8Array | undefined;
            } & {
                header?: ({
                    sender?: string | undefined;
                    contentType?: ContentType | undefined;
                    rpcHeader?: {
                        correlationId?: string | undefined;
                        endPoint?: string | undefined;
                        frameType?: RpcFrameType | undefined;
                        errorInfo?: {
                            errorCode?: number | undefined;
                            message?: string | undefined;
                            stackTrace?: string | undefined;
                        } | undefined;
                    } | undefined;
                    senderSequence?: number | undefined;
                    extraHeaders?: {
                        key?: string | undefined;
                        val?: string | undefined;
                    }[] | undefined;
                } & {
                    sender?: string | undefined;
                    contentType?: ContentType | undefined;
                    rpcHeader?: ({
                        correlationId?: string | undefined;
                        endPoint?: string | undefined;
                        frameType?: RpcFrameType | undefined;
                        errorInfo?: {
                            errorCode?: number | undefined;
                            message?: string | undefined;
                            stackTrace?: string | undefined;
                        } | undefined;
                    } & {
                        correlationId?: string | undefined;
                        endPoint?: string | undefined;
                        frameType?: RpcFrameType | undefined;
                        errorInfo?: ({
                            errorCode?: number | undefined;
                            message?: string | undefined;
                            stackTrace?: string | undefined;
                        } & {
                            errorCode?: number | undefined;
                            message?: string | undefined;
                            stackTrace?: string | undefined;
                        } & { [K_1 in Exclude<keyof I["sendMessageRequest"]["message"]["header"]["rpcHeader"]["errorInfo"], keyof RpcErrorInfo>]: never; }) | undefined;
                    } & { [K_2 in Exclude<keyof I["sendMessageRequest"]["message"]["header"]["rpcHeader"], keyof RpcHeader>]: never; }) | undefined;
                    senderSequence?: number | undefined;
                    extraHeaders?: ({
                        key?: string | undefined;
                        val?: string | undefined;
                    }[] & ({
                        key?: string | undefined;
                        val?: string | undefined;
                    } & {
                        key?: string | undefined;
                        val?: string | undefined;
                    } & { [K_3 in Exclude<keyof I["sendMessageRequest"]["message"]["header"]["extraHeaders"][number], keyof KeyValPair>]: never; })[] & { [K_4 in Exclude<keyof I["sendMessageRequest"]["message"]["header"]["extraHeaders"], keyof {
                        key?: string | undefined;
                        val?: string | undefined;
                    }[]>]: never; }) | undefined;
                } & { [K_5 in Exclude<keyof I["sendMessageRequest"]["message"]["header"], keyof MessageHeader>]: never; }) | undefined;
                senderEnvelope?: ({
                    created?: number | undefined;
                } & {
                    created?: number | undefined;
                } & { [K_6 in Exclude<keyof I["sendMessageRequest"]["message"]["senderEnvelope"], "created">]: never; }) | undefined;
                serverEnvelope?: ({
                    sequence?: number | undefined;
                    created?: number | undefined;
                    channel?: string | undefined;
                    subscriptionId?: string | undefined;
                } & {
                    sequence?: number | undefined;
                    created?: number | undefined;
                    channel?: string | undefined;
                    subscriptionId?: string | undefined;
                } & { [K_7 in Exclude<keyof I["sendMessageRequest"]["message"]["serverEnvelope"], keyof ServerEnvelope>]: never; }) | undefined;
                data?: Uint8Array | undefined;
            } & { [K_8 in Exclude<keyof I["sendMessageRequest"]["message"], keyof Message>]: never; }) | undefined;
            channel?: string | undefined;
            idempotentId?: string | undefined;
        } & { [K_9 in Exclude<keyof I["sendMessageRequest"], keyof SendMessageRequest>]: never; }) | undefined;
        firstMessage?: ({
            senderInfo?: {
                readerKey?: string | undefined;
                address?: string | undefined;
            } | undefined;
            mailboxTimeoutInMs?: number | undefined;
            subscriptions?: {
                mailbox?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    readerKey?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                nefario?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    processUid?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                changeDataCapture?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    matchers?: {
                        database?: string | undefined;
                        table?: string | undefined;
                        primaryKeys?: any[] | undefined;
                    }[] | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                unsubscribe?: {
                    id?: string | undefined;
                } | undefined;
            }[] | undefined;
        } & {
            senderInfo?: ({
                readerKey?: string | undefined;
                address?: string | undefined;
            } & {
                readerKey?: string | undefined;
                address?: string | undefined;
            } & { [K_10 in Exclude<keyof I["firstMessage"]["senderInfo"], keyof SenderInfo>]: never; }) | undefined;
            mailboxTimeoutInMs?: number | undefined;
            subscriptions?: ({
                mailbox?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    readerKey?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                nefario?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    processUid?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                changeDataCapture?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    matchers?: {
                        database?: string | undefined;
                        table?: string | undefined;
                        primaryKeys?: any[] | undefined;
                    }[] | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                unsubscribe?: {
                    id?: string | undefined;
                } | undefined;
            }[] & ({
                mailbox?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    readerKey?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                nefario?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    processUid?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                changeDataCapture?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    matchers?: {
                        database?: string | undefined;
                        table?: string | undefined;
                        primaryKeys?: any[] | undefined;
                    }[] | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                unsubscribe?: {
                    id?: string | undefined;
                } | undefined;
            } & {
                mailbox?: ({
                    id?: string | undefined;
                    state?: string | undefined;
                    readerKey?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } & {
                    id?: string | undefined;
                    state?: string | undefined;
                    readerKey?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } & { [K_11 in Exclude<keyof I["firstMessage"]["subscriptions"][number]["mailbox"], keyof MailboxSubscription>]: never; }) | undefined;
                nefario?: ({
                    id?: string | undefined;
                    state?: string | undefined;
                    processUid?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } & {
                    id?: string | undefined;
                    state?: string | undefined;
                    processUid?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } & { [K_12 in Exclude<keyof I["firstMessage"]["subscriptions"][number]["nefario"], keyof NefarioSubscription>]: never; }) | undefined;
                changeDataCapture?: ({
                    id?: string | undefined;
                    state?: string | undefined;
                    matchers?: {
                        database?: string | undefined;
                        table?: string | undefined;
                        primaryKeys?: any[] | undefined;
                    }[] | undefined;
                    startSeq?: string | undefined;
                } & {
                    id?: string | undefined;
                    state?: string | undefined;
                    matchers?: ({
                        database?: string | undefined;
                        table?: string | undefined;
                        primaryKeys?: any[] | undefined;
                    }[] & ({
                        database?: string | undefined;
                        table?: string | undefined;
                        primaryKeys?: any[] | undefined;
                    } & {
                        database?: string | undefined;
                        table?: string | undefined;
                        primaryKeys?: (any[] & any[] & { [K_13 in Exclude<keyof I["firstMessage"]["subscriptions"][number]["changeDataCapture"]["matchers"][number]["primaryKeys"], keyof any[]>]: never; }) | undefined;
                    } & { [K_14 in Exclude<keyof I["firstMessage"]["subscriptions"][number]["changeDataCapture"]["matchers"][number], keyof RecordMatcher>]: never; })[] & { [K_15 in Exclude<keyof I["firstMessage"]["subscriptions"][number]["changeDataCapture"]["matchers"], keyof {
                        database?: string | undefined;
                        table?: string | undefined;
                        primaryKeys?: any[] | undefined;
                    }[]>]: never; }) | undefined;
                    startSeq?: string | undefined;
                } & { [K_16 in Exclude<keyof I["firstMessage"]["subscriptions"][number]["changeDataCapture"], keyof ChangeDataCaptureSubscription>]: never; }) | undefined;
                unsubscribe?: ({
                    id?: string | undefined;
                } & {
                    id?: string | undefined;
                } & { [K_17 in Exclude<keyof I["firstMessage"]["subscriptions"][number]["unsubscribe"], "id">]: never; }) | undefined;
            } & { [K_18 in Exclude<keyof I["firstMessage"]["subscriptions"][number], keyof Subscription>]: never; })[] & { [K_19 in Exclude<keyof I["firstMessage"]["subscriptions"], keyof {
                mailbox?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    readerKey?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                nefario?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    processUid?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                changeDataCapture?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    matchers?: {
                        database?: string | undefined;
                        table?: string | undefined;
                        primaryKeys?: any[] | undefined;
                    }[] | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                unsubscribe?: {
                    id?: string | undefined;
                } | undefined;
            }[]>]: never; }) | undefined;
        } & { [K_20 in Exclude<keyof I["firstMessage"], keyof FirstMessage>]: never; }) | undefined;
        ping?: ({
            payload?: Uint8Array | undefined;
        } & {
            payload?: Uint8Array | undefined;
        } & { [K_21 in Exclude<keyof I["ping"], "payload">]: never; }) | undefined;
        pong?: ({
            payload?: Uint8Array | undefined;
        } & {
            payload?: Uint8Array | undefined;
        } & { [K_22 in Exclude<keyof I["pong"], "payload">]: never; }) | undefined;
        notification?: ({
            message?: string | undefined;
        } & {
            message?: string | undefined;
        } & { [K_23 in Exclude<keyof I["notification"], "message">]: never; }) | undefined;
        subscribeRequest?: ({
            subscriptions?: {
                mailbox?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    readerKey?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                nefario?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    processUid?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                changeDataCapture?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    matchers?: {
                        database?: string | undefined;
                        table?: string | undefined;
                        primaryKeys?: any[] | undefined;
                    }[] | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                unsubscribe?: {
                    id?: string | undefined;
                } | undefined;
            }[] | undefined;
        } & {
            subscriptions?: ({
                mailbox?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    readerKey?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                nefario?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    processUid?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                changeDataCapture?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    matchers?: {
                        database?: string | undefined;
                        table?: string | undefined;
                        primaryKeys?: any[] | undefined;
                    }[] | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                unsubscribe?: {
                    id?: string | undefined;
                } | undefined;
            }[] & ({
                mailbox?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    readerKey?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                nefario?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    processUid?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                changeDataCapture?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    matchers?: {
                        database?: string | undefined;
                        table?: string | undefined;
                        primaryKeys?: any[] | undefined;
                    }[] | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                unsubscribe?: {
                    id?: string | undefined;
                } | undefined;
            } & {
                mailbox?: ({
                    id?: string | undefined;
                    state?: string | undefined;
                    readerKey?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } & {
                    id?: string | undefined;
                    state?: string | undefined;
                    readerKey?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } & { [K_24 in Exclude<keyof I["subscribeRequest"]["subscriptions"][number]["mailbox"], keyof MailboxSubscription>]: never; }) | undefined;
                nefario?: ({
                    id?: string | undefined;
                    state?: string | undefined;
                    processUid?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } & {
                    id?: string | undefined;
                    state?: string | undefined;
                    processUid?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } & { [K_25 in Exclude<keyof I["subscribeRequest"]["subscriptions"][number]["nefario"], keyof NefarioSubscription>]: never; }) | undefined;
                changeDataCapture?: ({
                    id?: string | undefined;
                    state?: string | undefined;
                    matchers?: {
                        database?: string | undefined;
                        table?: string | undefined;
                        primaryKeys?: any[] | undefined;
                    }[] | undefined;
                    startSeq?: string | undefined;
                } & {
                    id?: string | undefined;
                    state?: string | undefined;
                    matchers?: ({
                        database?: string | undefined;
                        table?: string | undefined;
                        primaryKeys?: any[] | undefined;
                    }[] & ({
                        database?: string | undefined;
                        table?: string | undefined;
                        primaryKeys?: any[] | undefined;
                    } & {
                        database?: string | undefined;
                        table?: string | undefined;
                        primaryKeys?: (any[] & any[] & { [K_26 in Exclude<keyof I["subscribeRequest"]["subscriptions"][number]["changeDataCapture"]["matchers"][number]["primaryKeys"], keyof any[]>]: never; }) | undefined;
                    } & { [K_27 in Exclude<keyof I["subscribeRequest"]["subscriptions"][number]["changeDataCapture"]["matchers"][number], keyof RecordMatcher>]: never; })[] & { [K_28 in Exclude<keyof I["subscribeRequest"]["subscriptions"][number]["changeDataCapture"]["matchers"], keyof {
                        database?: string | undefined;
                        table?: string | undefined;
                        primaryKeys?: any[] | undefined;
                    }[]>]: never; }) | undefined;
                    startSeq?: string | undefined;
                } & { [K_29 in Exclude<keyof I["subscribeRequest"]["subscriptions"][number]["changeDataCapture"], keyof ChangeDataCaptureSubscription>]: never; }) | undefined;
                unsubscribe?: ({
                    id?: string | undefined;
                } & {
                    id?: string | undefined;
                } & { [K_30 in Exclude<keyof I["subscribeRequest"]["subscriptions"][number]["unsubscribe"], "id">]: never; }) | undefined;
            } & { [K_31 in Exclude<keyof I["subscribeRequest"]["subscriptions"][number], keyof Subscription>]: never; })[] & { [K_32 in Exclude<keyof I["subscribeRequest"]["subscriptions"], keyof {
                mailbox?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    readerKey?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                nefario?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    processUid?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                changeDataCapture?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    matchers?: {
                        database?: string | undefined;
                        table?: string | undefined;
                        primaryKeys?: any[] | undefined;
                    }[] | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                unsubscribe?: {
                    id?: string | undefined;
                } | undefined;
            }[]>]: never; }) | undefined;
        } & { [K_33 in Exclude<keyof I["subscribeRequest"], "subscriptions">]: never; }) | undefined;
    } & { [K_34 in Exclude<keyof I, keyof MessageFromClient>]: never; }>(base?: I): MessageFromClient;
    fromPartial<I_1 extends {
        sendMessageRequest?: {
            to?: string[] | undefined;
            message?: {
                header?: {
                    sender?: string | undefined;
                    contentType?: ContentType | undefined;
                    rpcHeader?: {
                        correlationId?: string | undefined;
                        endPoint?: string | undefined;
                        frameType?: RpcFrameType | undefined;
                        errorInfo?: {
                            errorCode?: number | undefined;
                            message?: string | undefined;
                            stackTrace?: string | undefined;
                        } | undefined;
                    } | undefined;
                    senderSequence?: number | undefined;
                    extraHeaders?: {
                        key?: string | undefined;
                        val?: string | undefined;
                    }[] | undefined;
                } | undefined;
                senderEnvelope?: {
                    created?: number | undefined;
                } | undefined;
                serverEnvelope?: {
                    sequence?: number | undefined;
                    created?: number | undefined;
                    channel?: string | undefined;
                    subscriptionId?: string | undefined;
                } | undefined;
                data?: Uint8Array | undefined;
            } | undefined;
            channel?: string | undefined;
            idempotentId?: string | undefined;
        } | undefined;
        firstMessage?: {
            senderInfo?: {
                readerKey?: string | undefined;
                address?: string | undefined;
            } | undefined;
            mailboxTimeoutInMs?: number | undefined;
            subscriptions?: {
                mailbox?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    readerKey?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                nefario?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    processUid?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                changeDataCapture?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    matchers?: {
                        database?: string | undefined;
                        table?: string | undefined;
                        primaryKeys?: any[] | undefined;
                    }[] | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                unsubscribe?: {
                    id?: string | undefined;
                } | undefined;
            }[] | undefined;
        } | undefined;
        ping?: {
            payload?: Uint8Array | undefined;
        } | undefined;
        pong?: {
            payload?: Uint8Array | undefined;
        } | undefined;
        notification?: {
            message?: string | undefined;
        } | undefined;
        subscribeRequest?: {
            subscriptions?: {
                mailbox?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    readerKey?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                nefario?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    processUid?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                changeDataCapture?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    matchers?: {
                        database?: string | undefined;
                        table?: string | undefined;
                        primaryKeys?: any[] | undefined;
                    }[] | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                unsubscribe?: {
                    id?: string | undefined;
                } | undefined;
            }[] | undefined;
        } | undefined;
    } & {
        sendMessageRequest?: ({
            to?: string[] | undefined;
            message?: {
                header?: {
                    sender?: string | undefined;
                    contentType?: ContentType | undefined;
                    rpcHeader?: {
                        correlationId?: string | undefined;
                        endPoint?: string | undefined;
                        frameType?: RpcFrameType | undefined;
                        errorInfo?: {
                            errorCode?: number | undefined;
                            message?: string | undefined;
                            stackTrace?: string | undefined;
                        } | undefined;
                    } | undefined;
                    senderSequence?: number | undefined;
                    extraHeaders?: {
                        key?: string | undefined;
                        val?: string | undefined;
                    }[] | undefined;
                } | undefined;
                senderEnvelope?: {
                    created?: number | undefined;
                } | undefined;
                serverEnvelope?: {
                    sequence?: number | undefined;
                    created?: number | undefined;
                    channel?: string | undefined;
                    subscriptionId?: string | undefined;
                } | undefined;
                data?: Uint8Array | undefined;
            } | undefined;
            channel?: string | undefined;
            idempotentId?: string | undefined;
        } & {
            to?: (string[] & string[] & { [K_35 in Exclude<keyof I_1["sendMessageRequest"]["to"], keyof string[]>]: never; }) | undefined;
            message?: ({
                header?: {
                    sender?: string | undefined;
                    contentType?: ContentType | undefined;
                    rpcHeader?: {
                        correlationId?: string | undefined;
                        endPoint?: string | undefined;
                        frameType?: RpcFrameType | undefined;
                        errorInfo?: {
                            errorCode?: number | undefined;
                            message?: string | undefined;
                            stackTrace?: string | undefined;
                        } | undefined;
                    } | undefined;
                    senderSequence?: number | undefined;
                    extraHeaders?: {
                        key?: string | undefined;
                        val?: string | undefined;
                    }[] | undefined;
                } | undefined;
                senderEnvelope?: {
                    created?: number | undefined;
                } | undefined;
                serverEnvelope?: {
                    sequence?: number | undefined;
                    created?: number | undefined;
                    channel?: string | undefined;
                    subscriptionId?: string | undefined;
                } | undefined;
                data?: Uint8Array | undefined;
            } & {
                header?: ({
                    sender?: string | undefined;
                    contentType?: ContentType | undefined;
                    rpcHeader?: {
                        correlationId?: string | undefined;
                        endPoint?: string | undefined;
                        frameType?: RpcFrameType | undefined;
                        errorInfo?: {
                            errorCode?: number | undefined;
                            message?: string | undefined;
                            stackTrace?: string | undefined;
                        } | undefined;
                    } | undefined;
                    senderSequence?: number | undefined;
                    extraHeaders?: {
                        key?: string | undefined;
                        val?: string | undefined;
                    }[] | undefined;
                } & {
                    sender?: string | undefined;
                    contentType?: ContentType | undefined;
                    rpcHeader?: ({
                        correlationId?: string | undefined;
                        endPoint?: string | undefined;
                        frameType?: RpcFrameType | undefined;
                        errorInfo?: {
                            errorCode?: number | undefined;
                            message?: string | undefined;
                            stackTrace?: string | undefined;
                        } | undefined;
                    } & {
                        correlationId?: string | undefined;
                        endPoint?: string | undefined;
                        frameType?: RpcFrameType | undefined;
                        errorInfo?: ({
                            errorCode?: number | undefined;
                            message?: string | undefined;
                            stackTrace?: string | undefined;
                        } & {
                            errorCode?: number | undefined;
                            message?: string | undefined;
                            stackTrace?: string | undefined;
                        } & { [K_36 in Exclude<keyof I_1["sendMessageRequest"]["message"]["header"]["rpcHeader"]["errorInfo"], keyof RpcErrorInfo>]: never; }) | undefined;
                    } & { [K_37 in Exclude<keyof I_1["sendMessageRequest"]["message"]["header"]["rpcHeader"], keyof RpcHeader>]: never; }) | undefined;
                    senderSequence?: number | undefined;
                    extraHeaders?: ({
                        key?: string | undefined;
                        val?: string | undefined;
                    }[] & ({
                        key?: string | undefined;
                        val?: string | undefined;
                    } & {
                        key?: string | undefined;
                        val?: string | undefined;
                    } & { [K_38 in Exclude<keyof I_1["sendMessageRequest"]["message"]["header"]["extraHeaders"][number], keyof KeyValPair>]: never; })[] & { [K_39 in Exclude<keyof I_1["sendMessageRequest"]["message"]["header"]["extraHeaders"], keyof {
                        key?: string | undefined;
                        val?: string | undefined;
                    }[]>]: never; }) | undefined;
                } & { [K_40 in Exclude<keyof I_1["sendMessageRequest"]["message"]["header"], keyof MessageHeader>]: never; }) | undefined;
                senderEnvelope?: ({
                    created?: number | undefined;
                } & {
                    created?: number | undefined;
                } & { [K_41 in Exclude<keyof I_1["sendMessageRequest"]["message"]["senderEnvelope"], "created">]: never; }) | undefined;
                serverEnvelope?: ({
                    sequence?: number | undefined;
                    created?: number | undefined;
                    channel?: string | undefined;
                    subscriptionId?: string | undefined;
                } & {
                    sequence?: number | undefined;
                    created?: number | undefined;
                    channel?: string | undefined;
                    subscriptionId?: string | undefined;
                } & { [K_42 in Exclude<keyof I_1["sendMessageRequest"]["message"]["serverEnvelope"], keyof ServerEnvelope>]: never; }) | undefined;
                data?: Uint8Array | undefined;
            } & { [K_43 in Exclude<keyof I_1["sendMessageRequest"]["message"], keyof Message>]: never; }) | undefined;
            channel?: string | undefined;
            idempotentId?: string | undefined;
        } & { [K_44 in Exclude<keyof I_1["sendMessageRequest"], keyof SendMessageRequest>]: never; }) | undefined;
        firstMessage?: ({
            senderInfo?: {
                readerKey?: string | undefined;
                address?: string | undefined;
            } | undefined;
            mailboxTimeoutInMs?: number | undefined;
            subscriptions?: {
                mailbox?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    readerKey?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                nefario?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    processUid?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                changeDataCapture?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    matchers?: {
                        database?: string | undefined;
                        table?: string | undefined;
                        primaryKeys?: any[] | undefined;
                    }[] | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                unsubscribe?: {
                    id?: string | undefined;
                } | undefined;
            }[] | undefined;
        } & {
            senderInfo?: ({
                readerKey?: string | undefined;
                address?: string | undefined;
            } & {
                readerKey?: string | undefined;
                address?: string | undefined;
            } & { [K_45 in Exclude<keyof I_1["firstMessage"]["senderInfo"], keyof SenderInfo>]: never; }) | undefined;
            mailboxTimeoutInMs?: number | undefined;
            subscriptions?: ({
                mailbox?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    readerKey?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                nefario?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    processUid?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                changeDataCapture?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    matchers?: {
                        database?: string | undefined;
                        table?: string | undefined;
                        primaryKeys?: any[] | undefined;
                    }[] | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                unsubscribe?: {
                    id?: string | undefined;
                } | undefined;
            }[] & ({
                mailbox?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    readerKey?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                nefario?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    processUid?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                changeDataCapture?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    matchers?: {
                        database?: string | undefined;
                        table?: string | undefined;
                        primaryKeys?: any[] | undefined;
                    }[] | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                unsubscribe?: {
                    id?: string | undefined;
                } | undefined;
            } & {
                mailbox?: ({
                    id?: string | undefined;
                    state?: string | undefined;
                    readerKey?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } & {
                    id?: string | undefined;
                    state?: string | undefined;
                    readerKey?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } & { [K_46 in Exclude<keyof I_1["firstMessage"]["subscriptions"][number]["mailbox"], keyof MailboxSubscription>]: never; }) | undefined;
                nefario?: ({
                    id?: string | undefined;
                    state?: string | undefined;
                    processUid?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } & {
                    id?: string | undefined;
                    state?: string | undefined;
                    processUid?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } & { [K_47 in Exclude<keyof I_1["firstMessage"]["subscriptions"][number]["nefario"], keyof NefarioSubscription>]: never; }) | undefined;
                changeDataCapture?: ({
                    id?: string | undefined;
                    state?: string | undefined;
                    matchers?: {
                        database?: string | undefined;
                        table?: string | undefined;
                        primaryKeys?: any[] | undefined;
                    }[] | undefined;
                    startSeq?: string | undefined;
                } & {
                    id?: string | undefined;
                    state?: string | undefined;
                    matchers?: ({
                        database?: string | undefined;
                        table?: string | undefined;
                        primaryKeys?: any[] | undefined;
                    }[] & ({
                        database?: string | undefined;
                        table?: string | undefined;
                        primaryKeys?: any[] | undefined;
                    } & {
                        database?: string | undefined;
                        table?: string | undefined;
                        primaryKeys?: (any[] & any[] & { [K_48 in Exclude<keyof I_1["firstMessage"]["subscriptions"][number]["changeDataCapture"]["matchers"][number]["primaryKeys"], keyof any[]>]: never; }) | undefined;
                    } & { [K_49 in Exclude<keyof I_1["firstMessage"]["subscriptions"][number]["changeDataCapture"]["matchers"][number], keyof RecordMatcher>]: never; })[] & { [K_50 in Exclude<keyof I_1["firstMessage"]["subscriptions"][number]["changeDataCapture"]["matchers"], keyof {
                        database?: string | undefined;
                        table?: string | undefined;
                        primaryKeys?: any[] | undefined;
                    }[]>]: never; }) | undefined;
                    startSeq?: string | undefined;
                } & { [K_51 in Exclude<keyof I_1["firstMessage"]["subscriptions"][number]["changeDataCapture"], keyof ChangeDataCaptureSubscription>]: never; }) | undefined;
                unsubscribe?: ({
                    id?: string | undefined;
                } & {
                    id?: string | undefined;
                } & { [K_52 in Exclude<keyof I_1["firstMessage"]["subscriptions"][number]["unsubscribe"], "id">]: never; }) | undefined;
            } & { [K_53 in Exclude<keyof I_1["firstMessage"]["subscriptions"][number], keyof Subscription>]: never; })[] & { [K_54 in Exclude<keyof I_1["firstMessage"]["subscriptions"], keyof {
                mailbox?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    readerKey?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                nefario?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    processUid?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                changeDataCapture?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    matchers?: {
                        database?: string | undefined;
                        table?: string | undefined;
                        primaryKeys?: any[] | undefined;
                    }[] | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                unsubscribe?: {
                    id?: string | undefined;
                } | undefined;
            }[]>]: never; }) | undefined;
        } & { [K_55 in Exclude<keyof I_1["firstMessage"], keyof FirstMessage>]: never; }) | undefined;
        ping?: ({
            payload?: Uint8Array | undefined;
        } & {
            payload?: Uint8Array | undefined;
        } & { [K_56 in Exclude<keyof I_1["ping"], "payload">]: never; }) | undefined;
        pong?: ({
            payload?: Uint8Array | undefined;
        } & {
            payload?: Uint8Array | undefined;
        } & { [K_57 in Exclude<keyof I_1["pong"], "payload">]: never; }) | undefined;
        notification?: ({
            message?: string | undefined;
        } & {
            message?: string | undefined;
        } & { [K_58 in Exclude<keyof I_1["notification"], "message">]: never; }) | undefined;
        subscribeRequest?: ({
            subscriptions?: {
                mailbox?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    readerKey?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                nefario?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    processUid?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                changeDataCapture?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    matchers?: {
                        database?: string | undefined;
                        table?: string | undefined;
                        primaryKeys?: any[] | undefined;
                    }[] | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                unsubscribe?: {
                    id?: string | undefined;
                } | undefined;
            }[] | undefined;
        } & {
            subscriptions?: ({
                mailbox?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    readerKey?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                nefario?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    processUid?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                changeDataCapture?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    matchers?: {
                        database?: string | undefined;
                        table?: string | undefined;
                        primaryKeys?: any[] | undefined;
                    }[] | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                unsubscribe?: {
                    id?: string | undefined;
                } | undefined;
            }[] & ({
                mailbox?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    readerKey?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                nefario?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    processUid?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                changeDataCapture?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    matchers?: {
                        database?: string | undefined;
                        table?: string | undefined;
                        primaryKeys?: any[] | undefined;
                    }[] | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                unsubscribe?: {
                    id?: string | undefined;
                } | undefined;
            } & {
                mailbox?: ({
                    id?: string | undefined;
                    state?: string | undefined;
                    readerKey?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } & {
                    id?: string | undefined;
                    state?: string | undefined;
                    readerKey?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } & { [K_59 in Exclude<keyof I_1["subscribeRequest"]["subscriptions"][number]["mailbox"], keyof MailboxSubscription>]: never; }) | undefined;
                nefario?: ({
                    id?: string | undefined;
                    state?: string | undefined;
                    processUid?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } & {
                    id?: string | undefined;
                    state?: string | undefined;
                    processUid?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } & { [K_60 in Exclude<keyof I_1["subscribeRequest"]["subscriptions"][number]["nefario"], keyof NefarioSubscription>]: never; }) | undefined;
                changeDataCapture?: ({
                    id?: string | undefined;
                    state?: string | undefined;
                    matchers?: {
                        database?: string | undefined;
                        table?: string | undefined;
                        primaryKeys?: any[] | undefined;
                    }[] | undefined;
                    startSeq?: string | undefined;
                } & {
                    id?: string | undefined;
                    state?: string | undefined;
                    matchers?: ({
                        database?: string | undefined;
                        table?: string | undefined;
                        primaryKeys?: any[] | undefined;
                    }[] & ({
                        database?: string | undefined;
                        table?: string | undefined;
                        primaryKeys?: any[] | undefined;
                    } & {
                        database?: string | undefined;
                        table?: string | undefined;
                        primaryKeys?: (any[] & any[] & { [K_61 in Exclude<keyof I_1["subscribeRequest"]["subscriptions"][number]["changeDataCapture"]["matchers"][number]["primaryKeys"], keyof any[]>]: never; }) | undefined;
                    } & { [K_62 in Exclude<keyof I_1["subscribeRequest"]["subscriptions"][number]["changeDataCapture"]["matchers"][number], keyof RecordMatcher>]: never; })[] & { [K_63 in Exclude<keyof I_1["subscribeRequest"]["subscriptions"][number]["changeDataCapture"]["matchers"], keyof {
                        database?: string | undefined;
                        table?: string | undefined;
                        primaryKeys?: any[] | undefined;
                    }[]>]: never; }) | undefined;
                    startSeq?: string | undefined;
                } & { [K_64 in Exclude<keyof I_1["subscribeRequest"]["subscriptions"][number]["changeDataCapture"], keyof ChangeDataCaptureSubscription>]: never; }) | undefined;
                unsubscribe?: ({
                    id?: string | undefined;
                } & {
                    id?: string | undefined;
                } & { [K_65 in Exclude<keyof I_1["subscribeRequest"]["subscriptions"][number]["unsubscribe"], "id">]: never; }) | undefined;
            } & { [K_66 in Exclude<keyof I_1["subscribeRequest"]["subscriptions"][number], keyof Subscription>]: never; })[] & { [K_67 in Exclude<keyof I_1["subscribeRequest"]["subscriptions"], keyof {
                mailbox?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    readerKey?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                nefario?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    processUid?: string | undefined;
                    channel?: string | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                changeDataCapture?: {
                    id?: string | undefined;
                    state?: string | undefined;
                    matchers?: {
                        database?: string | undefined;
                        table?: string | undefined;
                        primaryKeys?: any[] | undefined;
                    }[] | undefined;
                    startSeq?: string | undefined;
                } | undefined;
                unsubscribe?: {
                    id?: string | undefined;
                } | undefined;
            }[]>]: never; }) | undefined;
        } & { [K_68 in Exclude<keyof I_1["subscribeRequest"], "subscriptions">]: never; }) | undefined;
    } & { [K_69 in Exclude<keyof I_1, keyof MessageFromClient>]: never; }>(object: I_1): MessageFromClient;
};
export declare const Notification: {
    encode(message: Notification, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): Notification;
    fromJSON(object: any): Notification;
    toJSON(message: Notification): unknown;
    create<I extends {
        message?: string | undefined;
    } & {
        message?: string | undefined;
    } & { [K in Exclude<keyof I, "message">]: never; }>(base?: I): Notification;
    fromPartial<I_1 extends {
        message?: string | undefined;
    } & {
        message?: string | undefined;
    } & { [K_1 in Exclude<keyof I_1, "message">]: never; }>(object: I_1): Notification;
};
export declare const MessageToClient: {
    encode(message: MessageToClient, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): MessageToClient;
    fromJSON(object: any): MessageToClient;
    toJSON(message: MessageToClient): unknown;
    create<I extends {
        messageEnvelope?: {
            messageBytes?: Uint8Array | undefined;
            serverEnvelope?: {
                sequence?: number | undefined;
                created?: number | undefined;
                channel?: string | undefined;
                subscriptionId?: string | undefined;
            } | undefined;
        } | undefined;
        sendMessageResponse?: {
            errors?: {
                message?: string | undefined;
                to?: string | undefined;
            }[] | undefined;
            duplicates?: string[] | undefined;
            idempotentId?: string | undefined;
            correlationId?: string | undefined;
        } | undefined;
        ping?: {
            payload?: Uint8Array | undefined;
        } | undefined;
        pong?: {
            payload?: Uint8Array | undefined;
        } | undefined;
        notification?: {
            message?: string | undefined;
        } | undefined;
        subscribeResponse?: {
            succeeded?: string[] | undefined;
            errors?: {
                state?: string | undefined;
                message?: string | undefined;
            }[] | undefined;
        } | undefined;
    } & {
        messageEnvelope?: ({
            messageBytes?: Uint8Array | undefined;
            serverEnvelope?: {
                sequence?: number | undefined;
                created?: number | undefined;
                channel?: string | undefined;
                subscriptionId?: string | undefined;
            } | undefined;
        } & {
            messageBytes?: Uint8Array | undefined;
            serverEnvelope?: ({
                sequence?: number | undefined;
                created?: number | undefined;
                channel?: string | undefined;
                subscriptionId?: string | undefined;
            } & {
                sequence?: number | undefined;
                created?: number | undefined;
                channel?: string | undefined;
                subscriptionId?: string | undefined;
            } & { [K in Exclude<keyof I["messageEnvelope"]["serverEnvelope"], keyof ServerEnvelope>]: never; }) | undefined;
        } & { [K_1 in Exclude<keyof I["messageEnvelope"], keyof MessageEnvelope>]: never; }) | undefined;
        sendMessageResponse?: ({
            errors?: {
                message?: string | undefined;
                to?: string | undefined;
            }[] | undefined;
            duplicates?: string[] | undefined;
            idempotentId?: string | undefined;
            correlationId?: string | undefined;
        } & {
            errors?: ({
                message?: string | undefined;
                to?: string | undefined;
            }[] & ({
                message?: string | undefined;
                to?: string | undefined;
            } & {
                message?: string | undefined;
                to?: string | undefined;
            } & { [K_2 in Exclude<keyof I["sendMessageResponse"]["errors"][number], keyof SendMessageError>]: never; })[] & { [K_3 in Exclude<keyof I["sendMessageResponse"]["errors"], keyof {
                message?: string | undefined;
                to?: string | undefined;
            }[]>]: never; }) | undefined;
            duplicates?: (string[] & string[] & { [K_4 in Exclude<keyof I["sendMessageResponse"]["duplicates"], keyof string[]>]: never; }) | undefined;
            idempotentId?: string | undefined;
            correlationId?: string | undefined;
        } & { [K_5 in Exclude<keyof I["sendMessageResponse"], keyof SendMessageResponse>]: never; }) | undefined;
        ping?: ({
            payload?: Uint8Array | undefined;
        } & {
            payload?: Uint8Array | undefined;
        } & { [K_6 in Exclude<keyof I["ping"], "payload">]: never; }) | undefined;
        pong?: ({
            payload?: Uint8Array | undefined;
        } & {
            payload?: Uint8Array | undefined;
        } & { [K_7 in Exclude<keyof I["pong"], "payload">]: never; }) | undefined;
        notification?: ({
            message?: string | undefined;
        } & {
            message?: string | undefined;
        } & { [K_8 in Exclude<keyof I["notification"], "message">]: never; }) | undefined;
        subscribeResponse?: ({
            succeeded?: string[] | undefined;
            errors?: {
                state?: string | undefined;
                message?: string | undefined;
            }[] | undefined;
        } & {
            succeeded?: (string[] & string[] & { [K_9 in Exclude<keyof I["subscribeResponse"]["succeeded"], keyof string[]>]: never; }) | undefined;
            errors?: ({
                state?: string | undefined;
                message?: string | undefined;
            }[] & ({
                state?: string | undefined;
                message?: string | undefined;
            } & {
                state?: string | undefined;
                message?: string | undefined;
            } & { [K_10 in Exclude<keyof I["subscribeResponse"]["errors"][number], keyof SubscribeError>]: never; })[] & { [K_11 in Exclude<keyof I["subscribeResponse"]["errors"], keyof {
                state?: string | undefined;
                message?: string | undefined;
            }[]>]: never; }) | undefined;
        } & { [K_12 in Exclude<keyof I["subscribeResponse"], keyof SubscribeResponse>]: never; }) | undefined;
    } & { [K_13 in Exclude<keyof I, keyof MessageToClient>]: never; }>(base?: I): MessageToClient;
    fromPartial<I_1 extends {
        messageEnvelope?: {
            messageBytes?: Uint8Array | undefined;
            serverEnvelope?: {
                sequence?: number | undefined;
                created?: number | undefined;
                channel?: string | undefined;
                subscriptionId?: string | undefined;
            } | undefined;
        } | undefined;
        sendMessageResponse?: {
            errors?: {
                message?: string | undefined;
                to?: string | undefined;
            }[] | undefined;
            duplicates?: string[] | undefined;
            idempotentId?: string | undefined;
            correlationId?: string | undefined;
        } | undefined;
        ping?: {
            payload?: Uint8Array | undefined;
        } | undefined;
        pong?: {
            payload?: Uint8Array | undefined;
        } | undefined;
        notification?: {
            message?: string | undefined;
        } | undefined;
        subscribeResponse?: {
            succeeded?: string[] | undefined;
            errors?: {
                state?: string | undefined;
                message?: string | undefined;
            }[] | undefined;
        } | undefined;
    } & {
        messageEnvelope?: ({
            messageBytes?: Uint8Array | undefined;
            serverEnvelope?: {
                sequence?: number | undefined;
                created?: number | undefined;
                channel?: string | undefined;
                subscriptionId?: string | undefined;
            } | undefined;
        } & {
            messageBytes?: Uint8Array | undefined;
            serverEnvelope?: ({
                sequence?: number | undefined;
                created?: number | undefined;
                channel?: string | undefined;
                subscriptionId?: string | undefined;
            } & {
                sequence?: number | undefined;
                created?: number | undefined;
                channel?: string | undefined;
                subscriptionId?: string | undefined;
            } & { [K_14 in Exclude<keyof I_1["messageEnvelope"]["serverEnvelope"], keyof ServerEnvelope>]: never; }) | undefined;
        } & { [K_15 in Exclude<keyof I_1["messageEnvelope"], keyof MessageEnvelope>]: never; }) | undefined;
        sendMessageResponse?: ({
            errors?: {
                message?: string | undefined;
                to?: string | undefined;
            }[] | undefined;
            duplicates?: string[] | undefined;
            idempotentId?: string | undefined;
            correlationId?: string | undefined;
        } & {
            errors?: ({
                message?: string | undefined;
                to?: string | undefined;
            }[] & ({
                message?: string | undefined;
                to?: string | undefined;
            } & {
                message?: string | undefined;
                to?: string | undefined;
            } & { [K_16 in Exclude<keyof I_1["sendMessageResponse"]["errors"][number], keyof SendMessageError>]: never; })[] & { [K_17 in Exclude<keyof I_1["sendMessageResponse"]["errors"], keyof {
                message?: string | undefined;
                to?: string | undefined;
            }[]>]: never; }) | undefined;
            duplicates?: (string[] & string[] & { [K_18 in Exclude<keyof I_1["sendMessageResponse"]["duplicates"], keyof string[]>]: never; }) | undefined;
            idempotentId?: string | undefined;
            correlationId?: string | undefined;
        } & { [K_19 in Exclude<keyof I_1["sendMessageResponse"], keyof SendMessageResponse>]: never; }) | undefined;
        ping?: ({
            payload?: Uint8Array | undefined;
        } & {
            payload?: Uint8Array | undefined;
        } & { [K_20 in Exclude<keyof I_1["ping"], "payload">]: never; }) | undefined;
        pong?: ({
            payload?: Uint8Array | undefined;
        } & {
            payload?: Uint8Array | undefined;
        } & { [K_21 in Exclude<keyof I_1["pong"], "payload">]: never; }) | undefined;
        notification?: ({
            message?: string | undefined;
        } & {
            message?: string | undefined;
        } & { [K_22 in Exclude<keyof I_1["notification"], "message">]: never; }) | undefined;
        subscribeResponse?: ({
            succeeded?: string[] | undefined;
            errors?: {
                state?: string | undefined;
                message?: string | undefined;
            }[] | undefined;
        } & {
            succeeded?: (string[] & string[] & { [K_23 in Exclude<keyof I_1["subscribeResponse"]["succeeded"], keyof string[]>]: never; }) | undefined;
            errors?: ({
                state?: string | undefined;
                message?: string | undefined;
            }[] & ({
                state?: string | undefined;
                message?: string | undefined;
            } & {
                state?: string | undefined;
                message?: string | undefined;
            } & { [K_24 in Exclude<keyof I_1["subscribeResponse"]["errors"][number], keyof SubscribeError>]: never; })[] & { [K_25 in Exclude<keyof I_1["subscribeResponse"]["errors"], keyof {
                state?: string | undefined;
                message?: string | undefined;
            }[]>]: never; }) | undefined;
        } & { [K_26 in Exclude<keyof I_1["subscribeResponse"], keyof SubscribeResponse>]: never; }) | undefined;
    } & { [K_27 in Exclude<keyof I_1, keyof MessageToClient>]: never; }>(object: I_1): MessageToClient;
};
export declare const Ping: {
    encode(message: Ping, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): Ping;
    fromJSON(object: any): Ping;
    toJSON(message: Ping): unknown;
    create<I extends {
        payload?: Uint8Array | undefined;
    } & {
        payload?: Uint8Array | undefined;
    } & { [K in Exclude<keyof I, "payload">]: never; }>(base?: I): Ping;
    fromPartial<I_1 extends {
        payload?: Uint8Array | undefined;
    } & {
        payload?: Uint8Array | undefined;
    } & { [K_1 in Exclude<keyof I_1, "payload">]: never; }>(object: I_1): Ping;
};
export declare const Pong: {
    encode(message: Pong, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): Pong;
    fromJSON(object: any): Pong;
    toJSON(message: Pong): unknown;
    create<I extends {
        payload?: Uint8Array | undefined;
    } & {
        payload?: Uint8Array | undefined;
    } & { [K in Exclude<keyof I, "payload">]: never; }>(base?: I): Pong;
    fromPartial<I_1 extends {
        payload?: Uint8Array | undefined;
    } & {
        payload?: Uint8Array | undefined;
    } & { [K_1 in Exclude<keyof I_1, "payload">]: never; }>(object: I_1): Pong;
};
export declare const MessageHeader: {
    encode(message: MessageHeader, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): MessageHeader;
    fromJSON(object: any): MessageHeader;
    toJSON(message: MessageHeader): unknown;
    create<I extends {
        sender?: string | undefined;
        contentType?: ContentType | undefined;
        rpcHeader?: {
            correlationId?: string | undefined;
            endPoint?: string | undefined;
            frameType?: RpcFrameType | undefined;
            errorInfo?: {
                errorCode?: number | undefined;
                message?: string | undefined;
                stackTrace?: string | undefined;
            } | undefined;
        } | undefined;
        senderSequence?: number | undefined;
        extraHeaders?: {
            key?: string | undefined;
            val?: string | undefined;
        }[] | undefined;
    } & {
        sender?: string | undefined;
        contentType?: ContentType | undefined;
        rpcHeader?: ({
            correlationId?: string | undefined;
            endPoint?: string | undefined;
            frameType?: RpcFrameType | undefined;
            errorInfo?: {
                errorCode?: number | undefined;
                message?: string | undefined;
                stackTrace?: string | undefined;
            } | undefined;
        } & {
            correlationId?: string | undefined;
            endPoint?: string | undefined;
            frameType?: RpcFrameType | undefined;
            errorInfo?: ({
                errorCode?: number | undefined;
                message?: string | undefined;
                stackTrace?: string | undefined;
            } & {
                errorCode?: number | undefined;
                message?: string | undefined;
                stackTrace?: string | undefined;
            } & { [K in Exclude<keyof I["rpcHeader"]["errorInfo"], keyof RpcErrorInfo>]: never; }) | undefined;
        } & { [K_1 in Exclude<keyof I["rpcHeader"], keyof RpcHeader>]: never; }) | undefined;
        senderSequence?: number | undefined;
        extraHeaders?: ({
            key?: string | undefined;
            val?: string | undefined;
        }[] & ({
            key?: string | undefined;
            val?: string | undefined;
        } & {
            key?: string | undefined;
            val?: string | undefined;
        } & { [K_2 in Exclude<keyof I["extraHeaders"][number], keyof KeyValPair>]: never; })[] & { [K_3 in Exclude<keyof I["extraHeaders"], keyof {
            key?: string | undefined;
            val?: string | undefined;
        }[]>]: never; }) | undefined;
    } & { [K_4 in Exclude<keyof I, keyof MessageHeader>]: never; }>(base?: I): MessageHeader;
    fromPartial<I_1 extends {
        sender?: string | undefined;
        contentType?: ContentType | undefined;
        rpcHeader?: {
            correlationId?: string | undefined;
            endPoint?: string | undefined;
            frameType?: RpcFrameType | undefined;
            errorInfo?: {
                errorCode?: number | undefined;
                message?: string | undefined;
                stackTrace?: string | undefined;
            } | undefined;
        } | undefined;
        senderSequence?: number | undefined;
        extraHeaders?: {
            key?: string | undefined;
            val?: string | undefined;
        }[] | undefined;
    } & {
        sender?: string | undefined;
        contentType?: ContentType | undefined;
        rpcHeader?: ({
            correlationId?: string | undefined;
            endPoint?: string | undefined;
            frameType?: RpcFrameType | undefined;
            errorInfo?: {
                errorCode?: number | undefined;
                message?: string | undefined;
                stackTrace?: string | undefined;
            } | undefined;
        } & {
            correlationId?: string | undefined;
            endPoint?: string | undefined;
            frameType?: RpcFrameType | undefined;
            errorInfo?: ({
                errorCode?: number | undefined;
                message?: string | undefined;
                stackTrace?: string | undefined;
            } & {
                errorCode?: number | undefined;
                message?: string | undefined;
                stackTrace?: string | undefined;
            } & { [K_5 in Exclude<keyof I_1["rpcHeader"]["errorInfo"], keyof RpcErrorInfo>]: never; }) | undefined;
        } & { [K_6 in Exclude<keyof I_1["rpcHeader"], keyof RpcHeader>]: never; }) | undefined;
        senderSequence?: number | undefined;
        extraHeaders?: ({
            key?: string | undefined;
            val?: string | undefined;
        }[] & ({
            key?: string | undefined;
            val?: string | undefined;
        } & {
            key?: string | undefined;
            val?: string | undefined;
        } & { [K_7 in Exclude<keyof I_1["extraHeaders"][number], keyof KeyValPair>]: never; })[] & { [K_8 in Exclude<keyof I_1["extraHeaders"], keyof {
            key?: string | undefined;
            val?: string | undefined;
        }[]>]: never; }) | undefined;
    } & { [K_9 in Exclude<keyof I_1, keyof MessageHeader>]: never; }>(object: I_1): MessageHeader;
};
export declare const SenderEnvelope: {
    encode(message: SenderEnvelope, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): SenderEnvelope;
    fromJSON(object: any): SenderEnvelope;
    toJSON(message: SenderEnvelope): unknown;
    create<I extends {
        created?: number | undefined;
    } & {
        created?: number | undefined;
    } & { [K in Exclude<keyof I, "created">]: never; }>(base?: I): SenderEnvelope;
    fromPartial<I_1 extends {
        created?: number | undefined;
    } & {
        created?: number | undefined;
    } & { [K_1 in Exclude<keyof I_1, "created">]: never; }>(object: I_1): SenderEnvelope;
};
export declare const ServerEnvelope: {
    encode(message: ServerEnvelope, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): ServerEnvelope;
    fromJSON(object: any): ServerEnvelope;
    toJSON(message: ServerEnvelope): unknown;
    create<I extends {
        sequence?: number | undefined;
        created?: number | undefined;
        channel?: string | undefined;
        subscriptionId?: string | undefined;
    } & {
        sequence?: number | undefined;
        created?: number | undefined;
        channel?: string | undefined;
        subscriptionId?: string | undefined;
    } & { [K in Exclude<keyof I, keyof ServerEnvelope>]: never; }>(base?: I): ServerEnvelope;
    fromPartial<I_1 extends {
        sequence?: number | undefined;
        created?: number | undefined;
        channel?: string | undefined;
        subscriptionId?: string | undefined;
    } & {
        sequence?: number | undefined;
        created?: number | undefined;
        channel?: string | undefined;
        subscriptionId?: string | undefined;
    } & { [K_1 in Exclude<keyof I_1, keyof ServerEnvelope>]: never; }>(object: I_1): ServerEnvelope;
};
export declare const KeyValPair: {
    encode(message: KeyValPair, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): KeyValPair;
    fromJSON(object: any): KeyValPair;
    toJSON(message: KeyValPair): unknown;
    create<I extends {
        key?: string | undefined;
        val?: string | undefined;
    } & {
        key?: string | undefined;
        val?: string | undefined;
    } & { [K in Exclude<keyof I, keyof KeyValPair>]: never; }>(base?: I): KeyValPair;
    fromPartial<I_1 extends {
        key?: string | undefined;
        val?: string | undefined;
    } & {
        key?: string | undefined;
        val?: string | undefined;
    } & { [K_1 in Exclude<keyof I_1, keyof KeyValPair>]: never; }>(object: I_1): KeyValPair;
};
export declare const RpcHeader: {
    encode(message: RpcHeader, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): RpcHeader;
    fromJSON(object: any): RpcHeader;
    toJSON(message: RpcHeader): unknown;
    create<I extends {
        correlationId?: string | undefined;
        endPoint?: string | undefined;
        frameType?: RpcFrameType | undefined;
        errorInfo?: {
            errorCode?: number | undefined;
            message?: string | undefined;
            stackTrace?: string | undefined;
        } | undefined;
    } & {
        correlationId?: string | undefined;
        endPoint?: string | undefined;
        frameType?: RpcFrameType | undefined;
        errorInfo?: ({
            errorCode?: number | undefined;
            message?: string | undefined;
            stackTrace?: string | undefined;
        } & {
            errorCode?: number | undefined;
            message?: string | undefined;
            stackTrace?: string | undefined;
        } & { [K in Exclude<keyof I["errorInfo"], keyof RpcErrorInfo>]: never; }) | undefined;
    } & { [K_1 in Exclude<keyof I, keyof RpcHeader>]: never; }>(base?: I): RpcHeader;
    fromPartial<I_1 extends {
        correlationId?: string | undefined;
        endPoint?: string | undefined;
        frameType?: RpcFrameType | undefined;
        errorInfo?: {
            errorCode?: number | undefined;
            message?: string | undefined;
            stackTrace?: string | undefined;
        } | undefined;
    } & {
        correlationId?: string | undefined;
        endPoint?: string | undefined;
        frameType?: RpcFrameType | undefined;
        errorInfo?: ({
            errorCode?: number | undefined;
            message?: string | undefined;
            stackTrace?: string | undefined;
        } & {
            errorCode?: number | undefined;
            message?: string | undefined;
            stackTrace?: string | undefined;
        } & { [K_2 in Exclude<keyof I_1["errorInfo"], keyof RpcErrorInfo>]: never; }) | undefined;
    } & { [K_3 in Exclude<keyof I_1, keyof RpcHeader>]: never; }>(object: I_1): RpcHeader;
};
export declare const RpcErrorInfo: {
    encode(message: RpcErrorInfo, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): RpcErrorInfo;
    fromJSON(object: any): RpcErrorInfo;
    toJSON(message: RpcErrorInfo): unknown;
    create<I extends {
        errorCode?: number | undefined;
        message?: string | undefined;
        stackTrace?: string | undefined;
    } & {
        errorCode?: number | undefined;
        message?: string | undefined;
        stackTrace?: string | undefined;
    } & { [K in Exclude<keyof I, keyof RpcErrorInfo>]: never; }>(base?: I): RpcErrorInfo;
    fromPartial<I_1 extends {
        errorCode?: number | undefined;
        message?: string | undefined;
        stackTrace?: string | undefined;
    } & {
        errorCode?: number | undefined;
        message?: string | undefined;
        stackTrace?: string | undefined;
    } & { [K_1 in Exclude<keyof I_1, keyof RpcErrorInfo>]: never; }>(object: I_1): RpcErrorInfo;
};
export declare const Message: {
    encode(message: Message, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): Message;
    fromJSON(object: any): Message;
    toJSON(message: Message): unknown;
    create<I extends {
        header?: {
            sender?: string | undefined;
            contentType?: ContentType | undefined;
            rpcHeader?: {
                correlationId?: string | undefined;
                endPoint?: string | undefined;
                frameType?: RpcFrameType | undefined;
                errorInfo?: {
                    errorCode?: number | undefined;
                    message?: string | undefined;
                    stackTrace?: string | undefined;
                } | undefined;
            } | undefined;
            senderSequence?: number | undefined;
            extraHeaders?: {
                key?: string | undefined;
                val?: string | undefined;
            }[] | undefined;
        } | undefined;
        senderEnvelope?: {
            created?: number | undefined;
        } | undefined;
        serverEnvelope?: {
            sequence?: number | undefined;
            created?: number | undefined;
            channel?: string | undefined;
            subscriptionId?: string | undefined;
        } | undefined;
        data?: Uint8Array | undefined;
    } & {
        header?: ({
            sender?: string | undefined;
            contentType?: ContentType | undefined;
            rpcHeader?: {
                correlationId?: string | undefined;
                endPoint?: string | undefined;
                frameType?: RpcFrameType | undefined;
                errorInfo?: {
                    errorCode?: number | undefined;
                    message?: string | undefined;
                    stackTrace?: string | undefined;
                } | undefined;
            } | undefined;
            senderSequence?: number | undefined;
            extraHeaders?: {
                key?: string | undefined;
                val?: string | undefined;
            }[] | undefined;
        } & {
            sender?: string | undefined;
            contentType?: ContentType | undefined;
            rpcHeader?: ({
                correlationId?: string | undefined;
                endPoint?: string | undefined;
                frameType?: RpcFrameType | undefined;
                errorInfo?: {
                    errorCode?: number | undefined;
                    message?: string | undefined;
                    stackTrace?: string | undefined;
                } | undefined;
            } & {
                correlationId?: string | undefined;
                endPoint?: string | undefined;
                frameType?: RpcFrameType | undefined;
                errorInfo?: ({
                    errorCode?: number | undefined;
                    message?: string | undefined;
                    stackTrace?: string | undefined;
                } & {
                    errorCode?: number | undefined;
                    message?: string | undefined;
                    stackTrace?: string | undefined;
                } & { [K in Exclude<keyof I["header"]["rpcHeader"]["errorInfo"], keyof RpcErrorInfo>]: never; }) | undefined;
            } & { [K_1 in Exclude<keyof I["header"]["rpcHeader"], keyof RpcHeader>]: never; }) | undefined;
            senderSequence?: number | undefined;
            extraHeaders?: ({
                key?: string | undefined;
                val?: string | undefined;
            }[] & ({
                key?: string | undefined;
                val?: string | undefined;
            } & {
                key?: string | undefined;
                val?: string | undefined;
            } & { [K_2 in Exclude<keyof I["header"]["extraHeaders"][number], keyof KeyValPair>]: never; })[] & { [K_3 in Exclude<keyof I["header"]["extraHeaders"], keyof {
                key?: string | undefined;
                val?: string | undefined;
            }[]>]: never; }) | undefined;
        } & { [K_4 in Exclude<keyof I["header"], keyof MessageHeader>]: never; }) | undefined;
        senderEnvelope?: ({
            created?: number | undefined;
        } & {
            created?: number | undefined;
        } & { [K_5 in Exclude<keyof I["senderEnvelope"], "created">]: never; }) | undefined;
        serverEnvelope?: ({
            sequence?: number | undefined;
            created?: number | undefined;
            channel?: string | undefined;
            subscriptionId?: string | undefined;
        } & {
            sequence?: number | undefined;
            created?: number | undefined;
            channel?: string | undefined;
            subscriptionId?: string | undefined;
        } & { [K_6 in Exclude<keyof I["serverEnvelope"], keyof ServerEnvelope>]: never; }) | undefined;
        data?: Uint8Array | undefined;
    } & { [K_7 in Exclude<keyof I, keyof Message>]: never; }>(base?: I): Message;
    fromPartial<I_1 extends {
        header?: {
            sender?: string | undefined;
            contentType?: ContentType | undefined;
            rpcHeader?: {
                correlationId?: string | undefined;
                endPoint?: string | undefined;
                frameType?: RpcFrameType | undefined;
                errorInfo?: {
                    errorCode?: number | undefined;
                    message?: string | undefined;
                    stackTrace?: string | undefined;
                } | undefined;
            } | undefined;
            senderSequence?: number | undefined;
            extraHeaders?: {
                key?: string | undefined;
                val?: string | undefined;
            }[] | undefined;
        } | undefined;
        senderEnvelope?: {
            created?: number | undefined;
        } | undefined;
        serverEnvelope?: {
            sequence?: number | undefined;
            created?: number | undefined;
            channel?: string | undefined;
            subscriptionId?: string | undefined;
        } | undefined;
        data?: Uint8Array | undefined;
    } & {
        header?: ({
            sender?: string | undefined;
            contentType?: ContentType | undefined;
            rpcHeader?: {
                correlationId?: string | undefined;
                endPoint?: string | undefined;
                frameType?: RpcFrameType | undefined;
                errorInfo?: {
                    errorCode?: number | undefined;
                    message?: string | undefined;
                    stackTrace?: string | undefined;
                } | undefined;
            } | undefined;
            senderSequence?: number | undefined;
            extraHeaders?: {
                key?: string | undefined;
                val?: string | undefined;
            }[] | undefined;
        } & {
            sender?: string | undefined;
            contentType?: ContentType | undefined;
            rpcHeader?: ({
                correlationId?: string | undefined;
                endPoint?: string | undefined;
                frameType?: RpcFrameType | undefined;
                errorInfo?: {
                    errorCode?: number | undefined;
                    message?: string | undefined;
                    stackTrace?: string | undefined;
                } | undefined;
            } & {
                correlationId?: string | undefined;
                endPoint?: string | undefined;
                frameType?: RpcFrameType | undefined;
                errorInfo?: ({
                    errorCode?: number | undefined;
                    message?: string | undefined;
                    stackTrace?: string | undefined;
                } & {
                    errorCode?: number | undefined;
                    message?: string | undefined;
                    stackTrace?: string | undefined;
                } & { [K_8 in Exclude<keyof I_1["header"]["rpcHeader"]["errorInfo"], keyof RpcErrorInfo>]: never; }) | undefined;
            } & { [K_9 in Exclude<keyof I_1["header"]["rpcHeader"], keyof RpcHeader>]: never; }) | undefined;
            senderSequence?: number | undefined;
            extraHeaders?: ({
                key?: string | undefined;
                val?: string | undefined;
            }[] & ({
                key?: string | undefined;
                val?: string | undefined;
            } & {
                key?: string | undefined;
                val?: string | undefined;
            } & { [K_10 in Exclude<keyof I_1["header"]["extraHeaders"][number], keyof KeyValPair>]: never; })[] & { [K_11 in Exclude<keyof I_1["header"]["extraHeaders"], keyof {
                key?: string | undefined;
                val?: string | undefined;
            }[]>]: never; }) | undefined;
        } & { [K_12 in Exclude<keyof I_1["header"], keyof MessageHeader>]: never; }) | undefined;
        senderEnvelope?: ({
            created?: number | undefined;
        } & {
            created?: number | undefined;
        } & { [K_13 in Exclude<keyof I_1["senderEnvelope"], "created">]: never; }) | undefined;
        serverEnvelope?: ({
            sequence?: number | undefined;
            created?: number | undefined;
            channel?: string | undefined;
            subscriptionId?: string | undefined;
        } & {
            sequence?: number | undefined;
            created?: number | undefined;
            channel?: string | undefined;
            subscriptionId?: string | undefined;
        } & { [K_14 in Exclude<keyof I_1["serverEnvelope"], keyof ServerEnvelope>]: never; }) | undefined;
        data?: Uint8Array | undefined;
    } & { [K_15 in Exclude<keyof I_1, keyof Message>]: never; }>(object: I_1): Message;
};
export declare const MessageEnvelope: {
    encode(message: MessageEnvelope, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): MessageEnvelope;
    fromJSON(object: any): MessageEnvelope;
    toJSON(message: MessageEnvelope): unknown;
    create<I extends {
        messageBytes?: Uint8Array | undefined;
        serverEnvelope?: {
            sequence?: number | undefined;
            created?: number | undefined;
            channel?: string | undefined;
            subscriptionId?: string | undefined;
        } | undefined;
    } & {
        messageBytes?: Uint8Array | undefined;
        serverEnvelope?: ({
            sequence?: number | undefined;
            created?: number | undefined;
            channel?: string | undefined;
            subscriptionId?: string | undefined;
        } & {
            sequence?: number | undefined;
            created?: number | undefined;
            channel?: string | undefined;
            subscriptionId?: string | undefined;
        } & { [K in Exclude<keyof I["serverEnvelope"], keyof ServerEnvelope>]: never; }) | undefined;
    } & { [K_1 in Exclude<keyof I, keyof MessageEnvelope>]: never; }>(base?: I): MessageEnvelope;
    fromPartial<I_1 extends {
        messageBytes?: Uint8Array | undefined;
        serverEnvelope?: {
            sequence?: number | undefined;
            created?: number | undefined;
            channel?: string | undefined;
            subscriptionId?: string | undefined;
        } | undefined;
    } & {
        messageBytes?: Uint8Array | undefined;
        serverEnvelope?: ({
            sequence?: number | undefined;
            created?: number | undefined;
            channel?: string | undefined;
            subscriptionId?: string | undefined;
        } & {
            sequence?: number | undefined;
            created?: number | undefined;
            channel?: string | undefined;
            subscriptionId?: string | undefined;
        } & { [K_2 in Exclude<keyof I_1["serverEnvelope"], keyof ServerEnvelope>]: never; }) | undefined;
    } & { [K_3 in Exclude<keyof I_1, keyof MessageEnvelope>]: never; }>(object: I_1): MessageEnvelope;
};
export declare const SendMessageRequest: {
    encode(message: SendMessageRequest, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): SendMessageRequest;
    fromJSON(object: any): SendMessageRequest;
    toJSON(message: SendMessageRequest): unknown;
    create<I extends {
        to?: string[] | undefined;
        message?: {
            header?: {
                sender?: string | undefined;
                contentType?: ContentType | undefined;
                rpcHeader?: {
                    correlationId?: string | undefined;
                    endPoint?: string | undefined;
                    frameType?: RpcFrameType | undefined;
                    errorInfo?: {
                        errorCode?: number | undefined;
                        message?: string | undefined;
                        stackTrace?: string | undefined;
                    } | undefined;
                } | undefined;
                senderSequence?: number | undefined;
                extraHeaders?: {
                    key?: string | undefined;
                    val?: string | undefined;
                }[] | undefined;
            } | undefined;
            senderEnvelope?: {
                created?: number | undefined;
            } | undefined;
            serverEnvelope?: {
                sequence?: number | undefined;
                created?: number | undefined;
                channel?: string | undefined;
                subscriptionId?: string | undefined;
            } | undefined;
            data?: Uint8Array | undefined;
        } | undefined;
        channel?: string | undefined;
        idempotentId?: string | undefined;
    } & {
        to?: (string[] & string[] & { [K in Exclude<keyof I["to"], keyof string[]>]: never; }) | undefined;
        message?: ({
            header?: {
                sender?: string | undefined;
                contentType?: ContentType | undefined;
                rpcHeader?: {
                    correlationId?: string | undefined;
                    endPoint?: string | undefined;
                    frameType?: RpcFrameType | undefined;
                    errorInfo?: {
                        errorCode?: number | undefined;
                        message?: string | undefined;
                        stackTrace?: string | undefined;
                    } | undefined;
                } | undefined;
                senderSequence?: number | undefined;
                extraHeaders?: {
                    key?: string | undefined;
                    val?: string | undefined;
                }[] | undefined;
            } | undefined;
            senderEnvelope?: {
                created?: number | undefined;
            } | undefined;
            serverEnvelope?: {
                sequence?: number | undefined;
                created?: number | undefined;
                channel?: string | undefined;
                subscriptionId?: string | undefined;
            } | undefined;
            data?: Uint8Array | undefined;
        } & {
            header?: ({
                sender?: string | undefined;
                contentType?: ContentType | undefined;
                rpcHeader?: {
                    correlationId?: string | undefined;
                    endPoint?: string | undefined;
                    frameType?: RpcFrameType | undefined;
                    errorInfo?: {
                        errorCode?: number | undefined;
                        message?: string | undefined;
                        stackTrace?: string | undefined;
                    } | undefined;
                } | undefined;
                senderSequence?: number | undefined;
                extraHeaders?: {
                    key?: string | undefined;
                    val?: string | undefined;
                }[] | undefined;
            } & {
                sender?: string | undefined;
                contentType?: ContentType | undefined;
                rpcHeader?: ({
                    correlationId?: string | undefined;
                    endPoint?: string | undefined;
                    frameType?: RpcFrameType | undefined;
                    errorInfo?: {
                        errorCode?: number | undefined;
                        message?: string | undefined;
                        stackTrace?: string | undefined;
                    } | undefined;
                } & {
                    correlationId?: string | undefined;
                    endPoint?: string | undefined;
                    frameType?: RpcFrameType | undefined;
                    errorInfo?: ({
                        errorCode?: number | undefined;
                        message?: string | undefined;
                        stackTrace?: string | undefined;
                    } & {
                        errorCode?: number | undefined;
                        message?: string | undefined;
                        stackTrace?: string | undefined;
                    } & { [K_1 in Exclude<keyof I["message"]["header"]["rpcHeader"]["errorInfo"], keyof RpcErrorInfo>]: never; }) | undefined;
                } & { [K_2 in Exclude<keyof I["message"]["header"]["rpcHeader"], keyof RpcHeader>]: never; }) | undefined;
                senderSequence?: number | undefined;
                extraHeaders?: ({
                    key?: string | undefined;
                    val?: string | undefined;
                }[] & ({
                    key?: string | undefined;
                    val?: string | undefined;
                } & {
                    key?: string | undefined;
                    val?: string | undefined;
                } & { [K_3 in Exclude<keyof I["message"]["header"]["extraHeaders"][number], keyof KeyValPair>]: never; })[] & { [K_4 in Exclude<keyof I["message"]["header"]["extraHeaders"], keyof {
                    key?: string | undefined;
                    val?: string | undefined;
                }[]>]: never; }) | undefined;
            } & { [K_5 in Exclude<keyof I["message"]["header"], keyof MessageHeader>]: never; }) | undefined;
            senderEnvelope?: ({
                created?: number | undefined;
            } & {
                created?: number | undefined;
            } & { [K_6 in Exclude<keyof I["message"]["senderEnvelope"], "created">]: never; }) | undefined;
            serverEnvelope?: ({
                sequence?: number | undefined;
                created?: number | undefined;
                channel?: string | undefined;
                subscriptionId?: string | undefined;
            } & {
                sequence?: number | undefined;
                created?: number | undefined;
                channel?: string | undefined;
                subscriptionId?: string | undefined;
            } & { [K_7 in Exclude<keyof I["message"]["serverEnvelope"], keyof ServerEnvelope>]: never; }) | undefined;
            data?: Uint8Array | undefined;
        } & { [K_8 in Exclude<keyof I["message"], keyof Message>]: never; }) | undefined;
        channel?: string | undefined;
        idempotentId?: string | undefined;
    } & { [K_9 in Exclude<keyof I, keyof SendMessageRequest>]: never; }>(base?: I): SendMessageRequest;
    fromPartial<I_1 extends {
        to?: string[] | undefined;
        message?: {
            header?: {
                sender?: string | undefined;
                contentType?: ContentType | undefined;
                rpcHeader?: {
                    correlationId?: string | undefined;
                    endPoint?: string | undefined;
                    frameType?: RpcFrameType | undefined;
                    errorInfo?: {
                        errorCode?: number | undefined;
                        message?: string | undefined;
                        stackTrace?: string | undefined;
                    } | undefined;
                } | undefined;
                senderSequence?: number | undefined;
                extraHeaders?: {
                    key?: string | undefined;
                    val?: string | undefined;
                }[] | undefined;
            } | undefined;
            senderEnvelope?: {
                created?: number | undefined;
            } | undefined;
            serverEnvelope?: {
                sequence?: number | undefined;
                created?: number | undefined;
                channel?: string | undefined;
                subscriptionId?: string | undefined;
            } | undefined;
            data?: Uint8Array | undefined;
        } | undefined;
        channel?: string | undefined;
        idempotentId?: string | undefined;
    } & {
        to?: (string[] & string[] & { [K_10 in Exclude<keyof I_1["to"], keyof string[]>]: never; }) | undefined;
        message?: ({
            header?: {
                sender?: string | undefined;
                contentType?: ContentType | undefined;
                rpcHeader?: {
                    correlationId?: string | undefined;
                    endPoint?: string | undefined;
                    frameType?: RpcFrameType | undefined;
                    errorInfo?: {
                        errorCode?: number | undefined;
                        message?: string | undefined;
                        stackTrace?: string | undefined;
                    } | undefined;
                } | undefined;
                senderSequence?: number | undefined;
                extraHeaders?: {
                    key?: string | undefined;
                    val?: string | undefined;
                }[] | undefined;
            } | undefined;
            senderEnvelope?: {
                created?: number | undefined;
            } | undefined;
            serverEnvelope?: {
                sequence?: number | undefined;
                created?: number | undefined;
                channel?: string | undefined;
                subscriptionId?: string | undefined;
            } | undefined;
            data?: Uint8Array | undefined;
        } & {
            header?: ({
                sender?: string | undefined;
                contentType?: ContentType | undefined;
                rpcHeader?: {
                    correlationId?: string | undefined;
                    endPoint?: string | undefined;
                    frameType?: RpcFrameType | undefined;
                    errorInfo?: {
                        errorCode?: number | undefined;
                        message?: string | undefined;
                        stackTrace?: string | undefined;
                    } | undefined;
                } | undefined;
                senderSequence?: number | undefined;
                extraHeaders?: {
                    key?: string | undefined;
                    val?: string | undefined;
                }[] | undefined;
            } & {
                sender?: string | undefined;
                contentType?: ContentType | undefined;
                rpcHeader?: ({
                    correlationId?: string | undefined;
                    endPoint?: string | undefined;
                    frameType?: RpcFrameType | undefined;
                    errorInfo?: {
                        errorCode?: number | undefined;
                        message?: string | undefined;
                        stackTrace?: string | undefined;
                    } | undefined;
                } & {
                    correlationId?: string | undefined;
                    endPoint?: string | undefined;
                    frameType?: RpcFrameType | undefined;
                    errorInfo?: ({
                        errorCode?: number | undefined;
                        message?: string | undefined;
                        stackTrace?: string | undefined;
                    } & {
                        errorCode?: number | undefined;
                        message?: string | undefined;
                        stackTrace?: string | undefined;
                    } & { [K_11 in Exclude<keyof I_1["message"]["header"]["rpcHeader"]["errorInfo"], keyof RpcErrorInfo>]: never; }) | undefined;
                } & { [K_12 in Exclude<keyof I_1["message"]["header"]["rpcHeader"], keyof RpcHeader>]: never; }) | undefined;
                senderSequence?: number | undefined;
                extraHeaders?: ({
                    key?: string | undefined;
                    val?: string | undefined;
                }[] & ({
                    key?: string | undefined;
                    val?: string | undefined;
                } & {
                    key?: string | undefined;
                    val?: string | undefined;
                } & { [K_13 in Exclude<keyof I_1["message"]["header"]["extraHeaders"][number], keyof KeyValPair>]: never; })[] & { [K_14 in Exclude<keyof I_1["message"]["header"]["extraHeaders"], keyof {
                    key?: string | undefined;
                    val?: string | undefined;
                }[]>]: never; }) | undefined;
            } & { [K_15 in Exclude<keyof I_1["message"]["header"], keyof MessageHeader>]: never; }) | undefined;
            senderEnvelope?: ({
                created?: number | undefined;
            } & {
                created?: number | undefined;
            } & { [K_16 in Exclude<keyof I_1["message"]["senderEnvelope"], "created">]: never; }) | undefined;
            serverEnvelope?: ({
                sequence?: number | undefined;
                created?: number | undefined;
                channel?: string | undefined;
                subscriptionId?: string | undefined;
            } & {
                sequence?: number | undefined;
                created?: number | undefined;
                channel?: string | undefined;
                subscriptionId?: string | undefined;
            } & { [K_17 in Exclude<keyof I_1["message"]["serverEnvelope"], keyof ServerEnvelope>]: never; }) | undefined;
            data?: Uint8Array | undefined;
        } & { [K_18 in Exclude<keyof I_1["message"], keyof Message>]: never; }) | undefined;
        channel?: string | undefined;
        idempotentId?: string | undefined;
    } & { [K_19 in Exclude<keyof I_1, keyof SendMessageRequest>]: never; }>(object: I_1): SendMessageRequest;
};
export declare const SendMessageResponse: {
    encode(message: SendMessageResponse, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): SendMessageResponse;
    fromJSON(object: any): SendMessageResponse;
    toJSON(message: SendMessageResponse): unknown;
    create<I extends {
        errors?: {
            message?: string | undefined;
            to?: string | undefined;
        }[] | undefined;
        duplicates?: string[] | undefined;
        idempotentId?: string | undefined;
        correlationId?: string | undefined;
    } & {
        errors?: ({
            message?: string | undefined;
            to?: string | undefined;
        }[] & ({
            message?: string | undefined;
            to?: string | undefined;
        } & {
            message?: string | undefined;
            to?: string | undefined;
        } & { [K in Exclude<keyof I["errors"][number], keyof SendMessageError>]: never; })[] & { [K_1 in Exclude<keyof I["errors"], keyof {
            message?: string | undefined;
            to?: string | undefined;
        }[]>]: never; }) | undefined;
        duplicates?: (string[] & string[] & { [K_2 in Exclude<keyof I["duplicates"], keyof string[]>]: never; }) | undefined;
        idempotentId?: string | undefined;
        correlationId?: string | undefined;
    } & { [K_3 in Exclude<keyof I, keyof SendMessageResponse>]: never; }>(base?: I): SendMessageResponse;
    fromPartial<I_1 extends {
        errors?: {
            message?: string | undefined;
            to?: string | undefined;
        }[] | undefined;
        duplicates?: string[] | undefined;
        idempotentId?: string | undefined;
        correlationId?: string | undefined;
    } & {
        errors?: ({
            message?: string | undefined;
            to?: string | undefined;
        }[] & ({
            message?: string | undefined;
            to?: string | undefined;
        } & {
            message?: string | undefined;
            to?: string | undefined;
        } & { [K_4 in Exclude<keyof I_1["errors"][number], keyof SendMessageError>]: never; })[] & { [K_5 in Exclude<keyof I_1["errors"], keyof {
            message?: string | undefined;
            to?: string | undefined;
        }[]>]: never; }) | undefined;
        duplicates?: (string[] & string[] & { [K_6 in Exclude<keyof I_1["duplicates"], keyof string[]>]: never; }) | undefined;
        idempotentId?: string | undefined;
        correlationId?: string | undefined;
    } & { [K_7 in Exclude<keyof I_1, keyof SendMessageResponse>]: never; }>(object: I_1): SendMessageResponse;
};
export declare const SendReceipt: {
    encode(message: SendReceipt, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): SendReceipt;
    fromJSON(object: any): SendReceipt;
    toJSON(message: SendReceipt): unknown;
    create<I extends {
        request?: {
            to?: string[] | undefined;
            message?: {
                header?: {
                    sender?: string | undefined;
                    contentType?: ContentType | undefined;
                    rpcHeader?: {
                        correlationId?: string | undefined;
                        endPoint?: string | undefined;
                        frameType?: RpcFrameType | undefined;
                        errorInfo?: {
                            errorCode?: number | undefined;
                            message?: string | undefined;
                            stackTrace?: string | undefined;
                        } | undefined;
                    } | undefined;
                    senderSequence?: number | undefined;
                    extraHeaders?: {
                        key?: string | undefined;
                        val?: string | undefined;
                    }[] | undefined;
                } | undefined;
                senderEnvelope?: {
                    created?: number | undefined;
                } | undefined;
                serverEnvelope?: {
                    sequence?: number | undefined;
                    created?: number | undefined;
                    channel?: string | undefined;
                    subscriptionId?: string | undefined;
                } | undefined;
                data?: Uint8Array | undefined;
            } | undefined;
            channel?: string | undefined;
            idempotentId?: string | undefined;
        } | undefined;
        response?: {
            errors?: {
                message?: string | undefined;
                to?: string | undefined;
            }[] | undefined;
            duplicates?: string[] | undefined;
            idempotentId?: string | undefined;
            correlationId?: string | undefined;
        } | undefined;
        serverEnvelope?: {
            sequence?: number | undefined;
            created?: number | undefined;
            channel?: string | undefined;
            subscriptionId?: string | undefined;
        } | undefined;
    } & {
        request?: ({
            to?: string[] | undefined;
            message?: {
                header?: {
                    sender?: string | undefined;
                    contentType?: ContentType | undefined;
                    rpcHeader?: {
                        correlationId?: string | undefined;
                        endPoint?: string | undefined;
                        frameType?: RpcFrameType | undefined;
                        errorInfo?: {
                            errorCode?: number | undefined;
                            message?: string | undefined;
                            stackTrace?: string | undefined;
                        } | undefined;
                    } | undefined;
                    senderSequence?: number | undefined;
                    extraHeaders?: {
                        key?: string | undefined;
                        val?: string | undefined;
                    }[] | undefined;
                } | undefined;
                senderEnvelope?: {
                    created?: number | undefined;
                } | undefined;
                serverEnvelope?: {
                    sequence?: number | undefined;
                    created?: number | undefined;
                    channel?: string | undefined;
                    subscriptionId?: string | undefined;
                } | undefined;
                data?: Uint8Array | undefined;
            } | undefined;
            channel?: string | undefined;
            idempotentId?: string | undefined;
        } & {
            to?: (string[] & string[] & { [K in Exclude<keyof I["request"]["to"], keyof string[]>]: never; }) | undefined;
            message?: ({
                header?: {
                    sender?: string | undefined;
                    contentType?: ContentType | undefined;
                    rpcHeader?: {
                        correlationId?: string | undefined;
                        endPoint?: string | undefined;
                        frameType?: RpcFrameType | undefined;
                        errorInfo?: {
                            errorCode?: number | undefined;
                            message?: string | undefined;
                            stackTrace?: string | undefined;
                        } | undefined;
                    } | undefined;
                    senderSequence?: number | undefined;
                    extraHeaders?: {
                        key?: string | undefined;
                        val?: string | undefined;
                    }[] | undefined;
                } | undefined;
                senderEnvelope?: {
                    created?: number | undefined;
                } | undefined;
                serverEnvelope?: {
                    sequence?: number | undefined;
                    created?: number | undefined;
                    channel?: string | undefined;
                    subscriptionId?: string | undefined;
                } | undefined;
                data?: Uint8Array | undefined;
            } & {
                header?: ({
                    sender?: string | undefined;
                    contentType?: ContentType | undefined;
                    rpcHeader?: {
                        correlationId?: string | undefined;
                        endPoint?: string | undefined;
                        frameType?: RpcFrameType | undefined;
                        errorInfo?: {
                            errorCode?: number | undefined;
                            message?: string | undefined;
                            stackTrace?: string | undefined;
                        } | undefined;
                    } | undefined;
                    senderSequence?: number | undefined;
                    extraHeaders?: {
                        key?: string | undefined;
                        val?: string | undefined;
                    }[] | undefined;
                } & {
                    sender?: string | undefined;
                    contentType?: ContentType | undefined;
                    rpcHeader?: ({
                        correlationId?: string | undefined;
                        endPoint?: string | undefined;
                        frameType?: RpcFrameType | undefined;
                        errorInfo?: {
                            errorCode?: number | undefined;
                            message?: string | undefined;
                            stackTrace?: string | undefined;
                        } | undefined;
                    } & {
                        correlationId?: string | undefined;
                        endPoint?: string | undefined;
                        frameType?: RpcFrameType | undefined;
                        errorInfo?: ({
                            errorCode?: number | undefined;
                            message?: string | undefined;
                            stackTrace?: string | undefined;
                        } & {
                            errorCode?: number | undefined;
                            message?: string | undefined;
                            stackTrace?: string | undefined;
                        } & { [K_1 in Exclude<keyof I["request"]["message"]["header"]["rpcHeader"]["errorInfo"], keyof RpcErrorInfo>]: never; }) | undefined;
                    } & { [K_2 in Exclude<keyof I["request"]["message"]["header"]["rpcHeader"], keyof RpcHeader>]: never; }) | undefined;
                    senderSequence?: number | undefined;
                    extraHeaders?: ({
                        key?: string | undefined;
                        val?: string | undefined;
                    }[] & ({
                        key?: string | undefined;
                        val?: string | undefined;
                    } & {
                        key?: string | undefined;
                        val?: string | undefined;
                    } & { [K_3 in Exclude<keyof I["request"]["message"]["header"]["extraHeaders"][number], keyof KeyValPair>]: never; })[] & { [K_4 in Exclude<keyof I["request"]["message"]["header"]["extraHeaders"], keyof {
                        key?: string | undefined;
                        val?: string | undefined;
                    }[]>]: never; }) | undefined;
                } & { [K_5 in Exclude<keyof I["request"]["message"]["header"], keyof MessageHeader>]: never; }) | undefined;
                senderEnvelope?: ({
                    created?: number | undefined;
                } & {
                    created?: number | undefined;
                } & { [K_6 in Exclude<keyof I["request"]["message"]["senderEnvelope"], "created">]: never; }) | undefined;
                serverEnvelope?: ({
                    sequence?: number | undefined;
                    created?: number | undefined;
                    channel?: string | undefined;
                    subscriptionId?: string | undefined;
                } & {
                    sequence?: number | undefined;
                    created?: number | undefined;
                    channel?: string | undefined;
                    subscriptionId?: string | undefined;
                } & { [K_7 in Exclude<keyof I["request"]["message"]["serverEnvelope"], keyof ServerEnvelope>]: never; }) | undefined;
                data?: Uint8Array | undefined;
            } & { [K_8 in Exclude<keyof I["request"]["message"], keyof Message>]: never; }) | undefined;
            channel?: string | undefined;
            idempotentId?: string | undefined;
        } & { [K_9 in Exclude<keyof I["request"], keyof SendMessageRequest>]: never; }) | undefined;
        response?: ({
            errors?: {
                message?: string | undefined;
                to?: string | undefined;
            }[] | undefined;
            duplicates?: string[] | undefined;
            idempotentId?: string | undefined;
            correlationId?: string | undefined;
        } & {
            errors?: ({
                message?: string | undefined;
                to?: string | undefined;
            }[] & ({
                message?: string | undefined;
                to?: string | undefined;
            } & {
                message?: string | undefined;
                to?: string | undefined;
            } & { [K_10 in Exclude<keyof I["response"]["errors"][number], keyof SendMessageError>]: never; })[] & { [K_11 in Exclude<keyof I["response"]["errors"], keyof {
                message?: string | undefined;
                to?: string | undefined;
            }[]>]: never; }) | undefined;
            duplicates?: (string[] & string[] & { [K_12 in Exclude<keyof I["response"]["duplicates"], keyof string[]>]: never; }) | undefined;
            idempotentId?: string | undefined;
            correlationId?: string | undefined;
        } & { [K_13 in Exclude<keyof I["response"], keyof SendMessageResponse>]: never; }) | undefined;
        serverEnvelope?: ({
            sequence?: number | undefined;
            created?: number | undefined;
            channel?: string | undefined;
            subscriptionId?: string | undefined;
        } & {
            sequence?: number | undefined;
            created?: number | undefined;
            channel?: string | undefined;
            subscriptionId?: string | undefined;
        } & { [K_14 in Exclude<keyof I["serverEnvelope"], keyof ServerEnvelope>]: never; }) | undefined;
    } & { [K_15 in Exclude<keyof I, keyof SendReceipt>]: never; }>(base?: I): SendReceipt;
    fromPartial<I_1 extends {
        request?: {
            to?: string[] | undefined;
            message?: {
                header?: {
                    sender?: string | undefined;
                    contentType?: ContentType | undefined;
                    rpcHeader?: {
                        correlationId?: string | undefined;
                        endPoint?: string | undefined;
                        frameType?: RpcFrameType | undefined;
                        errorInfo?: {
                            errorCode?: number | undefined;
                            message?: string | undefined;
                            stackTrace?: string | undefined;
                        } | undefined;
                    } | undefined;
                    senderSequence?: number | undefined;
                    extraHeaders?: {
                        key?: string | undefined;
                        val?: string | undefined;
                    }[] | undefined;
                } | undefined;
                senderEnvelope?: {
                    created?: number | undefined;
                } | undefined;
                serverEnvelope?: {
                    sequence?: number | undefined;
                    created?: number | undefined;
                    channel?: string | undefined;
                    subscriptionId?: string | undefined;
                } | undefined;
                data?: Uint8Array | undefined;
            } | undefined;
            channel?: string | undefined;
            idempotentId?: string | undefined;
        } | undefined;
        response?: {
            errors?: {
                message?: string | undefined;
                to?: string | undefined;
            }[] | undefined;
            duplicates?: string[] | undefined;
            idempotentId?: string | undefined;
            correlationId?: string | undefined;
        } | undefined;
        serverEnvelope?: {
            sequence?: number | undefined;
            created?: number | undefined;
            channel?: string | undefined;
            subscriptionId?: string | undefined;
        } | undefined;
    } & {
        request?: ({
            to?: string[] | undefined;
            message?: {
                header?: {
                    sender?: string | undefined;
                    contentType?: ContentType | undefined;
                    rpcHeader?: {
                        correlationId?: string | undefined;
                        endPoint?: string | undefined;
                        frameType?: RpcFrameType | undefined;
                        errorInfo?: {
                            errorCode?: number | undefined;
                            message?: string | undefined;
                            stackTrace?: string | undefined;
                        } | undefined;
                    } | undefined;
                    senderSequence?: number | undefined;
                    extraHeaders?: {
                        key?: string | undefined;
                        val?: string | undefined;
                    }[] | undefined;
                } | undefined;
                senderEnvelope?: {
                    created?: number | undefined;
                } | undefined;
                serverEnvelope?: {
                    sequence?: number | undefined;
                    created?: number | undefined;
                    channel?: string | undefined;
                    subscriptionId?: string | undefined;
                } | undefined;
                data?: Uint8Array | undefined;
            } | undefined;
            channel?: string | undefined;
            idempotentId?: string | undefined;
        } & {
            to?: (string[] & string[] & { [K_16 in Exclude<keyof I_1["request"]["to"], keyof string[]>]: never; }) | undefined;
            message?: ({
                header?: {
                    sender?: string | undefined;
                    contentType?: ContentType | undefined;
                    rpcHeader?: {
                        correlationId?: string | undefined;
                        endPoint?: string | undefined;
                        frameType?: RpcFrameType | undefined;
                        errorInfo?: {
                            errorCode?: number | undefined;
                            message?: string | undefined;
                            stackTrace?: string | undefined;
                        } | undefined;
                    } | undefined;
                    senderSequence?: number | undefined;
                    extraHeaders?: {
                        key?: string | undefined;
                        val?: string | undefined;
                    }[] | undefined;
                } | undefined;
                senderEnvelope?: {
                    created?: number | undefined;
                } | undefined;
                serverEnvelope?: {
                    sequence?: number | undefined;
                    created?: number | undefined;
                    channel?: string | undefined;
                    subscriptionId?: string | undefined;
                } | undefined;
                data?: Uint8Array | undefined;
            } & {
                header?: ({
                    sender?: string | undefined;
                    contentType?: ContentType | undefined;
                    rpcHeader?: {
                        correlationId?: string | undefined;
                        endPoint?: string | undefined;
                        frameType?: RpcFrameType | undefined;
                        errorInfo?: {
                            errorCode?: number | undefined;
                            message?: string | undefined;
                            stackTrace?: string | undefined;
                        } | undefined;
                    } | undefined;
                    senderSequence?: number | undefined;
                    extraHeaders?: {
                        key?: string | undefined;
                        val?: string | undefined;
                    }[] | undefined;
                } & {
                    sender?: string | undefined;
                    contentType?: ContentType | undefined;
                    rpcHeader?: ({
                        correlationId?: string | undefined;
                        endPoint?: string | undefined;
                        frameType?: RpcFrameType | undefined;
                        errorInfo?: {
                            errorCode?: number | undefined;
                            message?: string | undefined;
                            stackTrace?: string | undefined;
                        } | undefined;
                    } & {
                        correlationId?: string | undefined;
                        endPoint?: string | undefined;
                        frameType?: RpcFrameType | undefined;
                        errorInfo?: ({
                            errorCode?: number | undefined;
                            message?: string | undefined;
                            stackTrace?: string | undefined;
                        } & {
                            errorCode?: number | undefined;
                            message?: string | undefined;
                            stackTrace?: string | undefined;
                        } & { [K_17 in Exclude<keyof I_1["request"]["message"]["header"]["rpcHeader"]["errorInfo"], keyof RpcErrorInfo>]: never; }) | undefined;
                    } & { [K_18 in Exclude<keyof I_1["request"]["message"]["header"]["rpcHeader"], keyof RpcHeader>]: never; }) | undefined;
                    senderSequence?: number | undefined;
                    extraHeaders?: ({
                        key?: string | undefined;
                        val?: string | undefined;
                    }[] & ({
                        key?: string | undefined;
                        val?: string | undefined;
                    } & {
                        key?: string | undefined;
                        val?: string | undefined;
                    } & { [K_19 in Exclude<keyof I_1["request"]["message"]["header"]["extraHeaders"][number], keyof KeyValPair>]: never; })[] & { [K_20 in Exclude<keyof I_1["request"]["message"]["header"]["extraHeaders"], keyof {
                        key?: string | undefined;
                        val?: string | undefined;
                    }[]>]: never; }) | undefined;
                } & { [K_21 in Exclude<keyof I_1["request"]["message"]["header"], keyof MessageHeader>]: never; }) | undefined;
                senderEnvelope?: ({
                    created?: number | undefined;
                } & {
                    created?: number | undefined;
                } & { [K_22 in Exclude<keyof I_1["request"]["message"]["senderEnvelope"], "created">]: never; }) | undefined;
                serverEnvelope?: ({
                    sequence?: number | undefined;
                    created?: number | undefined;
                    channel?: string | undefined;
                    subscriptionId?: string | undefined;
                } & {
                    sequence?: number | undefined;
                    created?: number | undefined;
                    channel?: string | undefined;
                    subscriptionId?: string | undefined;
                } & { [K_23 in Exclude<keyof I_1["request"]["message"]["serverEnvelope"], keyof ServerEnvelope>]: never; }) | undefined;
                data?: Uint8Array | undefined;
            } & { [K_24 in Exclude<keyof I_1["request"]["message"], keyof Message>]: never; }) | undefined;
            channel?: string | undefined;
            idempotentId?: string | undefined;
        } & { [K_25 in Exclude<keyof I_1["request"], keyof SendMessageRequest>]: never; }) | undefined;
        response?: ({
            errors?: {
                message?: string | undefined;
                to?: string | undefined;
            }[] | undefined;
            duplicates?: string[] | undefined;
            idempotentId?: string | undefined;
            correlationId?: string | undefined;
        } & {
            errors?: ({
                message?: string | undefined;
                to?: string | undefined;
            }[] & ({
                message?: string | undefined;
                to?: string | undefined;
            } & {
                message?: string | undefined;
                to?: string | undefined;
            } & { [K_26 in Exclude<keyof I_1["response"]["errors"][number], keyof SendMessageError>]: never; })[] & { [K_27 in Exclude<keyof I_1["response"]["errors"], keyof {
                message?: string | undefined;
                to?: string | undefined;
            }[]>]: never; }) | undefined;
            duplicates?: (string[] & string[] & { [K_28 in Exclude<keyof I_1["response"]["duplicates"], keyof string[]>]: never; }) | undefined;
            idempotentId?: string | undefined;
            correlationId?: string | undefined;
        } & { [K_29 in Exclude<keyof I_1["response"], keyof SendMessageResponse>]: never; }) | undefined;
        serverEnvelope?: ({
            sequence?: number | undefined;
            created?: number | undefined;
            channel?: string | undefined;
            subscriptionId?: string | undefined;
        } & {
            sequence?: number | undefined;
            created?: number | undefined;
            channel?: string | undefined;
            subscriptionId?: string | undefined;
        } & { [K_30 in Exclude<keyof I_1["serverEnvelope"], keyof ServerEnvelope>]: never; }) | undefined;
    } & { [K_31 in Exclude<keyof I_1, keyof SendReceipt>]: never; }>(object: I_1): SendReceipt;
};
export declare const SendMessageError: {
    encode(message: SendMessageError, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): SendMessageError;
    fromJSON(object: any): SendMessageError;
    toJSON(message: SendMessageError): unknown;
    create<I extends {
        message?: string | undefined;
        to?: string | undefined;
    } & {
        message?: string | undefined;
        to?: string | undefined;
    } & { [K in Exclude<keyof I, keyof SendMessageError>]: never; }>(base?: I): SendMessageError;
    fromPartial<I_1 extends {
        message?: string | undefined;
        to?: string | undefined;
    } & {
        message?: string | undefined;
        to?: string | undefined;
    } & { [K_1 in Exclude<keyof I_1, keyof SendMessageError>]: never; }>(object: I_1): SendMessageError;
};
export declare const FirstMessage: {
    encode(message: FirstMessage, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): FirstMessage;
    fromJSON(object: any): FirstMessage;
    toJSON(message: FirstMessage): unknown;
    create<I extends {
        senderInfo?: {
            readerKey?: string | undefined;
            address?: string | undefined;
        } | undefined;
        mailboxTimeoutInMs?: number | undefined;
        subscriptions?: {
            mailbox?: {
                id?: string | undefined;
                state?: string | undefined;
                readerKey?: string | undefined;
                channel?: string | undefined;
                startSeq?: string | undefined;
            } | undefined;
            nefario?: {
                id?: string | undefined;
                state?: string | undefined;
                processUid?: string | undefined;
                channel?: string | undefined;
                startSeq?: string | undefined;
            } | undefined;
            changeDataCapture?: {
                id?: string | undefined;
                state?: string | undefined;
                matchers?: {
                    database?: string | undefined;
                    table?: string | undefined;
                    primaryKeys?: any[] | undefined;
                }[] | undefined;
                startSeq?: string | undefined;
            } | undefined;
            unsubscribe?: {
                id?: string | undefined;
            } | undefined;
        }[] | undefined;
    } & {
        senderInfo?: ({
            readerKey?: string | undefined;
            address?: string | undefined;
        } & {
            readerKey?: string | undefined;
            address?: string | undefined;
        } & { [K in Exclude<keyof I["senderInfo"], keyof SenderInfo>]: never; }) | undefined;
        mailboxTimeoutInMs?: number | undefined;
        subscriptions?: ({
            mailbox?: {
                id?: string | undefined;
                state?: string | undefined;
                readerKey?: string | undefined;
                channel?: string | undefined;
                startSeq?: string | undefined;
            } | undefined;
            nefario?: {
                id?: string | undefined;
                state?: string | undefined;
                processUid?: string | undefined;
                channel?: string | undefined;
                startSeq?: string | undefined;
            } | undefined;
            changeDataCapture?: {
                id?: string | undefined;
                state?: string | undefined;
                matchers?: {
                    database?: string | undefined;
                    table?: string | undefined;
                    primaryKeys?: any[] | undefined;
                }[] | undefined;
                startSeq?: string | undefined;
            } | undefined;
            unsubscribe?: {
                id?: string | undefined;
            } | undefined;
        }[] & ({
            mailbox?: {
                id?: string | undefined;
                state?: string | undefined;
                readerKey?: string | undefined;
                channel?: string | undefined;
                startSeq?: string | undefined;
            } | undefined;
            nefario?: {
                id?: string | undefined;
                state?: string | undefined;
                processUid?: string | undefined;
                channel?: string | undefined;
                startSeq?: string | undefined;
            } | undefined;
            changeDataCapture?: {
                id?: string | undefined;
                state?: string | undefined;
                matchers?: {
                    database?: string | undefined;
                    table?: string | undefined;
                    primaryKeys?: any[] | undefined;
                }[] | undefined;
                startSeq?: string | undefined;
            } | undefined;
            unsubscribe?: {
                id?: string | undefined;
            } | undefined;
        } & {
            mailbox?: ({
                id?: string | undefined;
                state?: string | undefined;
                readerKey?: string | undefined;
                channel?: string | undefined;
                startSeq?: string | undefined;
            } & {
                id?: string | undefined;
                state?: string | undefined;
                readerKey?: string | undefined;
                channel?: string | undefined;
                startSeq?: string | undefined;
            } & { [K_1 in Exclude<keyof I["subscriptions"][number]["mailbox"], keyof MailboxSubscription>]: never; }) | undefined;
            nefario?: ({
                id?: string | undefined;
                state?: string | undefined;
                processUid?: string | undefined;
                channel?: string | undefined;
                startSeq?: string | undefined;
            } & {
                id?: string | undefined;
                state?: string | undefined;
                processUid?: string | undefined;
                channel?: string | undefined;
                startSeq?: string | undefined;
            } & { [K_2 in Exclude<keyof I["subscriptions"][number]["nefario"], keyof NefarioSubscription>]: never; }) | undefined;
            changeDataCapture?: ({
                id?: string | undefined;
                state?: string | undefined;
                matchers?: {
                    database?: string | undefined;
                    table?: string | undefined;
                    primaryKeys?: any[] | undefined;
                }[] | undefined;
                startSeq?: string | undefined;
            } & {
                id?: string | undefined;
                state?: string | undefined;
                matchers?: ({
                    database?: string | undefined;
                    table?: string | undefined;
                    primaryKeys?: any[] | undefined;
                }[] & ({
                    database?: string | undefined;
                    table?: string | undefined;
                    primaryKeys?: any[] | undefined;
                } & {
                    database?: string | undefined;
                    table?: string | undefined;
                    primaryKeys?: (any[] & any[] & { [K_3 in Exclude<keyof I["subscriptions"][number]["changeDataCapture"]["matchers"][number]["primaryKeys"], keyof any[]>]: never; }) | undefined;
                } & { [K_4 in Exclude<keyof I["subscriptions"][number]["changeDataCapture"]["matchers"][number], keyof RecordMatcher>]: never; })[] & { [K_5 in Exclude<keyof I["subscriptions"][number]["changeDataCapture"]["matchers"], keyof {
                    database?: string | undefined;
                    table?: string | undefined;
                    primaryKeys?: any[] | undefined;
                }[]>]: never; }) | undefined;
                startSeq?: string | undefined;
            } & { [K_6 in Exclude<keyof I["subscriptions"][number]["changeDataCapture"], keyof ChangeDataCaptureSubscription>]: never; }) | undefined;
            unsubscribe?: ({
                id?: string | undefined;
            } & {
                id?: string | undefined;
            } & { [K_7 in Exclude<keyof I["subscriptions"][number]["unsubscribe"], "id">]: never; }) | undefined;
        } & { [K_8 in Exclude<keyof I["subscriptions"][number], keyof Subscription>]: never; })[] & { [K_9 in Exclude<keyof I["subscriptions"], keyof {
            mailbox?: {
                id?: string | undefined;
                state?: string | undefined;
                readerKey?: string | undefined;
                channel?: string | undefined;
                startSeq?: string | undefined;
            } | undefined;
            nefario?: {
                id?: string | undefined;
                state?: string | undefined;
                processUid?: string | undefined;
                channel?: string | undefined;
                startSeq?: string | undefined;
            } | undefined;
            changeDataCapture?: {
                id?: string | undefined;
                state?: string | undefined;
                matchers?: {
                    database?: string | undefined;
                    table?: string | undefined;
                    primaryKeys?: any[] | undefined;
                }[] | undefined;
                startSeq?: string | undefined;
            } | undefined;
            unsubscribe?: {
                id?: string | undefined;
            } | undefined;
        }[]>]: never; }) | undefined;
    } & { [K_10 in Exclude<keyof I, keyof FirstMessage>]: never; }>(base?: I): FirstMessage;
    fromPartial<I_1 extends {
        senderInfo?: {
            readerKey?: string | undefined;
            address?: string | undefined;
        } | undefined;
        mailboxTimeoutInMs?: number | undefined;
        subscriptions?: {
            mailbox?: {
                id?: string | undefined;
                state?: string | undefined;
                readerKey?: string | undefined;
                channel?: string | undefined;
                startSeq?: string | undefined;
            } | undefined;
            nefario?: {
                id?: string | undefined;
                state?: string | undefined;
                processUid?: string | undefined;
                channel?: string | undefined;
                startSeq?: string | undefined;
            } | undefined;
            changeDataCapture?: {
                id?: string | undefined;
                state?: string | undefined;
                matchers?: {
                    database?: string | undefined;
                    table?: string | undefined;
                    primaryKeys?: any[] | undefined;
                }[] | undefined;
                startSeq?: string | undefined;
            } | undefined;
            unsubscribe?: {
                id?: string | undefined;
            } | undefined;
        }[] | undefined;
    } & {
        senderInfo?: ({
            readerKey?: string | undefined;
            address?: string | undefined;
        } & {
            readerKey?: string | undefined;
            address?: string | undefined;
        } & { [K_11 in Exclude<keyof I_1["senderInfo"], keyof SenderInfo>]: never; }) | undefined;
        mailboxTimeoutInMs?: number | undefined;
        subscriptions?: ({
            mailbox?: {
                id?: string | undefined;
                state?: string | undefined;
                readerKey?: string | undefined;
                channel?: string | undefined;
                startSeq?: string | undefined;
            } | undefined;
            nefario?: {
                id?: string | undefined;
                state?: string | undefined;
                processUid?: string | undefined;
                channel?: string | undefined;
                startSeq?: string | undefined;
            } | undefined;
            changeDataCapture?: {
                id?: string | undefined;
                state?: string | undefined;
                matchers?: {
                    database?: string | undefined;
                    table?: string | undefined;
                    primaryKeys?: any[] | undefined;
                }[] | undefined;
                startSeq?: string | undefined;
            } | undefined;
            unsubscribe?: {
                id?: string | undefined;
            } | undefined;
        }[] & ({
            mailbox?: {
                id?: string | undefined;
                state?: string | undefined;
                readerKey?: string | undefined;
                channel?: string | undefined;
                startSeq?: string | undefined;
            } | undefined;
            nefario?: {
                id?: string | undefined;
                state?: string | undefined;
                processUid?: string | undefined;
                channel?: string | undefined;
                startSeq?: string | undefined;
            } | undefined;
            changeDataCapture?: {
                id?: string | undefined;
                state?: string | undefined;
                matchers?: {
                    database?: string | undefined;
                    table?: string | undefined;
                    primaryKeys?: any[] | undefined;
                }[] | undefined;
                startSeq?: string | undefined;
            } | undefined;
            unsubscribe?: {
                id?: string | undefined;
            } | undefined;
        } & {
            mailbox?: ({
                id?: string | undefined;
                state?: string | undefined;
                readerKey?: string | undefined;
                channel?: string | undefined;
                startSeq?: string | undefined;
            } & {
                id?: string | undefined;
                state?: string | undefined;
                readerKey?: string | undefined;
                channel?: string | undefined;
                startSeq?: string | undefined;
            } & { [K_12 in Exclude<keyof I_1["subscriptions"][number]["mailbox"], keyof MailboxSubscription>]: never; }) | undefined;
            nefario?: ({
                id?: string | undefined;
                state?: string | undefined;
                processUid?: string | undefined;
                channel?: string | undefined;
                startSeq?: string | undefined;
            } & {
                id?: string | undefined;
                state?: string | undefined;
                processUid?: string | undefined;
                channel?: string | undefined;
                startSeq?: string | undefined;
            } & { [K_13 in Exclude<keyof I_1["subscriptions"][number]["nefario"], keyof NefarioSubscription>]: never; }) | undefined;
            changeDataCapture?: ({
                id?: string | undefined;
                state?: string | undefined;
                matchers?: {
                    database?: string | undefined;
                    table?: string | undefined;
                    primaryKeys?: any[] | undefined;
                }[] | undefined;
                startSeq?: string | undefined;
            } & {
                id?: string | undefined;
                state?: string | undefined;
                matchers?: ({
                    database?: string | undefined;
                    table?: string | undefined;
                    primaryKeys?: any[] | undefined;
                }[] & ({
                    database?: string | undefined;
                    table?: string | undefined;
                    primaryKeys?: any[] | undefined;
                } & {
                    database?: string | undefined;
                    table?: string | undefined;
                    primaryKeys?: (any[] & any[] & { [K_14 in Exclude<keyof I_1["subscriptions"][number]["changeDataCapture"]["matchers"][number]["primaryKeys"], keyof any[]>]: never; }) | undefined;
                } & { [K_15 in Exclude<keyof I_1["subscriptions"][number]["changeDataCapture"]["matchers"][number], keyof RecordMatcher>]: never; })[] & { [K_16 in Exclude<keyof I_1["subscriptions"][number]["changeDataCapture"]["matchers"], keyof {
                    database?: string | undefined;
                    table?: string | undefined;
                    primaryKeys?: any[] | undefined;
                }[]>]: never; }) | undefined;
                startSeq?: string | undefined;
            } & { [K_17 in Exclude<keyof I_1["subscriptions"][number]["changeDataCapture"], keyof ChangeDataCaptureSubscription>]: never; }) | undefined;
            unsubscribe?: ({
                id?: string | undefined;
            } & {
                id?: string | undefined;
            } & { [K_18 in Exclude<keyof I_1["subscriptions"][number]["unsubscribe"], "id">]: never; }) | undefined;
        } & { [K_19 in Exclude<keyof I_1["subscriptions"][number], keyof Subscription>]: never; })[] & { [K_20 in Exclude<keyof I_1["subscriptions"], keyof {
            mailbox?: {
                id?: string | undefined;
                state?: string | undefined;
                readerKey?: string | undefined;
                channel?: string | undefined;
                startSeq?: string | undefined;
            } | undefined;
            nefario?: {
                id?: string | undefined;
                state?: string | undefined;
                processUid?: string | undefined;
                channel?: string | undefined;
                startSeq?: string | undefined;
            } | undefined;
            changeDataCapture?: {
                id?: string | undefined;
                state?: string | undefined;
                matchers?: {
                    database?: string | undefined;
                    table?: string | undefined;
                    primaryKeys?: any[] | undefined;
                }[] | undefined;
                startSeq?: string | undefined;
            } | undefined;
            unsubscribe?: {
                id?: string | undefined;
            } | undefined;
        }[]>]: never; }) | undefined;
    } & { [K_21 in Exclude<keyof I_1, keyof FirstMessage>]: never; }>(object: I_1): FirstMessage;
};
export declare const SenderInfo: {
    encode(message: SenderInfo, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): SenderInfo;
    fromJSON(object: any): SenderInfo;
    toJSON(message: SenderInfo): unknown;
    create<I extends {
        readerKey?: string | undefined;
        address?: string | undefined;
    } & {
        readerKey?: string | undefined;
        address?: string | undefined;
    } & { [K in Exclude<keyof I, keyof SenderInfo>]: never; }>(base?: I): SenderInfo;
    fromPartial<I_1 extends {
        readerKey?: string | undefined;
        address?: string | undefined;
    } & {
        readerKey?: string | undefined;
        address?: string | undefined;
    } & { [K_1 in Exclude<keyof I_1, keyof SenderInfo>]: never; }>(object: I_1): SenderInfo;
};
export declare const SubscribeRequest: {
    encode(message: SubscribeRequest, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): SubscribeRequest;
    fromJSON(object: any): SubscribeRequest;
    toJSON(message: SubscribeRequest): unknown;
    create<I extends {
        subscriptions?: {
            mailbox?: {
                id?: string | undefined;
                state?: string | undefined;
                readerKey?: string | undefined;
                channel?: string | undefined;
                startSeq?: string | undefined;
            } | undefined;
            nefario?: {
                id?: string | undefined;
                state?: string | undefined;
                processUid?: string | undefined;
                channel?: string | undefined;
                startSeq?: string | undefined;
            } | undefined;
            changeDataCapture?: {
                id?: string | undefined;
                state?: string | undefined;
                matchers?: {
                    database?: string | undefined;
                    table?: string | undefined;
                    primaryKeys?: any[] | undefined;
                }[] | undefined;
                startSeq?: string | undefined;
            } | undefined;
            unsubscribe?: {
                id?: string | undefined;
            } | undefined;
        }[] | undefined;
    } & {
        subscriptions?: ({
            mailbox?: {
                id?: string | undefined;
                state?: string | undefined;
                readerKey?: string | undefined;
                channel?: string | undefined;
                startSeq?: string | undefined;
            } | undefined;
            nefario?: {
                id?: string | undefined;
                state?: string | undefined;
                processUid?: string | undefined;
                channel?: string | undefined;
                startSeq?: string | undefined;
            } | undefined;
            changeDataCapture?: {
                id?: string | undefined;
                state?: string | undefined;
                matchers?: {
                    database?: string | undefined;
                    table?: string | undefined;
                    primaryKeys?: any[] | undefined;
                }[] | undefined;
                startSeq?: string | undefined;
            } | undefined;
            unsubscribe?: {
                id?: string | undefined;
            } | undefined;
        }[] & ({
            mailbox?: {
                id?: string | undefined;
                state?: string | undefined;
                readerKey?: string | undefined;
                channel?: string | undefined;
                startSeq?: string | undefined;
            } | undefined;
            nefario?: {
                id?: string | undefined;
                state?: string | undefined;
                processUid?: string | undefined;
                channel?: string | undefined;
                startSeq?: string | undefined;
            } | undefined;
            changeDataCapture?: {
                id?: string | undefined;
                state?: string | undefined;
                matchers?: {
                    database?: string | undefined;
                    table?: string | undefined;
                    primaryKeys?: any[] | undefined;
                }[] | undefined;
                startSeq?: string | undefined;
            } | undefined;
            unsubscribe?: {
                id?: string | undefined;
            } | undefined;
        } & {
            mailbox?: ({
                id?: string | undefined;
                state?: string | undefined;
                readerKey?: string | undefined;
                channel?: string | undefined;
                startSeq?: string | undefined;
            } & {
                id?: string | undefined;
                state?: string | undefined;
                readerKey?: string | undefined;
                channel?: string | undefined;
                startSeq?: string | undefined;
            } & { [K in Exclude<keyof I["subscriptions"][number]["mailbox"], keyof MailboxSubscription>]: never; }) | undefined;
            nefario?: ({
                id?: string | undefined;
                state?: string | undefined;
                processUid?: string | undefined;
                channel?: string | undefined;
                startSeq?: string | undefined;
            } & {
                id?: string | undefined;
                state?: string | undefined;
                processUid?: string | undefined;
                channel?: string | undefined;
                startSeq?: string | undefined;
            } & { [K_1 in Exclude<keyof I["subscriptions"][number]["nefario"], keyof NefarioSubscription>]: never; }) | undefined;
            changeDataCapture?: ({
                id?: string | undefined;
                state?: string | undefined;
                matchers?: {
                    database?: string | undefined;
                    table?: string | undefined;
                    primaryKeys?: any[] | undefined;
                }[] | undefined;
                startSeq?: string | undefined;
            } & {
                id?: string | undefined;
                state?: string | undefined;
                matchers?: ({
                    database?: string | undefined;
                    table?: string | undefined;
                    primaryKeys?: any[] | undefined;
                }[] & ({
                    database?: string | undefined;
                    table?: string | undefined;
                    primaryKeys?: any[] | undefined;
                } & {
                    database?: string | undefined;
                    table?: string | undefined;
                    primaryKeys?: (any[] & any[] & { [K_2 in Exclude<keyof I["subscriptions"][number]["changeDataCapture"]["matchers"][number]["primaryKeys"], keyof any[]>]: never; }) | undefined;
                } & { [K_3 in Exclude<keyof I["subscriptions"][number]["changeDataCapture"]["matchers"][number], keyof RecordMatcher>]: never; })[] & { [K_4 in Exclude<keyof I["subscriptions"][number]["changeDataCapture"]["matchers"], keyof {
                    database?: string | undefined;
                    table?: string | undefined;
                    primaryKeys?: any[] | undefined;
                }[]>]: never; }) | undefined;
                startSeq?: string | undefined;
            } & { [K_5 in Exclude<keyof I["subscriptions"][number]["changeDataCapture"], keyof ChangeDataCaptureSubscription>]: never; }) | undefined;
            unsubscribe?: ({
                id?: string | undefined;
            } & {
                id?: string | undefined;
            } & { [K_6 in Exclude<keyof I["subscriptions"][number]["unsubscribe"], "id">]: never; }) | undefined;
        } & { [K_7 in Exclude<keyof I["subscriptions"][number], keyof Subscription>]: never; })[] & { [K_8 in Exclude<keyof I["subscriptions"], keyof {
            mailbox?: {
                id?: string | undefined;
                state?: string | undefined;
                readerKey?: string | undefined;
                channel?: string | undefined;
                startSeq?: string | undefined;
            } | undefined;
            nefario?: {
                id?: string | undefined;
                state?: string | undefined;
                processUid?: string | undefined;
                channel?: string | undefined;
                startSeq?: string | undefined;
            } | undefined;
            changeDataCapture?: {
                id?: string | undefined;
                state?: string | undefined;
                matchers?: {
                    database?: string | undefined;
                    table?: string | undefined;
                    primaryKeys?: any[] | undefined;
                }[] | undefined;
                startSeq?: string | undefined;
            } | undefined;
            unsubscribe?: {
                id?: string | undefined;
            } | undefined;
        }[]>]: never; }) | undefined;
    } & { [K_9 in Exclude<keyof I, "subscriptions">]: never; }>(base?: I): SubscribeRequest;
    fromPartial<I_1 extends {
        subscriptions?: {
            mailbox?: {
                id?: string | undefined;
                state?: string | undefined;
                readerKey?: string | undefined;
                channel?: string | undefined;
                startSeq?: string | undefined;
            } | undefined;
            nefario?: {
                id?: string | undefined;
                state?: string | undefined;
                processUid?: string | undefined;
                channel?: string | undefined;
                startSeq?: string | undefined;
            } | undefined;
            changeDataCapture?: {
                id?: string | undefined;
                state?: string | undefined;
                matchers?: {
                    database?: string | undefined;
                    table?: string | undefined;
                    primaryKeys?: any[] | undefined;
                }[] | undefined;
                startSeq?: string | undefined;
            } | undefined;
            unsubscribe?: {
                id?: string | undefined;
            } | undefined;
        }[] | undefined;
    } & {
        subscriptions?: ({
            mailbox?: {
                id?: string | undefined;
                state?: string | undefined;
                readerKey?: string | undefined;
                channel?: string | undefined;
                startSeq?: string | undefined;
            } | undefined;
            nefario?: {
                id?: string | undefined;
                state?: string | undefined;
                processUid?: string | undefined;
                channel?: string | undefined;
                startSeq?: string | undefined;
            } | undefined;
            changeDataCapture?: {
                id?: string | undefined;
                state?: string | undefined;
                matchers?: {
                    database?: string | undefined;
                    table?: string | undefined;
                    primaryKeys?: any[] | undefined;
                }[] | undefined;
                startSeq?: string | undefined;
            } | undefined;
            unsubscribe?: {
                id?: string | undefined;
            } | undefined;
        }[] & ({
            mailbox?: {
                id?: string | undefined;
                state?: string | undefined;
                readerKey?: string | undefined;
                channel?: string | undefined;
                startSeq?: string | undefined;
            } | undefined;
            nefario?: {
                id?: string | undefined;
                state?: string | undefined;
                processUid?: string | undefined;
                channel?: string | undefined;
                startSeq?: string | undefined;
            } | undefined;
            changeDataCapture?: {
                id?: string | undefined;
                state?: string | undefined;
                matchers?: {
                    database?: string | undefined;
                    table?: string | undefined;
                    primaryKeys?: any[] | undefined;
                }[] | undefined;
                startSeq?: string | undefined;
            } | undefined;
            unsubscribe?: {
                id?: string | undefined;
            } | undefined;
        } & {
            mailbox?: ({
                id?: string | undefined;
                state?: string | undefined;
                readerKey?: string | undefined;
                channel?: string | undefined;
                startSeq?: string | undefined;
            } & {
                id?: string | undefined;
                state?: string | undefined;
                readerKey?: string | undefined;
                channel?: string | undefined;
                startSeq?: string | undefined;
            } & { [K_10 in Exclude<keyof I_1["subscriptions"][number]["mailbox"], keyof MailboxSubscription>]: never; }) | undefined;
            nefario?: ({
                id?: string | undefined;
                state?: string | undefined;
                processUid?: string | undefined;
                channel?: string | undefined;
                startSeq?: string | undefined;
            } & {
                id?: string | undefined;
                state?: string | undefined;
                processUid?: string | undefined;
                channel?: string | undefined;
                startSeq?: string | undefined;
            } & { [K_11 in Exclude<keyof I_1["subscriptions"][number]["nefario"], keyof NefarioSubscription>]: never; }) | undefined;
            changeDataCapture?: ({
                id?: string | undefined;
                state?: string | undefined;
                matchers?: {
                    database?: string | undefined;
                    table?: string | undefined;
                    primaryKeys?: any[] | undefined;
                }[] | undefined;
                startSeq?: string | undefined;
            } & {
                id?: string | undefined;
                state?: string | undefined;
                matchers?: ({
                    database?: string | undefined;
                    table?: string | undefined;
                    primaryKeys?: any[] | undefined;
                }[] & ({
                    database?: string | undefined;
                    table?: string | undefined;
                    primaryKeys?: any[] | undefined;
                } & {
                    database?: string | undefined;
                    table?: string | undefined;
                    primaryKeys?: (any[] & any[] & { [K_12 in Exclude<keyof I_1["subscriptions"][number]["changeDataCapture"]["matchers"][number]["primaryKeys"], keyof any[]>]: never; }) | undefined;
                } & { [K_13 in Exclude<keyof I_1["subscriptions"][number]["changeDataCapture"]["matchers"][number], keyof RecordMatcher>]: never; })[] & { [K_14 in Exclude<keyof I_1["subscriptions"][number]["changeDataCapture"]["matchers"], keyof {
                    database?: string | undefined;
                    table?: string | undefined;
                    primaryKeys?: any[] | undefined;
                }[]>]: never; }) | undefined;
                startSeq?: string | undefined;
            } & { [K_15 in Exclude<keyof I_1["subscriptions"][number]["changeDataCapture"], keyof ChangeDataCaptureSubscription>]: never; }) | undefined;
            unsubscribe?: ({
                id?: string | undefined;
            } & {
                id?: string | undefined;
            } & { [K_16 in Exclude<keyof I_1["subscriptions"][number]["unsubscribe"], "id">]: never; }) | undefined;
        } & { [K_17 in Exclude<keyof I_1["subscriptions"][number], keyof Subscription>]: never; })[] & { [K_18 in Exclude<keyof I_1["subscriptions"], keyof {
            mailbox?: {
                id?: string | undefined;
                state?: string | undefined;
                readerKey?: string | undefined;
                channel?: string | undefined;
                startSeq?: string | undefined;
            } | undefined;
            nefario?: {
                id?: string | undefined;
                state?: string | undefined;
                processUid?: string | undefined;
                channel?: string | undefined;
                startSeq?: string | undefined;
            } | undefined;
            changeDataCapture?: {
                id?: string | undefined;
                state?: string | undefined;
                matchers?: {
                    database?: string | undefined;
                    table?: string | undefined;
                    primaryKeys?: any[] | undefined;
                }[] | undefined;
                startSeq?: string | undefined;
            } | undefined;
            unsubscribe?: {
                id?: string | undefined;
            } | undefined;
        }[]>]: never; }) | undefined;
    } & { [K_19 in Exclude<keyof I_1, "subscriptions">]: never; }>(object: I_1): SubscribeRequest;
};
export declare const SubscribeResponse: {
    encode(message: SubscribeResponse, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): SubscribeResponse;
    fromJSON(object: any): SubscribeResponse;
    toJSON(message: SubscribeResponse): unknown;
    create<I extends {
        succeeded?: string[] | undefined;
        errors?: {
            state?: string | undefined;
            message?: string | undefined;
        }[] | undefined;
    } & {
        succeeded?: (string[] & string[] & { [K in Exclude<keyof I["succeeded"], keyof string[]>]: never; }) | undefined;
        errors?: ({
            state?: string | undefined;
            message?: string | undefined;
        }[] & ({
            state?: string | undefined;
            message?: string | undefined;
        } & {
            state?: string | undefined;
            message?: string | undefined;
        } & { [K_1 in Exclude<keyof I["errors"][number], keyof SubscribeError>]: never; })[] & { [K_2 in Exclude<keyof I["errors"], keyof {
            state?: string | undefined;
            message?: string | undefined;
        }[]>]: never; }) | undefined;
    } & { [K_3 in Exclude<keyof I, keyof SubscribeResponse>]: never; }>(base?: I): SubscribeResponse;
    fromPartial<I_1 extends {
        succeeded?: string[] | undefined;
        errors?: {
            state?: string | undefined;
            message?: string | undefined;
        }[] | undefined;
    } & {
        succeeded?: (string[] & string[] & { [K_4 in Exclude<keyof I_1["succeeded"], keyof string[]>]: never; }) | undefined;
        errors?: ({
            state?: string | undefined;
            message?: string | undefined;
        }[] & ({
            state?: string | undefined;
            message?: string | undefined;
        } & {
            state?: string | undefined;
            message?: string | undefined;
        } & { [K_5 in Exclude<keyof I_1["errors"][number], keyof SubscribeError>]: never; })[] & { [K_6 in Exclude<keyof I_1["errors"], keyof {
            state?: string | undefined;
            message?: string | undefined;
        }[]>]: never; }) | undefined;
    } & { [K_7 in Exclude<keyof I_1, keyof SubscribeResponse>]: never; }>(object: I_1): SubscribeResponse;
};
export declare const SubscribeError: {
    encode(message: SubscribeError, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): SubscribeError;
    fromJSON(object: any): SubscribeError;
    toJSON(message: SubscribeError): unknown;
    create<I extends {
        state?: string | undefined;
        message?: string | undefined;
    } & {
        state?: string | undefined;
        message?: string | undefined;
    } & { [K in Exclude<keyof I, keyof SubscribeError>]: never; }>(base?: I): SubscribeError;
    fromPartial<I_1 extends {
        state?: string | undefined;
        message?: string | undefined;
    } & {
        state?: string | undefined;
        message?: string | undefined;
    } & { [K_1 in Exclude<keyof I_1, keyof SubscribeError>]: never; }>(object: I_1): SubscribeError;
};
export declare const Subscription: {
    encode(message: Subscription, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): Subscription;
    fromJSON(object: any): Subscription;
    toJSON(message: Subscription): unknown;
    create<I extends {
        mailbox?: {
            id?: string | undefined;
            state?: string | undefined;
            readerKey?: string | undefined;
            channel?: string | undefined;
            startSeq?: string | undefined;
        } | undefined;
        nefario?: {
            id?: string | undefined;
            state?: string | undefined;
            processUid?: string | undefined;
            channel?: string | undefined;
            startSeq?: string | undefined;
        } | undefined;
        changeDataCapture?: {
            id?: string | undefined;
            state?: string | undefined;
            matchers?: {
                database?: string | undefined;
                table?: string | undefined;
                primaryKeys?: any[] | undefined;
            }[] | undefined;
            startSeq?: string | undefined;
        } | undefined;
        unsubscribe?: {
            id?: string | undefined;
        } | undefined;
    } & {
        mailbox?: ({
            id?: string | undefined;
            state?: string | undefined;
            readerKey?: string | undefined;
            channel?: string | undefined;
            startSeq?: string | undefined;
        } & {
            id?: string | undefined;
            state?: string | undefined;
            readerKey?: string | undefined;
            channel?: string | undefined;
            startSeq?: string | undefined;
        } & { [K in Exclude<keyof I["mailbox"], keyof MailboxSubscription>]: never; }) | undefined;
        nefario?: ({
            id?: string | undefined;
            state?: string | undefined;
            processUid?: string | undefined;
            channel?: string | undefined;
            startSeq?: string | undefined;
        } & {
            id?: string | undefined;
            state?: string | undefined;
            processUid?: string | undefined;
            channel?: string | undefined;
            startSeq?: string | undefined;
        } & { [K_1 in Exclude<keyof I["nefario"], keyof NefarioSubscription>]: never; }) | undefined;
        changeDataCapture?: ({
            id?: string | undefined;
            state?: string | undefined;
            matchers?: {
                database?: string | undefined;
                table?: string | undefined;
                primaryKeys?: any[] | undefined;
            }[] | undefined;
            startSeq?: string | undefined;
        } & {
            id?: string | undefined;
            state?: string | undefined;
            matchers?: ({
                database?: string | undefined;
                table?: string | undefined;
                primaryKeys?: any[] | undefined;
            }[] & ({
                database?: string | undefined;
                table?: string | undefined;
                primaryKeys?: any[] | undefined;
            } & {
                database?: string | undefined;
                table?: string | undefined;
                primaryKeys?: (any[] & any[] & { [K_2 in Exclude<keyof I["changeDataCapture"]["matchers"][number]["primaryKeys"], keyof any[]>]: never; }) | undefined;
            } & { [K_3 in Exclude<keyof I["changeDataCapture"]["matchers"][number], keyof RecordMatcher>]: never; })[] & { [K_4 in Exclude<keyof I["changeDataCapture"]["matchers"], keyof {
                database?: string | undefined;
                table?: string | undefined;
                primaryKeys?: any[] | undefined;
            }[]>]: never; }) | undefined;
            startSeq?: string | undefined;
        } & { [K_5 in Exclude<keyof I["changeDataCapture"], keyof ChangeDataCaptureSubscription>]: never; }) | undefined;
        unsubscribe?: ({
            id?: string | undefined;
        } & {
            id?: string | undefined;
        } & { [K_6 in Exclude<keyof I["unsubscribe"], "id">]: never; }) | undefined;
    } & { [K_7 in Exclude<keyof I, keyof Subscription>]: never; }>(base?: I): Subscription;
    fromPartial<I_1 extends {
        mailbox?: {
            id?: string | undefined;
            state?: string | undefined;
            readerKey?: string | undefined;
            channel?: string | undefined;
            startSeq?: string | undefined;
        } | undefined;
        nefario?: {
            id?: string | undefined;
            state?: string | undefined;
            processUid?: string | undefined;
            channel?: string | undefined;
            startSeq?: string | undefined;
        } | undefined;
        changeDataCapture?: {
            id?: string | undefined;
            state?: string | undefined;
            matchers?: {
                database?: string | undefined;
                table?: string | undefined;
                primaryKeys?: any[] | undefined;
            }[] | undefined;
            startSeq?: string | undefined;
        } | undefined;
        unsubscribe?: {
            id?: string | undefined;
        } | undefined;
    } & {
        mailbox?: ({
            id?: string | undefined;
            state?: string | undefined;
            readerKey?: string | undefined;
            channel?: string | undefined;
            startSeq?: string | undefined;
        } & {
            id?: string | undefined;
            state?: string | undefined;
            readerKey?: string | undefined;
            channel?: string | undefined;
            startSeq?: string | undefined;
        } & { [K_8 in Exclude<keyof I_1["mailbox"], keyof MailboxSubscription>]: never; }) | undefined;
        nefario?: ({
            id?: string | undefined;
            state?: string | undefined;
            processUid?: string | undefined;
            channel?: string | undefined;
            startSeq?: string | undefined;
        } & {
            id?: string | undefined;
            state?: string | undefined;
            processUid?: string | undefined;
            channel?: string | undefined;
            startSeq?: string | undefined;
        } & { [K_9 in Exclude<keyof I_1["nefario"], keyof NefarioSubscription>]: never; }) | undefined;
        changeDataCapture?: ({
            id?: string | undefined;
            state?: string | undefined;
            matchers?: {
                database?: string | undefined;
                table?: string | undefined;
                primaryKeys?: any[] | undefined;
            }[] | undefined;
            startSeq?: string | undefined;
        } & {
            id?: string | undefined;
            state?: string | undefined;
            matchers?: ({
                database?: string | undefined;
                table?: string | undefined;
                primaryKeys?: any[] | undefined;
            }[] & ({
                database?: string | undefined;
                table?: string | undefined;
                primaryKeys?: any[] | undefined;
            } & {
                database?: string | undefined;
                table?: string | undefined;
                primaryKeys?: (any[] & any[] & { [K_10 in Exclude<keyof I_1["changeDataCapture"]["matchers"][number]["primaryKeys"], keyof any[]>]: never; }) | undefined;
            } & { [K_11 in Exclude<keyof I_1["changeDataCapture"]["matchers"][number], keyof RecordMatcher>]: never; })[] & { [K_12 in Exclude<keyof I_1["changeDataCapture"]["matchers"], keyof {
                database?: string | undefined;
                table?: string | undefined;
                primaryKeys?: any[] | undefined;
            }[]>]: never; }) | undefined;
            startSeq?: string | undefined;
        } & { [K_13 in Exclude<keyof I_1["changeDataCapture"], keyof ChangeDataCaptureSubscription>]: never; }) | undefined;
        unsubscribe?: ({
            id?: string | undefined;
        } & {
            id?: string | undefined;
        } & { [K_14 in Exclude<keyof I_1["unsubscribe"], "id">]: never; }) | undefined;
    } & { [K_15 in Exclude<keyof I_1, keyof Subscription>]: never; }>(object: I_1): Subscription;
};
export declare const MailboxSubscription: {
    encode(message: MailboxSubscription, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): MailboxSubscription;
    fromJSON(object: any): MailboxSubscription;
    toJSON(message: MailboxSubscription): unknown;
    create<I extends {
        id?: string | undefined;
        state?: string | undefined;
        readerKey?: string | undefined;
        channel?: string | undefined;
        startSeq?: string | undefined;
    } & {
        id?: string | undefined;
        state?: string | undefined;
        readerKey?: string | undefined;
        channel?: string | undefined;
        startSeq?: string | undefined;
    } & { [K in Exclude<keyof I, keyof MailboxSubscription>]: never; }>(base?: I): MailboxSubscription;
    fromPartial<I_1 extends {
        id?: string | undefined;
        state?: string | undefined;
        readerKey?: string | undefined;
        channel?: string | undefined;
        startSeq?: string | undefined;
    } & {
        id?: string | undefined;
        state?: string | undefined;
        readerKey?: string | undefined;
        channel?: string | undefined;
        startSeq?: string | undefined;
    } & { [K_1 in Exclude<keyof I_1, keyof MailboxSubscription>]: never; }>(object: I_1): MailboxSubscription;
};
export declare const ChangeDataCaptureSubscription: {
    encode(message: ChangeDataCaptureSubscription, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): ChangeDataCaptureSubscription;
    fromJSON(object: any): ChangeDataCaptureSubscription;
    toJSON(message: ChangeDataCaptureSubscription): unknown;
    create<I extends {
        id?: string | undefined;
        state?: string | undefined;
        matchers?: {
            database?: string | undefined;
            table?: string | undefined;
            primaryKeys?: any[] | undefined;
        }[] | undefined;
        startSeq?: string | undefined;
    } & {
        id?: string | undefined;
        state?: string | undefined;
        matchers?: ({
            database?: string | undefined;
            table?: string | undefined;
            primaryKeys?: any[] | undefined;
        }[] & ({
            database?: string | undefined;
            table?: string | undefined;
            primaryKeys?: any[] | undefined;
        } & {
            database?: string | undefined;
            table?: string | undefined;
            primaryKeys?: (any[] & any[] & { [K in Exclude<keyof I["matchers"][number]["primaryKeys"], keyof any[]>]: never; }) | undefined;
        } & { [K_1 in Exclude<keyof I["matchers"][number], keyof RecordMatcher>]: never; })[] & { [K_2 in Exclude<keyof I["matchers"], keyof {
            database?: string | undefined;
            table?: string | undefined;
            primaryKeys?: any[] | undefined;
        }[]>]: never; }) | undefined;
        startSeq?: string | undefined;
    } & { [K_3 in Exclude<keyof I, keyof ChangeDataCaptureSubscription>]: never; }>(base?: I): ChangeDataCaptureSubscription;
    fromPartial<I_1 extends {
        id?: string | undefined;
        state?: string | undefined;
        matchers?: {
            database?: string | undefined;
            table?: string | undefined;
            primaryKeys?: any[] | undefined;
        }[] | undefined;
        startSeq?: string | undefined;
    } & {
        id?: string | undefined;
        state?: string | undefined;
        matchers?: ({
            database?: string | undefined;
            table?: string | undefined;
            primaryKeys?: any[] | undefined;
        }[] & ({
            database?: string | undefined;
            table?: string | undefined;
            primaryKeys?: any[] | undefined;
        } & {
            database?: string | undefined;
            table?: string | undefined;
            primaryKeys?: (any[] & any[] & { [K_4 in Exclude<keyof I_1["matchers"][number]["primaryKeys"], keyof any[]>]: never; }) | undefined;
        } & { [K_5 in Exclude<keyof I_1["matchers"][number], keyof RecordMatcher>]: never; })[] & { [K_6 in Exclude<keyof I_1["matchers"], keyof {
            database?: string | undefined;
            table?: string | undefined;
            primaryKeys?: any[] | undefined;
        }[]>]: never; }) | undefined;
        startSeq?: string | undefined;
    } & { [K_7 in Exclude<keyof I_1, keyof ChangeDataCaptureSubscription>]: never; }>(object: I_1): ChangeDataCaptureSubscription;
};
export declare const RecordMatcher: {
    encode(message: RecordMatcher, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): RecordMatcher;
    fromJSON(object: any): RecordMatcher;
    toJSON(message: RecordMatcher): unknown;
    create<I extends {
        database?: string | undefined;
        table?: string | undefined;
        primaryKeys?: any[] | undefined;
    } & {
        database?: string | undefined;
        table?: string | undefined;
        primaryKeys?: (any[] & any[] & { [K in Exclude<keyof I["primaryKeys"], keyof any[]>]: never; }) | undefined;
    } & { [K_1 in Exclude<keyof I, keyof RecordMatcher>]: never; }>(base?: I): RecordMatcher;
    fromPartial<I_1 extends {
        database?: string | undefined;
        table?: string | undefined;
        primaryKeys?: any[] | undefined;
    } & {
        database?: string | undefined;
        table?: string | undefined;
        primaryKeys?: (any[] & any[] & { [K_2 in Exclude<keyof I_1["primaryKeys"], keyof any[]>]: never; }) | undefined;
    } & { [K_3 in Exclude<keyof I_1, keyof RecordMatcher>]: never; }>(object: I_1): RecordMatcher;
};
export declare const NefarioSubscription: {
    encode(message: NefarioSubscription, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): NefarioSubscription;
    fromJSON(object: any): NefarioSubscription;
    toJSON(message: NefarioSubscription): unknown;
    create<I extends {
        id?: string | undefined;
        state?: string | undefined;
        processUid?: string | undefined;
        channel?: string | undefined;
        startSeq?: string | undefined;
    } & {
        id?: string | undefined;
        state?: string | undefined;
        processUid?: string | undefined;
        channel?: string | undefined;
        startSeq?: string | undefined;
    } & { [K in Exclude<keyof I, keyof NefarioSubscription>]: never; }>(base?: I): NefarioSubscription;
    fromPartial<I_1 extends {
        id?: string | undefined;
        state?: string | undefined;
        processUid?: string | undefined;
        channel?: string | undefined;
        startSeq?: string | undefined;
    } & {
        id?: string | undefined;
        state?: string | undefined;
        processUid?: string | undefined;
        channel?: string | undefined;
        startSeq?: string | undefined;
    } & { [K_1 in Exclude<keyof I_1, keyof NefarioSubscription>]: never; }>(object: I_1): NefarioSubscription;
};
export declare const Unsubscribe: {
    encode(message: Unsubscribe, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): Unsubscribe;
    fromJSON(object: any): Unsubscribe;
    toJSON(message: Unsubscribe): unknown;
    create<I extends {
        id?: string | undefined;
    } & {
        id?: string | undefined;
    } & { [K in Exclude<keyof I, "id">]: never; }>(base?: I): Unsubscribe;
    fromPartial<I_1 extends {
        id?: string | undefined;
    } & {
        id?: string | undefined;
    } & { [K_1 in Exclude<keyof I_1, "id">]: never; }>(object: I_1): Unsubscribe;
};
export declare const CreateMailboxRequest: {
    encode(message: CreateMailboxRequest, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): CreateMailboxRequest;
    fromJSON(object: any): CreateMailboxRequest;
    toJSON(message: CreateMailboxRequest): unknown;
    create<I extends {
        channels?: string[] | undefined;
        privateMetadata?: {
            [x: string]: any;
        } | undefined;
        publicMetadata?: {
            [x: string]: any;
        } | undefined;
        purgeTimeoutInMillis?: number | undefined;
        closeTimeoutInMillis?: number | undefined;
        extraData?: {
            [x: string]: any;
        } | undefined;
    } & {
        channels?: (string[] & string[] & { [K in Exclude<keyof I["channels"], keyof string[]>]: never; }) | undefined;
        privateMetadata?: ({
            [x: string]: any;
        } & {
            [x: string]: any;
        } & { [K_1 in Exclude<keyof I["privateMetadata"], string | number>]: never; }) | undefined;
        publicMetadata?: ({
            [x: string]: any;
        } & {
            [x: string]: any;
        } & { [K_2 in Exclude<keyof I["publicMetadata"], string | number>]: never; }) | undefined;
        purgeTimeoutInMillis?: number | undefined;
        closeTimeoutInMillis?: number | undefined;
        extraData?: ({
            [x: string]: any;
        } & {
            [x: string]: any;
        } & { [K_3 in Exclude<keyof I["extraData"], string | number>]: never; }) | undefined;
    } & { [K_4 in Exclude<keyof I, keyof CreateMailboxRequest>]: never; }>(base?: I): CreateMailboxRequest;
    fromPartial<I_1 extends {
        channels?: string[] | undefined;
        privateMetadata?: {
            [x: string]: any;
        } | undefined;
        publicMetadata?: {
            [x: string]: any;
        } | undefined;
        purgeTimeoutInMillis?: number | undefined;
        closeTimeoutInMillis?: number | undefined;
        extraData?: {
            [x: string]: any;
        } | undefined;
    } & {
        channels?: (string[] & string[] & { [K_5 in Exclude<keyof I_1["channels"], keyof string[]>]: never; }) | undefined;
        privateMetadata?: ({
            [x: string]: any;
        } & {
            [x: string]: any;
        } & { [K_6 in Exclude<keyof I_1["privateMetadata"], string | number>]: never; }) | undefined;
        publicMetadata?: ({
            [x: string]: any;
        } & {
            [x: string]: any;
        } & { [K_7 in Exclude<keyof I_1["publicMetadata"], string | number>]: never; }) | undefined;
        purgeTimeoutInMillis?: number | undefined;
        closeTimeoutInMillis?: number | undefined;
        extraData?: ({
            [x: string]: any;
        } & {
            [x: string]: any;
        } & { [K_8 in Exclude<keyof I_1["extraData"], string | number>]: never; }) | undefined;
    } & { [K_9 in Exclude<keyof I_1, keyof CreateMailboxRequest>]: never; }>(object: I_1): CreateMailboxRequest;
};
export declare const CreateMailboxResponse: {
    encode(message: CreateMailboxResponse, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): CreateMailboxResponse;
    fromJSON(object: any): CreateMailboxResponse;
    toJSON(message: CreateMailboxResponse): unknown;
    create<I extends {
        adminKey?: string | undefined;
        address?: string | undefined;
        readerKey?: string | undefined;
        channels?: string[] | undefined;
    } & {
        adminKey?: string | undefined;
        address?: string | undefined;
        readerKey?: string | undefined;
        channels?: (string[] & string[] & { [K in Exclude<keyof I["channels"], keyof string[]>]: never; }) | undefined;
    } & { [K_1 in Exclude<keyof I, keyof CreateMailboxResponse>]: never; }>(base?: I): CreateMailboxResponse;
    fromPartial<I_1 extends {
        adminKey?: string | undefined;
        address?: string | undefined;
        readerKey?: string | undefined;
        channels?: string[] | undefined;
    } & {
        adminKey?: string | undefined;
        address?: string | undefined;
        readerKey?: string | undefined;
        channels?: (string[] & string[] & { [K_2 in Exclude<keyof I_1["channels"], keyof string[]>]: never; }) | undefined;
    } & { [K_3 in Exclude<keyof I_1, keyof CreateMailboxResponse>]: never; }>(object: I_1): CreateMailboxResponse;
};
export declare const AddChannelRequest: {
    encode(message: AddChannelRequest, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): AddChannelRequest;
    fromJSON(object: any): AddChannelRequest;
    toJSON(message: AddChannelRequest): unknown;
    create<I extends {
        adminKey?: string | undefined;
        channels?: string[] | undefined;
    } & {
        adminKey?: string | undefined;
        channels?: (string[] & string[] & { [K in Exclude<keyof I["channels"], keyof string[]>]: never; }) | undefined;
    } & { [K_1 in Exclude<keyof I, keyof AddChannelRequest>]: never; }>(base?: I): AddChannelRequest;
    fromPartial<I_1 extends {
        adminKey?: string | undefined;
        channels?: string[] | undefined;
    } & {
        adminKey?: string | undefined;
        channels?: (string[] & string[] & { [K_2 in Exclude<keyof I_1["channels"], keyof string[]>]: never; }) | undefined;
    } & { [K_3 in Exclude<keyof I_1, keyof AddChannelRequest>]: never; }>(object: I_1): AddChannelRequest;
};
export declare const AddChannelResponse: {
    encode(_: AddChannelResponse, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): AddChannelResponse;
    fromJSON(_: any): AddChannelResponse;
    toJSON(_: AddChannelResponse): unknown;
    create<I extends {} & {} & { [K in Exclude<keyof I, never>]: never; }>(base?: I): AddChannelResponse;
    fromPartial<I_1 extends {} & {} & { [K_1 in Exclude<keyof I_1, never>]: never; }>(_: I_1): AddChannelResponse;
};
export interface HermesService {
    SendReceive(request: Observable<MessageFromClient>): Observable<MessageToClient>;
    CreateMailbox(request: CreateMailboxRequest): Promise<CreateMailboxResponse>;
    AddChannel(request: AddChannelRequest): Promise<AddChannelResponse>;
}
export declare const HermesServiceServiceName = "hermes.HermesService";
export declare class HermesServiceClientImpl implements HermesService {
    private readonly rpc;
    private readonly service;
    constructor(rpc: Rpc, opts?: {
        service?: string;
    });
    SendReceive(request: Observable<MessageFromClient>): Observable<MessageToClient>;
    CreateMailbox(request: CreateMailboxRequest): Promise<CreateMailboxResponse>;
    AddChannel(request: AddChannelRequest): Promise<AddChannelResponse>;
}
interface Rpc {
    request(service: string, method: string, data: Uint8Array): Promise<Uint8Array>;
    clientStreamingRequest(service: string, method: string, data: Observable<Uint8Array>): Promise<Uint8Array>;
    serverStreamingRequest(service: string, method: string, data: Uint8Array): Observable<Uint8Array>;
    bidirectionalStreamingRequest(service: string, method: string, data: Observable<Uint8Array>): Observable<Uint8Array>;
}
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
    [K in keyof T]?: DeepPartial<T[K]>;
} : Partial<T>;
type KeysOfUnion<T> = T extends T ? keyof T : never;
export type Exact<P, I extends P> = P extends Builtin ? P : P & {
    [K in keyof P]: Exact<P[K], I[K]>;
} & {
    [K in Exclude<keyof I, KeysOfUnion<P>>]: never;
};
export {};
