/// <reference types="node" />
import { ChannelCredentials, ChannelOptions, UntypedServiceImplementation, handleUnaryCall, Client, ClientUnaryCall, Metadata, CallOptions, ServiceError } from '@grpc/grpc-js';
import _m0 from 'protobufjs/minimal';
import { Source, Connector } from '../../../../../yandex/cloud/serverless/eventrouter/v1/connector';
import { FieldMask } from '../../../../../google/protobuf/field_mask';
import { Operation } from '../../../../../yandex/cloud/operation/operation';
import { ListAccessBindingsRequest, ListAccessBindingsResponse, SetAccessBindingsRequest, UpdateAccessBindingsRequest } from '../../../../../yandex/cloud/access/access';
export declare const protobufPackage = "yandex.cloud.serverless.eventrouter.v1";
export interface GetConnectorRequest {
    /** ID of the connector to return. */
    connectorId: string;
}
export interface ListConnectorsRequest {
    /** ID of the bus to list connectors in. */
    busId: string | undefined;
    /** ID of the folder to list connectors in. */
    folderId: string | undefined;
    /** The maximum number of results per response. */
    pageSize: number;
    /**
     * Page token. To get the next page of results, set `page_token` to the
     * `next_page_token` returned by a previous list request.
     */
    pageToken: string;
    /**
     * Supported fields for filter:
     *   name
     *   created_at
     */
    filter: string;
}
export interface ListConnectorsResponse {
    /** List of connectors. */
    connectors: Connector[];
    /** Token for getting the next page of the list of results. */
    nextPageToken: string;
}
export interface CreateConnectorRequest {
    /** ID of the bus to create a connector in. */
    busId: string;
    /** Name of the connector. */
    name: string;
    /** Description of the connector. */
    description: string;
    /** Labels for the connector. */
    labels: {
        [key: string]: string;
    };
    /** Source of the connector. */
    source?: Source;
    /** Flag that disallow deletion of the connector. */
    deletionProtection: boolean;
}
export interface CreateConnectorRequest_LabelsEntry {
    key: string;
    value: string;
}
export interface CreateConnectorMetadata {
    /** ID of the connector that is being created. */
    connectorId: string;
    /** ID of the bus that the connector is created in. */
    busId: string;
}
export interface UpdateConnectorRequest {
    /** ID of the connector to update. */
    connectorId: string;
    /** Field mask that specifies which fields of the connector are going to be updated. */
    updateMask?: FieldMask;
    /** New name of the connector. */
    name: string;
    /** New description of the connector. */
    description: string;
    /** New labels of the connector. */
    labels: {
        [key: string]: string;
    };
    /** New flag that disallow deletion of the connector. */
    deletionProtection: boolean;
}
export interface UpdateConnectorRequest_LabelsEntry {
    key: string;
    value: string;
}
export interface UpdateConnectorMetadata {
    /** ID of the connector that is being updated. */
    connectorId: string;
}
export interface DeleteConnectorRequest {
    /** ID of the connector to delete. */
    connectorId: string;
}
export interface DeleteConnectorMetadata {
    /** ID of the connector that is being deleted. */
    connectorId: string;
}
export interface ListConnectorOperationsRequest {
    /** ID of the connector to list operations for. */
    connectorId: string;
    /** The maximum number of results per response. */
    pageSize: number;
    /**
     * Page token. To get the next page of results, set `page_token` to the
     * `next_page_token` returned by a previous list request.
     */
    pageToken: string;
    /**
     * Supported attributes for filter:
     *   description
     *   created_at
     *   modified_at
     *   created_by
     *   done
     */
    filter: string;
}
export interface ListConnectorOperationsResponse {
    /** List of operations for the specified connector. */
    operations: Operation[];
    /** Token for getting the next page of the list of results. */
    nextPageToken: string;
}
export interface StartConnectorRequest {
    /** ID of the connector to start. */
    connectorId: string;
}
export interface StartConnectorMetadata {
    /** ID of the connector that is being started. */
    connectorId: string;
}
export interface StopConnectorRequest {
    /** ID of the connector to stop. */
    connectorId: string;
}
export interface StopConnectorMetadata {
    /** ID of the connector that is being stopped. */
    connectorId: string;
}
export declare const GetConnectorRequest: {
    encode(message: GetConnectorRequest, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): GetConnectorRequest;
    fromJSON(object: any): GetConnectorRequest;
    toJSON(message: GetConnectorRequest): unknown;
    fromPartial<I extends {
        connectorId?: string | undefined;
    } & {
        connectorId?: string | undefined;
    } & Record<Exclude<keyof I, "connectorId">, never>>(object: I): GetConnectorRequest;
};
export declare const ListConnectorsRequest: {
    encode(message: ListConnectorsRequest, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): ListConnectorsRequest;
    fromJSON(object: any): ListConnectorsRequest;
    toJSON(message: ListConnectorsRequest): unknown;
    fromPartial<I extends {
        busId?: string | undefined;
        folderId?: string | undefined;
        pageSize?: number | undefined;
        pageToken?: string | undefined;
        filter?: string | undefined;
    } & {
        busId?: string | undefined;
        folderId?: string | undefined;
        pageSize?: number | undefined;
        pageToken?: string | undefined;
        filter?: string | undefined;
    } & Record<Exclude<keyof I, keyof ListConnectorsRequest>, never>>(object: I): ListConnectorsRequest;
};
export declare const ListConnectorsResponse: {
    encode(message: ListConnectorsResponse, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): ListConnectorsResponse;
    fromJSON(object: any): ListConnectorsResponse;
    toJSON(message: ListConnectorsResponse): unknown;
    fromPartial<I extends {
        connectors?: {
            id?: string | undefined;
            busId?: string | undefined;
            folderId?: string | undefined;
            cloudId?: string | undefined;
            createdAt?: Date | undefined;
            name?: string | undefined;
            description?: string | undefined;
            labels?: {
                [x: string]: string | undefined;
            } | undefined;
            source?: {
                dataStream?: {
                    database?: string | undefined;
                    streamName?: string | undefined;
                    consumer?: string | undefined;
                    serviceAccountId?: string | undefined;
                } | undefined;
                messageQueue?: {
                    queueArn?: string | undefined;
                    serviceAccountId?: string | undefined;
                    visibilityTimeout?: {
                        seconds?: number | undefined;
                        nanos?: number | undefined;
                    } | undefined;
                    batchSize?: number | undefined;
                    pollingTimeout?: {
                        seconds?: number | undefined;
                        nanos?: number | undefined;
                    } | undefined;
                } | undefined;
                timer?: {
                    cronExpression?: string | undefined;
                    timeZone?: string | undefined;
                    payload?: string | undefined;
                } | undefined;
            } | undefined;
            deletionProtection?: boolean | undefined;
            status?: import("../../../../../yandex/cloud/serverless/eventrouter/v1/connector").Connector_Status | undefined;
        }[] | undefined;
        nextPageToken?: string | undefined;
    } & {
        connectors?: ({
            id?: string | undefined;
            busId?: string | undefined;
            folderId?: string | undefined;
            cloudId?: string | undefined;
            createdAt?: Date | undefined;
            name?: string | undefined;
            description?: string | undefined;
            labels?: {
                [x: string]: string | undefined;
            } | undefined;
            source?: {
                dataStream?: {
                    database?: string | undefined;
                    streamName?: string | undefined;
                    consumer?: string | undefined;
                    serviceAccountId?: string | undefined;
                } | undefined;
                messageQueue?: {
                    queueArn?: string | undefined;
                    serviceAccountId?: string | undefined;
                    visibilityTimeout?: {
                        seconds?: number | undefined;
                        nanos?: number | undefined;
                    } | undefined;
                    batchSize?: number | undefined;
                    pollingTimeout?: {
                        seconds?: number | undefined;
                        nanos?: number | undefined;
                    } | undefined;
                } | undefined;
                timer?: {
                    cronExpression?: string | undefined;
                    timeZone?: string | undefined;
                    payload?: string | undefined;
                } | undefined;
            } | undefined;
            deletionProtection?: boolean | undefined;
            status?: import("../../../../../yandex/cloud/serverless/eventrouter/v1/connector").Connector_Status | undefined;
        }[] & ({
            id?: string | undefined;
            busId?: string | undefined;
            folderId?: string | undefined;
            cloudId?: string | undefined;
            createdAt?: Date | undefined;
            name?: string | undefined;
            description?: string | undefined;
            labels?: {
                [x: string]: string | undefined;
            } | undefined;
            source?: {
                dataStream?: {
                    database?: string | undefined;
                    streamName?: string | undefined;
                    consumer?: string | undefined;
                    serviceAccountId?: string | undefined;
                } | undefined;
                messageQueue?: {
                    queueArn?: string | undefined;
                    serviceAccountId?: string | undefined;
                    visibilityTimeout?: {
                        seconds?: number | undefined;
                        nanos?: number | undefined;
                    } | undefined;
                    batchSize?: number | undefined;
                    pollingTimeout?: {
                        seconds?: number | undefined;
                        nanos?: number | undefined;
                    } | undefined;
                } | undefined;
                timer?: {
                    cronExpression?: string | undefined;
                    timeZone?: string | undefined;
                    payload?: string | undefined;
                } | undefined;
            } | undefined;
            deletionProtection?: boolean | undefined;
            status?: import("../../../../../yandex/cloud/serverless/eventrouter/v1/connector").Connector_Status | undefined;
        } & {
            id?: string | undefined;
            busId?: string | undefined;
            folderId?: string | undefined;
            cloudId?: string | undefined;
            createdAt?: Date | undefined;
            name?: string | undefined;
            description?: string | undefined;
            labels?: ({
                [x: string]: string | undefined;
            } & {
                [x: string]: string | undefined;
            } & Record<Exclude<keyof I["connectors"][number]["labels"], string | number>, never>) | undefined;
            source?: ({
                dataStream?: {
                    database?: string | undefined;
                    streamName?: string | undefined;
                    consumer?: string | undefined;
                    serviceAccountId?: string | undefined;
                } | undefined;
                messageQueue?: {
                    queueArn?: string | undefined;
                    serviceAccountId?: string | undefined;
                    visibilityTimeout?: {
                        seconds?: number | undefined;
                        nanos?: number | undefined;
                    } | undefined;
                    batchSize?: number | undefined;
                    pollingTimeout?: {
                        seconds?: number | undefined;
                        nanos?: number | undefined;
                    } | undefined;
                } | undefined;
                timer?: {
                    cronExpression?: string | undefined;
                    timeZone?: string | undefined;
                    payload?: string | undefined;
                } | undefined;
            } & {
                dataStream?: ({
                    database?: string | undefined;
                    streamName?: string | undefined;
                    consumer?: string | undefined;
                    serviceAccountId?: string | undefined;
                } & {
                    database?: string | undefined;
                    streamName?: string | undefined;
                    consumer?: string | undefined;
                    serviceAccountId?: string | undefined;
                } & Record<Exclude<keyof I["connectors"][number]["source"]["dataStream"], keyof import("../../../../../yandex/cloud/serverless/eventrouter/v1/connector").DataStream>, never>) | undefined;
                messageQueue?: ({
                    queueArn?: string | undefined;
                    serviceAccountId?: string | undefined;
                    visibilityTimeout?: {
                        seconds?: number | undefined;
                        nanos?: number | undefined;
                    } | undefined;
                    batchSize?: number | undefined;
                    pollingTimeout?: {
                        seconds?: number | undefined;
                        nanos?: number | undefined;
                    } | undefined;
                } & {
                    queueArn?: string | undefined;
                    serviceAccountId?: string | undefined;
                    visibilityTimeout?: ({
                        seconds?: number | undefined;
                        nanos?: number | undefined;
                    } & {
                        seconds?: number | undefined;
                        nanos?: number | undefined;
                    } & Record<Exclude<keyof I["connectors"][number]["source"]["messageQueue"]["visibilityTimeout"], keyof import("../../../../../google/protobuf/duration").Duration>, never>) | undefined;
                    batchSize?: number | undefined;
                    pollingTimeout?: ({
                        seconds?: number | undefined;
                        nanos?: number | undefined;
                    } & {
                        seconds?: number | undefined;
                        nanos?: number | undefined;
                    } & Record<Exclude<keyof I["connectors"][number]["source"]["messageQueue"]["pollingTimeout"], keyof import("../../../../../google/protobuf/duration").Duration>, never>) | undefined;
                } & Record<Exclude<keyof I["connectors"][number]["source"]["messageQueue"], keyof import("../../../../../yandex/cloud/serverless/eventrouter/v1/connector").MessageQueue>, never>) | undefined;
                timer?: ({
                    cronExpression?: string | undefined;
                    timeZone?: string | undefined;
                    payload?: string | undefined;
                } & {
                    cronExpression?: string | undefined;
                    timeZone?: string | undefined;
                    payload?: string | undefined;
                } & Record<Exclude<keyof I["connectors"][number]["source"]["timer"], keyof import("../../../../../yandex/cloud/serverless/eventrouter/v1/connector").Timer>, never>) | undefined;
            } & Record<Exclude<keyof I["connectors"][number]["source"], keyof Source>, never>) | undefined;
            deletionProtection?: boolean | undefined;
            status?: import("../../../../../yandex/cloud/serverless/eventrouter/v1/connector").Connector_Status | undefined;
        } & Record<Exclude<keyof I["connectors"][number], keyof Connector>, never>)[] & Record<Exclude<keyof I["connectors"], keyof {
            id?: string | undefined;
            busId?: string | undefined;
            folderId?: string | undefined;
            cloudId?: string | undefined;
            createdAt?: Date | undefined;
            name?: string | undefined;
            description?: string | undefined;
            labels?: {
                [x: string]: string | undefined;
            } | undefined;
            source?: {
                dataStream?: {
                    database?: string | undefined;
                    streamName?: string | undefined;
                    consumer?: string | undefined;
                    serviceAccountId?: string | undefined;
                } | undefined;
                messageQueue?: {
                    queueArn?: string | undefined;
                    serviceAccountId?: string | undefined;
                    visibilityTimeout?: {
                        seconds?: number | undefined;
                        nanos?: number | undefined;
                    } | undefined;
                    batchSize?: number | undefined;
                    pollingTimeout?: {
                        seconds?: number | undefined;
                        nanos?: number | undefined;
                    } | undefined;
                } | undefined;
                timer?: {
                    cronExpression?: string | undefined;
                    timeZone?: string | undefined;
                    payload?: string | undefined;
                } | undefined;
            } | undefined;
            deletionProtection?: boolean | undefined;
            status?: import("../../../../../yandex/cloud/serverless/eventrouter/v1/connector").Connector_Status | undefined;
        }[]>, never>) | undefined;
        nextPageToken?: string | undefined;
    } & Record<Exclude<keyof I, keyof ListConnectorsResponse>, never>>(object: I): ListConnectorsResponse;
};
export declare const CreateConnectorRequest: {
    encode(message: CreateConnectorRequest, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): CreateConnectorRequest;
    fromJSON(object: any): CreateConnectorRequest;
    toJSON(message: CreateConnectorRequest): unknown;
    fromPartial<I extends {
        busId?: string | undefined;
        name?: string | undefined;
        description?: string | undefined;
        labels?: {
            [x: string]: string | undefined;
        } | undefined;
        source?: {
            dataStream?: {
                database?: string | undefined;
                streamName?: string | undefined;
                consumer?: string | undefined;
                serviceAccountId?: string | undefined;
            } | undefined;
            messageQueue?: {
                queueArn?: string | undefined;
                serviceAccountId?: string | undefined;
                visibilityTimeout?: {
                    seconds?: number | undefined;
                    nanos?: number | undefined;
                } | undefined;
                batchSize?: number | undefined;
                pollingTimeout?: {
                    seconds?: number | undefined;
                    nanos?: number | undefined;
                } | undefined;
            } | undefined;
            timer?: {
                cronExpression?: string | undefined;
                timeZone?: string | undefined;
                payload?: string | undefined;
            } | undefined;
        } | undefined;
        deletionProtection?: boolean | undefined;
    } & {
        busId?: string | undefined;
        name?: string | undefined;
        description?: string | undefined;
        labels?: ({
            [x: string]: string | undefined;
        } & {
            [x: string]: string | undefined;
        } & Record<Exclude<keyof I["labels"], string | number>, never>) | undefined;
        source?: ({
            dataStream?: {
                database?: string | undefined;
                streamName?: string | undefined;
                consumer?: string | undefined;
                serviceAccountId?: string | undefined;
            } | undefined;
            messageQueue?: {
                queueArn?: string | undefined;
                serviceAccountId?: string | undefined;
                visibilityTimeout?: {
                    seconds?: number | undefined;
                    nanos?: number | undefined;
                } | undefined;
                batchSize?: number | undefined;
                pollingTimeout?: {
                    seconds?: number | undefined;
                    nanos?: number | undefined;
                } | undefined;
            } | undefined;
            timer?: {
                cronExpression?: string | undefined;
                timeZone?: string | undefined;
                payload?: string | undefined;
            } | undefined;
        } & {
            dataStream?: ({
                database?: string | undefined;
                streamName?: string | undefined;
                consumer?: string | undefined;
                serviceAccountId?: string | undefined;
            } & {
                database?: string | undefined;
                streamName?: string | undefined;
                consumer?: string | undefined;
                serviceAccountId?: string | undefined;
            } & Record<Exclude<keyof I["source"]["dataStream"], keyof import("../../../../../yandex/cloud/serverless/eventrouter/v1/connector").DataStream>, never>) | undefined;
            messageQueue?: ({
                queueArn?: string | undefined;
                serviceAccountId?: string | undefined;
                visibilityTimeout?: {
                    seconds?: number | undefined;
                    nanos?: number | undefined;
                } | undefined;
                batchSize?: number | undefined;
                pollingTimeout?: {
                    seconds?: number | undefined;
                    nanos?: number | undefined;
                } | undefined;
            } & {
                queueArn?: string | undefined;
                serviceAccountId?: string | undefined;
                visibilityTimeout?: ({
                    seconds?: number | undefined;
                    nanos?: number | undefined;
                } & {
                    seconds?: number | undefined;
                    nanos?: number | undefined;
                } & Record<Exclude<keyof I["source"]["messageQueue"]["visibilityTimeout"], keyof import("../../../../../google/protobuf/duration").Duration>, never>) | undefined;
                batchSize?: number | undefined;
                pollingTimeout?: ({
                    seconds?: number | undefined;
                    nanos?: number | undefined;
                } & {
                    seconds?: number | undefined;
                    nanos?: number | undefined;
                } & Record<Exclude<keyof I["source"]["messageQueue"]["pollingTimeout"], keyof import("../../../../../google/protobuf/duration").Duration>, never>) | undefined;
            } & Record<Exclude<keyof I["source"]["messageQueue"], keyof import("../../../../../yandex/cloud/serverless/eventrouter/v1/connector").MessageQueue>, never>) | undefined;
            timer?: ({
                cronExpression?: string | undefined;
                timeZone?: string | undefined;
                payload?: string | undefined;
            } & {
                cronExpression?: string | undefined;
                timeZone?: string | undefined;
                payload?: string | undefined;
            } & Record<Exclude<keyof I["source"]["timer"], keyof import("../../../../../yandex/cloud/serverless/eventrouter/v1/connector").Timer>, never>) | undefined;
        } & Record<Exclude<keyof I["source"], keyof Source>, never>) | undefined;
        deletionProtection?: boolean | undefined;
    } & Record<Exclude<keyof I, keyof CreateConnectorRequest>, never>>(object: I): CreateConnectorRequest;
};
export declare const CreateConnectorRequest_LabelsEntry: {
    encode(message: CreateConnectorRequest_LabelsEntry, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): CreateConnectorRequest_LabelsEntry;
    fromJSON(object: any): CreateConnectorRequest_LabelsEntry;
    toJSON(message: CreateConnectorRequest_LabelsEntry): unknown;
    fromPartial<I extends {
        key?: string | undefined;
        value?: string | undefined;
    } & {
        key?: string | undefined;
        value?: string | undefined;
    } & Record<Exclude<keyof I, keyof CreateConnectorRequest_LabelsEntry>, never>>(object: I): CreateConnectorRequest_LabelsEntry;
};
export declare const CreateConnectorMetadata: {
    encode(message: CreateConnectorMetadata, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): CreateConnectorMetadata;
    fromJSON(object: any): CreateConnectorMetadata;
    toJSON(message: CreateConnectorMetadata): unknown;
    fromPartial<I extends {
        connectorId?: string | undefined;
        busId?: string | undefined;
    } & {
        connectorId?: string | undefined;
        busId?: string | undefined;
    } & Record<Exclude<keyof I, keyof CreateConnectorMetadata>, never>>(object: I): CreateConnectorMetadata;
};
export declare const UpdateConnectorRequest: {
    encode(message: UpdateConnectorRequest, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): UpdateConnectorRequest;
    fromJSON(object: any): UpdateConnectorRequest;
    toJSON(message: UpdateConnectorRequest): unknown;
    fromPartial<I extends {
        connectorId?: string | undefined;
        updateMask?: {
            paths?: string[] | undefined;
        } | undefined;
        name?: string | undefined;
        description?: string | undefined;
        labels?: {
            [x: string]: string | undefined;
        } | undefined;
        deletionProtection?: boolean | undefined;
    } & {
        connectorId?: string | undefined;
        updateMask?: ({
            paths?: string[] | undefined;
        } & {
            paths?: (string[] & string[] & Record<Exclude<keyof I["updateMask"]["paths"], keyof string[]>, never>) | undefined;
        } & Record<Exclude<keyof I["updateMask"], "paths">, never>) | undefined;
        name?: string | undefined;
        description?: string | undefined;
        labels?: ({
            [x: string]: string | undefined;
        } & {
            [x: string]: string | undefined;
        } & Record<Exclude<keyof I["labels"], string | number>, never>) | undefined;
        deletionProtection?: boolean | undefined;
    } & Record<Exclude<keyof I, keyof UpdateConnectorRequest>, never>>(object: I): UpdateConnectorRequest;
};
export declare const UpdateConnectorRequest_LabelsEntry: {
    encode(message: UpdateConnectorRequest_LabelsEntry, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): UpdateConnectorRequest_LabelsEntry;
    fromJSON(object: any): UpdateConnectorRequest_LabelsEntry;
    toJSON(message: UpdateConnectorRequest_LabelsEntry): unknown;
    fromPartial<I extends {
        key?: string | undefined;
        value?: string | undefined;
    } & {
        key?: string | undefined;
        value?: string | undefined;
    } & Record<Exclude<keyof I, keyof UpdateConnectorRequest_LabelsEntry>, never>>(object: I): UpdateConnectorRequest_LabelsEntry;
};
export declare const UpdateConnectorMetadata: {
    encode(message: UpdateConnectorMetadata, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): UpdateConnectorMetadata;
    fromJSON(object: any): UpdateConnectorMetadata;
    toJSON(message: UpdateConnectorMetadata): unknown;
    fromPartial<I extends {
        connectorId?: string | undefined;
    } & {
        connectorId?: string | undefined;
    } & Record<Exclude<keyof I, "connectorId">, never>>(object: I): UpdateConnectorMetadata;
};
export declare const DeleteConnectorRequest: {
    encode(message: DeleteConnectorRequest, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): DeleteConnectorRequest;
    fromJSON(object: any): DeleteConnectorRequest;
    toJSON(message: DeleteConnectorRequest): unknown;
    fromPartial<I extends {
        connectorId?: string | undefined;
    } & {
        connectorId?: string | undefined;
    } & Record<Exclude<keyof I, "connectorId">, never>>(object: I): DeleteConnectorRequest;
};
export declare const DeleteConnectorMetadata: {
    encode(message: DeleteConnectorMetadata, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): DeleteConnectorMetadata;
    fromJSON(object: any): DeleteConnectorMetadata;
    toJSON(message: DeleteConnectorMetadata): unknown;
    fromPartial<I extends {
        connectorId?: string | undefined;
    } & {
        connectorId?: string | undefined;
    } & Record<Exclude<keyof I, "connectorId">, never>>(object: I): DeleteConnectorMetadata;
};
export declare const ListConnectorOperationsRequest: {
    encode(message: ListConnectorOperationsRequest, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): ListConnectorOperationsRequest;
    fromJSON(object: any): ListConnectorOperationsRequest;
    toJSON(message: ListConnectorOperationsRequest): unknown;
    fromPartial<I extends {
        connectorId?: string | undefined;
        pageSize?: number | undefined;
        pageToken?: string | undefined;
        filter?: string | undefined;
    } & {
        connectorId?: string | undefined;
        pageSize?: number | undefined;
        pageToken?: string | undefined;
        filter?: string | undefined;
    } & Record<Exclude<keyof I, keyof ListConnectorOperationsRequest>, never>>(object: I): ListConnectorOperationsRequest;
};
export declare const ListConnectorOperationsResponse: {
    encode(message: ListConnectorOperationsResponse, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): ListConnectorOperationsResponse;
    fromJSON(object: any): ListConnectorOperationsResponse;
    toJSON(message: ListConnectorOperationsResponse): unknown;
    fromPartial<I extends {
        operations?: {
            id?: string | undefined;
            description?: string | undefined;
            createdAt?: Date | undefined;
            createdBy?: string | undefined;
            modifiedAt?: Date | undefined;
            done?: boolean | undefined;
            metadata?: {
                typeUrl?: string | undefined;
                value?: Buffer | undefined;
            } | undefined;
            error?: {
                code?: number | undefined;
                message?: string | undefined;
                details?: {
                    typeUrl?: string | undefined;
                    value?: Buffer | undefined;
                }[] | undefined;
            } | undefined;
            response?: {
                typeUrl?: string | undefined;
                value?: Buffer | undefined;
            } | undefined;
        }[] | undefined;
        nextPageToken?: string | undefined;
    } & {
        operations?: ({
            id?: string | undefined;
            description?: string | undefined;
            createdAt?: Date | undefined;
            createdBy?: string | undefined;
            modifiedAt?: Date | undefined;
            done?: boolean | undefined;
            metadata?: {
                typeUrl?: string | undefined;
                value?: Buffer | undefined;
            } | undefined;
            error?: {
                code?: number | undefined;
                message?: string | undefined;
                details?: {
                    typeUrl?: string | undefined;
                    value?: Buffer | undefined;
                }[] | undefined;
            } | undefined;
            response?: {
                typeUrl?: string | undefined;
                value?: Buffer | undefined;
            } | undefined;
        }[] & ({
            id?: string | undefined;
            description?: string | undefined;
            createdAt?: Date | undefined;
            createdBy?: string | undefined;
            modifiedAt?: Date | undefined;
            done?: boolean | undefined;
            metadata?: {
                typeUrl?: string | undefined;
                value?: Buffer | undefined;
            } | undefined;
            error?: {
                code?: number | undefined;
                message?: string | undefined;
                details?: {
                    typeUrl?: string | undefined;
                    value?: Buffer | undefined;
                }[] | undefined;
            } | undefined;
            response?: {
                typeUrl?: string | undefined;
                value?: Buffer | undefined;
            } | undefined;
        } & {
            id?: string | undefined;
            description?: string | undefined;
            createdAt?: Date | undefined;
            createdBy?: string | undefined;
            modifiedAt?: Date | undefined;
            done?: boolean | undefined;
            metadata?: ({
                typeUrl?: string | undefined;
                value?: Buffer | undefined;
            } & {
                typeUrl?: string | undefined;
                value?: Buffer | undefined;
            } & Record<Exclude<keyof I["operations"][number]["metadata"], keyof import("../../../../../google/protobuf/any").Any>, never>) | undefined;
            error?: ({
                code?: number | undefined;
                message?: string | undefined;
                details?: {
                    typeUrl?: string | undefined;
                    value?: Buffer | undefined;
                }[] | undefined;
            } & {
                code?: number | undefined;
                message?: string | undefined;
                details?: ({
                    typeUrl?: string | undefined;
                    value?: Buffer | undefined;
                }[] & ({
                    typeUrl?: string | undefined;
                    value?: Buffer | undefined;
                } & {
                    typeUrl?: string | undefined;
                    value?: Buffer | undefined;
                } & Record<Exclude<keyof I["operations"][number]["error"]["details"][number], keyof import("../../../../../google/protobuf/any").Any>, never>)[] & Record<Exclude<keyof I["operations"][number]["error"]["details"], keyof {
                    typeUrl?: string | undefined;
                    value?: Buffer | undefined;
                }[]>, never>) | undefined;
            } & Record<Exclude<keyof I["operations"][number]["error"], keyof import("../../../../../google/rpc/status").Status>, never>) | undefined;
            response?: ({
                typeUrl?: string | undefined;
                value?: Buffer | undefined;
            } & {
                typeUrl?: string | undefined;
                value?: Buffer | undefined;
            } & Record<Exclude<keyof I["operations"][number]["response"], keyof import("../../../../../google/protobuf/any").Any>, never>) | undefined;
        } & Record<Exclude<keyof I["operations"][number], keyof Operation>, never>)[] & Record<Exclude<keyof I["operations"], keyof {
            id?: string | undefined;
            description?: string | undefined;
            createdAt?: Date | undefined;
            createdBy?: string | undefined;
            modifiedAt?: Date | undefined;
            done?: boolean | undefined;
            metadata?: {
                typeUrl?: string | undefined;
                value?: Buffer | undefined;
            } | undefined;
            error?: {
                code?: number | undefined;
                message?: string | undefined;
                details?: {
                    typeUrl?: string | undefined;
                    value?: Buffer | undefined;
                }[] | undefined;
            } | undefined;
            response?: {
                typeUrl?: string | undefined;
                value?: Buffer | undefined;
            } | undefined;
        }[]>, never>) | undefined;
        nextPageToken?: string | undefined;
    } & Record<Exclude<keyof I, keyof ListConnectorOperationsResponse>, never>>(object: I): ListConnectorOperationsResponse;
};
export declare const StartConnectorRequest: {
    encode(message: StartConnectorRequest, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): StartConnectorRequest;
    fromJSON(object: any): StartConnectorRequest;
    toJSON(message: StartConnectorRequest): unknown;
    fromPartial<I extends {
        connectorId?: string | undefined;
    } & {
        connectorId?: string | undefined;
    } & Record<Exclude<keyof I, "connectorId">, never>>(object: I): StartConnectorRequest;
};
export declare const StartConnectorMetadata: {
    encode(message: StartConnectorMetadata, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): StartConnectorMetadata;
    fromJSON(object: any): StartConnectorMetadata;
    toJSON(message: StartConnectorMetadata): unknown;
    fromPartial<I extends {
        connectorId?: string | undefined;
    } & {
        connectorId?: string | undefined;
    } & Record<Exclude<keyof I, "connectorId">, never>>(object: I): StartConnectorMetadata;
};
export declare const StopConnectorRequest: {
    encode(message: StopConnectorRequest, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): StopConnectorRequest;
    fromJSON(object: any): StopConnectorRequest;
    toJSON(message: StopConnectorRequest): unknown;
    fromPartial<I extends {
        connectorId?: string | undefined;
    } & {
        connectorId?: string | undefined;
    } & Record<Exclude<keyof I, "connectorId">, never>>(object: I): StopConnectorRequest;
};
export declare const StopConnectorMetadata: {
    encode(message: StopConnectorMetadata, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): StopConnectorMetadata;
    fromJSON(object: any): StopConnectorMetadata;
    toJSON(message: StopConnectorMetadata): unknown;
    fromPartial<I extends {
        connectorId?: string | undefined;
    } & {
        connectorId?: string | undefined;
    } & Record<Exclude<keyof I, "connectorId">, never>>(object: I): StopConnectorMetadata;
};
/** A set of methods for managing connectors for serverless eventrouter. */
export declare const ConnectorServiceService: {
    /**
     * Returns the specified bus.
     * To get the list of all available connectors, make a [List] request.
     */
    readonly get: {
        readonly path: "/yandex.cloud.serverless.eventrouter.v1.ConnectorService/Get";
        readonly requestStream: false;
        readonly responseStream: false;
        readonly requestSerialize: (value: GetConnectorRequest) => Buffer;
        readonly requestDeserialize: (value: Buffer) => GetConnectorRequest;
        readonly responseSerialize: (value: Connector) => Buffer;
        readonly responseDeserialize: (value: Buffer) => Connector;
    };
    /** Retrieves the list of connectors in the specified folder. */
    readonly list: {
        readonly path: "/yandex.cloud.serverless.eventrouter.v1.ConnectorService/List";
        readonly requestStream: false;
        readonly responseStream: false;
        readonly requestSerialize: (value: ListConnectorsRequest) => Buffer;
        readonly requestDeserialize: (value: Buffer) => ListConnectorsRequest;
        readonly responseSerialize: (value: ListConnectorsResponse) => Buffer;
        readonly responseDeserialize: (value: Buffer) => ListConnectorsResponse;
    };
    /** Creates a connector in the specified folder. */
    readonly create: {
        readonly path: "/yandex.cloud.serverless.eventrouter.v1.ConnectorService/Create";
        readonly requestStream: false;
        readonly responseStream: false;
        readonly requestSerialize: (value: CreateConnectorRequest) => Buffer;
        readonly requestDeserialize: (value: Buffer) => CreateConnectorRequest;
        readonly responseSerialize: (value: Operation) => Buffer;
        readonly responseDeserialize: (value: Buffer) => Operation;
    };
    /** Updates the specified connector. */
    readonly update: {
        readonly path: "/yandex.cloud.serverless.eventrouter.v1.ConnectorService/Update";
        readonly requestStream: false;
        readonly responseStream: false;
        readonly requestSerialize: (value: UpdateConnectorRequest) => Buffer;
        readonly requestDeserialize: (value: Buffer) => UpdateConnectorRequest;
        readonly responseSerialize: (value: Operation) => Buffer;
        readonly responseDeserialize: (value: Buffer) => Operation;
    };
    /** Deletes the specified connector. */
    readonly delete: {
        readonly path: "/yandex.cloud.serverless.eventrouter.v1.ConnectorService/Delete";
        readonly requestStream: false;
        readonly responseStream: false;
        readonly requestSerialize: (value: DeleteConnectorRequest) => Buffer;
        readonly requestDeserialize: (value: Buffer) => DeleteConnectorRequest;
        readonly responseSerialize: (value: Operation) => Buffer;
        readonly responseDeserialize: (value: Buffer) => Operation;
    };
    /** Starts the specified connector. */
    readonly start: {
        readonly path: "/yandex.cloud.serverless.eventrouter.v1.ConnectorService/Start";
        readonly requestStream: false;
        readonly responseStream: false;
        readonly requestSerialize: (value: StartConnectorRequest) => Buffer;
        readonly requestDeserialize: (value: Buffer) => StartConnectorRequest;
        readonly responseSerialize: (value: Operation) => Buffer;
        readonly responseDeserialize: (value: Buffer) => Operation;
    };
    /** Stops the specified connector. */
    readonly stop: {
        readonly path: "/yandex.cloud.serverless.eventrouter.v1.ConnectorService/Stop";
        readonly requestStream: false;
        readonly responseStream: false;
        readonly requestSerialize: (value: StopConnectorRequest) => Buffer;
        readonly requestDeserialize: (value: Buffer) => StopConnectorRequest;
        readonly responseSerialize: (value: Operation) => Buffer;
        readonly responseDeserialize: (value: Buffer) => Operation;
    };
    /** Lists existing access bindings for the specified bus. */
    readonly listAccessBindings: {
        readonly path: "/yandex.cloud.serverless.eventrouter.v1.ConnectorService/ListAccessBindings";
        readonly requestStream: false;
        readonly responseStream: false;
        readonly requestSerialize: (value: ListAccessBindingsRequest) => Buffer;
        readonly requestDeserialize: (value: Buffer) => ListAccessBindingsRequest;
        readonly responseSerialize: (value: ListAccessBindingsResponse) => Buffer;
        readonly responseDeserialize: (value: Buffer) => ListAccessBindingsResponse;
    };
    /** Sets access bindings for the connector. */
    readonly setAccessBindings: {
        readonly path: "/yandex.cloud.serverless.eventrouter.v1.ConnectorService/SetAccessBindings";
        readonly requestStream: false;
        readonly responseStream: false;
        readonly requestSerialize: (value: SetAccessBindingsRequest) => Buffer;
        readonly requestDeserialize: (value: Buffer) => SetAccessBindingsRequest;
        readonly responseSerialize: (value: Operation) => Buffer;
        readonly responseDeserialize: (value: Buffer) => Operation;
    };
    /** Updates access bindings for the specified connector. */
    readonly updateAccessBindings: {
        readonly path: "/yandex.cloud.serverless.eventrouter.v1.ConnectorService/UpdateAccessBindings";
        readonly requestStream: false;
        readonly responseStream: false;
        readonly requestSerialize: (value: UpdateAccessBindingsRequest) => Buffer;
        readonly requestDeserialize: (value: Buffer) => UpdateAccessBindingsRequest;
        readonly responseSerialize: (value: Operation) => Buffer;
        readonly responseDeserialize: (value: Buffer) => Operation;
    };
    /** Lists operations for the specified connector. */
    readonly listOperations: {
        readonly path: "/yandex.cloud.serverless.eventrouter.v1.ConnectorService/ListOperations";
        readonly requestStream: false;
        readonly responseStream: false;
        readonly requestSerialize: (value: ListConnectorOperationsRequest) => Buffer;
        readonly requestDeserialize: (value: Buffer) => ListConnectorOperationsRequest;
        readonly responseSerialize: (value: ListConnectorOperationsResponse) => Buffer;
        readonly responseDeserialize: (value: Buffer) => ListConnectorOperationsResponse;
    };
};
export interface ConnectorServiceServer extends UntypedServiceImplementation {
    /**
     * Returns the specified bus.
     * To get the list of all available connectors, make a [List] request.
     */
    get: handleUnaryCall<GetConnectorRequest, Connector>;
    /** Retrieves the list of connectors in the specified folder. */
    list: handleUnaryCall<ListConnectorsRequest, ListConnectorsResponse>;
    /** Creates a connector in the specified folder. */
    create: handleUnaryCall<CreateConnectorRequest, Operation>;
    /** Updates the specified connector. */
    update: handleUnaryCall<UpdateConnectorRequest, Operation>;
    /** Deletes the specified connector. */
    delete: handleUnaryCall<DeleteConnectorRequest, Operation>;
    /** Starts the specified connector. */
    start: handleUnaryCall<StartConnectorRequest, Operation>;
    /** Stops the specified connector. */
    stop: handleUnaryCall<StopConnectorRequest, Operation>;
    /** Lists existing access bindings for the specified bus. */
    listAccessBindings: handleUnaryCall<ListAccessBindingsRequest, ListAccessBindingsResponse>;
    /** Sets access bindings for the connector. */
    setAccessBindings: handleUnaryCall<SetAccessBindingsRequest, Operation>;
    /** Updates access bindings for the specified connector. */
    updateAccessBindings: handleUnaryCall<UpdateAccessBindingsRequest, Operation>;
    /** Lists operations for the specified connector. */
    listOperations: handleUnaryCall<ListConnectorOperationsRequest, ListConnectorOperationsResponse>;
}
export interface ConnectorServiceClient extends Client {
    /**
     * Returns the specified bus.
     * To get the list of all available connectors, make a [List] request.
     */
    get(request: GetConnectorRequest, callback: (error: ServiceError | null, response: Connector) => void): ClientUnaryCall;
    get(request: GetConnectorRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Connector) => void): ClientUnaryCall;
    get(request: GetConnectorRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: Connector) => void): ClientUnaryCall;
    /** Retrieves the list of connectors in the specified folder. */
    list(request: ListConnectorsRequest, callback: (error: ServiceError | null, response: ListConnectorsResponse) => void): ClientUnaryCall;
    list(request: ListConnectorsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: ListConnectorsResponse) => void): ClientUnaryCall;
    list(request: ListConnectorsRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: ListConnectorsResponse) => void): ClientUnaryCall;
    /** Creates a connector in the specified folder. */
    create(request: CreateConnectorRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
    create(request: CreateConnectorRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
    create(request: CreateConnectorRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
    /** Updates the specified connector. */
    update(request: UpdateConnectorRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
    update(request: UpdateConnectorRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
    update(request: UpdateConnectorRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
    /** Deletes the specified connector. */
    delete(request: DeleteConnectorRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
    delete(request: DeleteConnectorRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
    delete(request: DeleteConnectorRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
    /** Starts the specified connector. */
    start(request: StartConnectorRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
    start(request: StartConnectorRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
    start(request: StartConnectorRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
    /** Stops the specified connector. */
    stop(request: StopConnectorRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
    stop(request: StopConnectorRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
    stop(request: StopConnectorRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
    /** Lists existing access bindings for the specified bus. */
    listAccessBindings(request: ListAccessBindingsRequest, callback: (error: ServiceError | null, response: ListAccessBindingsResponse) => void): ClientUnaryCall;
    listAccessBindings(request: ListAccessBindingsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: ListAccessBindingsResponse) => void): ClientUnaryCall;
    listAccessBindings(request: ListAccessBindingsRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: ListAccessBindingsResponse) => void): ClientUnaryCall;
    /** Sets access bindings for the connector. */
    setAccessBindings(request: SetAccessBindingsRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
    setAccessBindings(request: SetAccessBindingsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
    setAccessBindings(request: SetAccessBindingsRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
    /** Updates access bindings for the specified connector. */
    updateAccessBindings(request: UpdateAccessBindingsRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
    updateAccessBindings(request: UpdateAccessBindingsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
    updateAccessBindings(request: UpdateAccessBindingsRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
    /** Lists operations for the specified connector. */
    listOperations(request: ListConnectorOperationsRequest, callback: (error: ServiceError | null, response: ListConnectorOperationsResponse) => void): ClientUnaryCall;
    listOperations(request: ListConnectorOperationsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: ListConnectorOperationsResponse) => void): ClientUnaryCall;
    listOperations(request: ListConnectorOperationsRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: ListConnectorOperationsResponse) => void): ClientUnaryCall;
}
export declare const ConnectorServiceClient: {
    new (address: string, credentials: ChannelCredentials, options?: Partial<ChannelOptions>): ConnectorServiceClient;
    service: typeof ConnectorServiceService;
};
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
export type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? 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]>;
} & Record<Exclude<keyof I, KeysOfUnion<P>>, never>;
export {};
