/// <reference types="node" />
import { ChannelCredentials, ChannelOptions, UntypedServiceImplementation, handleUnaryCall, Client, ClientUnaryCall, Metadata, CallOptions, ServiceError } from '@grpc/grpc-js';
import _m0 from 'protobufjs/minimal';
import { WorkflowSpecification, LogOptions, Workflow, WorkflowPreview } from '../../../../../yandex/cloud/serverless/workflows/v1/workflow';
import { FieldMask } from '../../../../../google/protobuf/field_mask';
import { Operation } from '../../../../../yandex/cloud/operation/operation';
export declare const protobufPackage = "yandex.cloud.serverless.workflows.v1";
export interface CreateWorkflowRequest {
    /** ID of the folder to create Workflow in. */
    folderId: string;
    /**
     * Name of Workflow.
     * The name must be unique within the folder.
     */
    name: string;
    /** Description of Workflow. */
    description: string;
    /** Workflow labels as `key:value` pairs. */
    labels: {
        [key: string]: string;
    };
    /** Specification of Workflow */
    specification?: WorkflowSpecification;
    /** Options for logging from Workflow. */
    logOptions?: LogOptions;
    /** ID of the VPC network Workflow will be executed in, in order to access private resources. */
    networkId: string;
    /** ID of the Service Account which will be used for resources access in Workflow execution. */
    serviceAccountId: string;
}
export interface CreateWorkflowRequest_LabelsEntry {
    key: string;
    value: string;
}
export interface CreateWorkflowMetadata {
    /** ID of the Workflow. */
    workflowId: string;
}
export interface UpdateWorkflowRequest {
    /** ID of the Workflow. */
    workflowId: string;
    /** Name of the Workflow. The name is unique within the folder. */
    name: string;
    /** Description of the Workflow. */
    description: string;
    /** Workflow labels as `key:value` pairs. */
    labels: {
        [key: string]: string;
    };
    /** Specification of the Workflow. */
    specification?: WorkflowSpecification;
    /** Options for logging from the Workflow. */
    logOptions?: LogOptions;
    /** ID of the VPC network Workflow will be executed in, in order to access private resources. */
    networkId: string;
    /** ID of the Service Account which will be used for resources access in Workflow execution. */
    serviceAccountId: string;
    /** Field mask that specifies which fields of the Workflow should be updated. */
    updateMask?: FieldMask;
}
export interface UpdateWorkflowRequest_LabelsEntry {
    key: string;
    value: string;
}
export interface UpdateWorkflowMetadata {
    /** ID of the Workflow. */
    workflowId: string;
}
export interface GetWorkflowRequest {
    /** ID of the Workflow. */
    workflowId: string;
}
export interface GetWorkflowResponse {
    /** Workflow properties. */
    workflow?: Workflow;
}
export interface DeleteWorkflowRequest {
    /** ID of the Workflow. */
    workflowId: string;
}
export interface DeleteWorkflowMetadata {
    /** ID of the Workflow. */
    workflowId: string;
}
export interface ListWorkflowsRequest {
    /** ID of the folder to list Workflows in. */
    folderId: string;
    /**
     * The maximum number of results per page to return. If the number of available
     * results is larger than `pageSize`, the service returns a [ListWorkflowsResponse.next_page_token]
     * that can be used to get the next page of results in subsequent list requests.
     *
     * Default value: 100.
     */
    pageSize: number;
    /**
     * Page token. To get the next page of results, set `pageToken` to the
     * [ListWorkflowsResponse.next_page_token] returned by a previous list request.
     */
    pageToken: string;
    /**
     * A filter expression that filters functions listed in the response.
     *
     * The expression must specify:
     * 1. The field name. Currently filtering can only be applied to following fields: name, created_at.
     * 2. An `=` operator.
     * 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z]([-a-z0-9]{0,61}[a-z0-9])?`.
     * Example of a filter: `name=my-workflow`.
     */
    filter: string;
}
export interface ListWorkflowsResponse {
    /** List of Workflows. */
    workflows: WorkflowPreview[];
    /**
     * Token for getting the next page of the list. If the number of results is greater than
     * the specified [ListWorkflowsRequest.page_size], use `next_page_token` as the value
     * for the [ListWorkflowsRequest.page_token] parameter in the next list request.
     *
     * Each subsequent page will have its own `next_page_token` to continue paging through the results.
     */
    nextPageToken: string;
}
export interface ListOperationsRequest {
    /** ID of the Workflow to list operations for. */
    workflowId: string;
    /**
     * The maximum number of results per page that should be returned. If the number of available
     * results is larger than `pageSize`, the service returns a [ListOperationsResponse.next_page_token]
     * that can be used to get the next page of results in subsequent list requests.
     *
     * Default value: 100.
     */
    pageSize: number;
    /**
     * Page token. To get the next page of results, set `pageToken` to the
     * [ListOperationsResponse.next_page_token] returned by a previous list request.
     */
    pageToken: string;
    /**
     * A filter expression that filters resources listed in the response.
     *
     * The expression must specify:
     * 1. The field name. Currently filtering can be applied to the [operation.Operation.done], [operation.Operation.created_by] field.
     * 2. An `=` operator.
     * 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
     * Examples of a filter: `done=false`, `created_by='John.Doe'`.
     */
    filter: string;
}
export interface ListOperationsResponse {
    /** List of operations for the specified Workflow. */
    operations: Operation[];
    /**
     * Token for getting the next page of the list. If the number of results is greater than
     * the specified [ListOperationsRequest.page_size], use `next_page_token` as the value
     * for the [ListOperationsRequest.page_token] parameter in the next list request.
     *
     * Each subsequent page will have its own `next_page_token` to continue paging through the results.
     */
    nextPageToken: string;
}
export declare const CreateWorkflowRequest: {
    encode(message: CreateWorkflowRequest, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): CreateWorkflowRequest;
    fromJSON(object: any): CreateWorkflowRequest;
    toJSON(message: CreateWorkflowRequest): unknown;
    fromPartial<I extends {
        folderId?: string | undefined;
        name?: string | undefined;
        description?: string | undefined;
        labels?: {
            [x: string]: string | undefined;
        } | undefined;
        specification?: {
            specYaml?: string | undefined;
        } | undefined;
        logOptions?: {
            disabled?: boolean | undefined;
            logGroupId?: string | undefined;
            folderId?: string | undefined;
            minLevel?: import("../../../logging/v1/log_entry").LogLevel_Level | undefined;
        } | undefined;
        networkId?: string | undefined;
        serviceAccountId?: string | undefined;
    } & {
        folderId?: 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;
        specification?: ({
            specYaml?: string | undefined;
        } & {
            specYaml?: string | undefined;
        } & Record<Exclude<keyof I["specification"], "specYaml">, never>) | undefined;
        logOptions?: ({
            disabled?: boolean | undefined;
            logGroupId?: string | undefined;
            folderId?: string | undefined;
            minLevel?: import("../../../logging/v1/log_entry").LogLevel_Level | undefined;
        } & {
            disabled?: boolean | undefined;
            logGroupId?: string | undefined;
            folderId?: string | undefined;
            minLevel?: import("../../../logging/v1/log_entry").LogLevel_Level | undefined;
        } & Record<Exclude<keyof I["logOptions"], keyof LogOptions>, never>) | undefined;
        networkId?: string | undefined;
        serviceAccountId?: string | undefined;
    } & Record<Exclude<keyof I, keyof CreateWorkflowRequest>, never>>(object: I): CreateWorkflowRequest;
};
export declare const CreateWorkflowRequest_LabelsEntry: {
    encode(message: CreateWorkflowRequest_LabelsEntry, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): CreateWorkflowRequest_LabelsEntry;
    fromJSON(object: any): CreateWorkflowRequest_LabelsEntry;
    toJSON(message: CreateWorkflowRequest_LabelsEntry): unknown;
    fromPartial<I extends {
        key?: string | undefined;
        value?: string | undefined;
    } & {
        key?: string | undefined;
        value?: string | undefined;
    } & Record<Exclude<keyof I, keyof CreateWorkflowRequest_LabelsEntry>, never>>(object: I): CreateWorkflowRequest_LabelsEntry;
};
export declare const CreateWorkflowMetadata: {
    encode(message: CreateWorkflowMetadata, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): CreateWorkflowMetadata;
    fromJSON(object: any): CreateWorkflowMetadata;
    toJSON(message: CreateWorkflowMetadata): unknown;
    fromPartial<I extends {
        workflowId?: string | undefined;
    } & {
        workflowId?: string | undefined;
    } & Record<Exclude<keyof I, "workflowId">, never>>(object: I): CreateWorkflowMetadata;
};
export declare const UpdateWorkflowRequest: {
    encode(message: UpdateWorkflowRequest, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): UpdateWorkflowRequest;
    fromJSON(object: any): UpdateWorkflowRequest;
    toJSON(message: UpdateWorkflowRequest): unknown;
    fromPartial<I extends {
        workflowId?: string | undefined;
        name?: string | undefined;
        description?: string | undefined;
        labels?: {
            [x: string]: string | undefined;
        } | undefined;
        specification?: {
            specYaml?: string | undefined;
        } | undefined;
        logOptions?: {
            disabled?: boolean | undefined;
            logGroupId?: string | undefined;
            folderId?: string | undefined;
            minLevel?: import("../../../logging/v1/log_entry").LogLevel_Level | undefined;
        } | undefined;
        networkId?: string | undefined;
        serviceAccountId?: string | undefined;
        updateMask?: {
            paths?: string[] | undefined;
        } | undefined;
    } & {
        workflowId?: 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;
        specification?: ({
            specYaml?: string | undefined;
        } & {
            specYaml?: string | undefined;
        } & Record<Exclude<keyof I["specification"], "specYaml">, never>) | undefined;
        logOptions?: ({
            disabled?: boolean | undefined;
            logGroupId?: string | undefined;
            folderId?: string | undefined;
            minLevel?: import("../../../logging/v1/log_entry").LogLevel_Level | undefined;
        } & {
            disabled?: boolean | undefined;
            logGroupId?: string | undefined;
            folderId?: string | undefined;
            minLevel?: import("../../../logging/v1/log_entry").LogLevel_Level | undefined;
        } & Record<Exclude<keyof I["logOptions"], keyof LogOptions>, never>) | undefined;
        networkId?: string | undefined;
        serviceAccountId?: 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;
    } & Record<Exclude<keyof I, keyof UpdateWorkflowRequest>, never>>(object: I): UpdateWorkflowRequest;
};
export declare const UpdateWorkflowRequest_LabelsEntry: {
    encode(message: UpdateWorkflowRequest_LabelsEntry, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): UpdateWorkflowRequest_LabelsEntry;
    fromJSON(object: any): UpdateWorkflowRequest_LabelsEntry;
    toJSON(message: UpdateWorkflowRequest_LabelsEntry): unknown;
    fromPartial<I extends {
        key?: string | undefined;
        value?: string | undefined;
    } & {
        key?: string | undefined;
        value?: string | undefined;
    } & Record<Exclude<keyof I, keyof UpdateWorkflowRequest_LabelsEntry>, never>>(object: I): UpdateWorkflowRequest_LabelsEntry;
};
export declare const UpdateWorkflowMetadata: {
    encode(message: UpdateWorkflowMetadata, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): UpdateWorkflowMetadata;
    fromJSON(object: any): UpdateWorkflowMetadata;
    toJSON(message: UpdateWorkflowMetadata): unknown;
    fromPartial<I extends {
        workflowId?: string | undefined;
    } & {
        workflowId?: string | undefined;
    } & Record<Exclude<keyof I, "workflowId">, never>>(object: I): UpdateWorkflowMetadata;
};
export declare const GetWorkflowRequest: {
    encode(message: GetWorkflowRequest, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): GetWorkflowRequest;
    fromJSON(object: any): GetWorkflowRequest;
    toJSON(message: GetWorkflowRequest): unknown;
    fromPartial<I extends {
        workflowId?: string | undefined;
    } & {
        workflowId?: string | undefined;
    } & Record<Exclude<keyof I, "workflowId">, never>>(object: I): GetWorkflowRequest;
};
export declare const GetWorkflowResponse: {
    encode(message: GetWorkflowResponse, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): GetWorkflowResponse;
    fromJSON(object: any): GetWorkflowResponse;
    toJSON(message: GetWorkflowResponse): unknown;
    fromPartial<I extends {
        workflow?: {
            id?: string | undefined;
            folderId?: string | undefined;
            specification?: {
                specYaml?: string | undefined;
            } | undefined;
            createdAt?: Date | undefined;
            name?: string | undefined;
            description?: string | undefined;
            labels?: {
                [x: string]: string | undefined;
            } | undefined;
            status?: import("../../../../../yandex/cloud/serverless/workflows/v1/workflow").Workflow_Status | undefined;
            logOptions?: {
                disabled?: boolean | undefined;
                logGroupId?: string | undefined;
                folderId?: string | undefined;
                minLevel?: import("../../../logging/v1/log_entry").LogLevel_Level | undefined;
            } | undefined;
            networkId?: string | undefined;
            serviceAccountId?: string | undefined;
        } | undefined;
    } & {
        workflow?: ({
            id?: string | undefined;
            folderId?: string | undefined;
            specification?: {
                specYaml?: string | undefined;
            } | undefined;
            createdAt?: Date | undefined;
            name?: string | undefined;
            description?: string | undefined;
            labels?: {
                [x: string]: string | undefined;
            } | undefined;
            status?: import("../../../../../yandex/cloud/serverless/workflows/v1/workflow").Workflow_Status | undefined;
            logOptions?: {
                disabled?: boolean | undefined;
                logGroupId?: string | undefined;
                folderId?: string | undefined;
                minLevel?: import("../../../logging/v1/log_entry").LogLevel_Level | undefined;
            } | undefined;
            networkId?: string | undefined;
            serviceAccountId?: string | undefined;
        } & {
            id?: string | undefined;
            folderId?: string | undefined;
            specification?: ({
                specYaml?: string | undefined;
            } & {
                specYaml?: string | undefined;
            } & Record<Exclude<keyof I["workflow"]["specification"], "specYaml">, never>) | undefined;
            createdAt?: Date | undefined;
            name?: string | undefined;
            description?: string | undefined;
            labels?: ({
                [x: string]: string | undefined;
            } & {
                [x: string]: string | undefined;
            } & Record<Exclude<keyof I["workflow"]["labels"], string | number>, never>) | undefined;
            status?: import("../../../../../yandex/cloud/serverless/workflows/v1/workflow").Workflow_Status | undefined;
            logOptions?: ({
                disabled?: boolean | undefined;
                logGroupId?: string | undefined;
                folderId?: string | undefined;
                minLevel?: import("../../../logging/v1/log_entry").LogLevel_Level | undefined;
            } & {
                disabled?: boolean | undefined;
                logGroupId?: string | undefined;
                folderId?: string | undefined;
                minLevel?: import("../../../logging/v1/log_entry").LogLevel_Level | undefined;
            } & Record<Exclude<keyof I["workflow"]["logOptions"], keyof LogOptions>, never>) | undefined;
            networkId?: string | undefined;
            serviceAccountId?: string | undefined;
        } & Record<Exclude<keyof I["workflow"], keyof Workflow>, never>) | undefined;
    } & Record<Exclude<keyof I, "workflow">, never>>(object: I): GetWorkflowResponse;
};
export declare const DeleteWorkflowRequest: {
    encode(message: DeleteWorkflowRequest, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): DeleteWorkflowRequest;
    fromJSON(object: any): DeleteWorkflowRequest;
    toJSON(message: DeleteWorkflowRequest): unknown;
    fromPartial<I extends {
        workflowId?: string | undefined;
    } & {
        workflowId?: string | undefined;
    } & Record<Exclude<keyof I, "workflowId">, never>>(object: I): DeleteWorkflowRequest;
};
export declare const DeleteWorkflowMetadata: {
    encode(message: DeleteWorkflowMetadata, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): DeleteWorkflowMetadata;
    fromJSON(object: any): DeleteWorkflowMetadata;
    toJSON(message: DeleteWorkflowMetadata): unknown;
    fromPartial<I extends {
        workflowId?: string | undefined;
    } & {
        workflowId?: string | undefined;
    } & Record<Exclude<keyof I, "workflowId">, never>>(object: I): DeleteWorkflowMetadata;
};
export declare const ListWorkflowsRequest: {
    encode(message: ListWorkflowsRequest, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): ListWorkflowsRequest;
    fromJSON(object: any): ListWorkflowsRequest;
    toJSON(message: ListWorkflowsRequest): unknown;
    fromPartial<I extends {
        folderId?: string | undefined;
        pageSize?: number | undefined;
        pageToken?: string | undefined;
        filter?: string | undefined;
    } & {
        folderId?: string | undefined;
        pageSize?: number | undefined;
        pageToken?: string | undefined;
        filter?: string | undefined;
    } & Record<Exclude<keyof I, keyof ListWorkflowsRequest>, never>>(object: I): ListWorkflowsRequest;
};
export declare const ListWorkflowsResponse: {
    encode(message: ListWorkflowsResponse, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): ListWorkflowsResponse;
    fromJSON(object: any): ListWorkflowsResponse;
    toJSON(message: ListWorkflowsResponse): unknown;
    fromPartial<I extends {
        workflows?: {
            id?: string | undefined;
            folderId?: string | undefined;
            createdAt?: Date | undefined;
            name?: string | undefined;
            description?: string | undefined;
            labels?: {
                [x: string]: string | undefined;
            } | undefined;
            status?: import("../../../../../yandex/cloud/serverless/workflows/v1/workflow").Workflow_Status | undefined;
            logOptions?: {
                disabled?: boolean | undefined;
                logGroupId?: string | undefined;
                folderId?: string | undefined;
                minLevel?: import("../../../logging/v1/log_entry").LogLevel_Level | undefined;
            } | undefined;
            networkId?: string | undefined;
            serviceAccountId?: string | undefined;
        }[] | undefined;
        nextPageToken?: string | undefined;
    } & {
        workflows?: ({
            id?: string | undefined;
            folderId?: string | undefined;
            createdAt?: Date | undefined;
            name?: string | undefined;
            description?: string | undefined;
            labels?: {
                [x: string]: string | undefined;
            } | undefined;
            status?: import("../../../../../yandex/cloud/serverless/workflows/v1/workflow").Workflow_Status | undefined;
            logOptions?: {
                disabled?: boolean | undefined;
                logGroupId?: string | undefined;
                folderId?: string | undefined;
                minLevel?: import("../../../logging/v1/log_entry").LogLevel_Level | undefined;
            } | undefined;
            networkId?: string | undefined;
            serviceAccountId?: string | undefined;
        }[] & ({
            id?: string | undefined;
            folderId?: string | undefined;
            createdAt?: Date | undefined;
            name?: string | undefined;
            description?: string | undefined;
            labels?: {
                [x: string]: string | undefined;
            } | undefined;
            status?: import("../../../../../yandex/cloud/serverless/workflows/v1/workflow").Workflow_Status | undefined;
            logOptions?: {
                disabled?: boolean | undefined;
                logGroupId?: string | undefined;
                folderId?: string | undefined;
                minLevel?: import("../../../logging/v1/log_entry").LogLevel_Level | undefined;
            } | undefined;
            networkId?: string | undefined;
            serviceAccountId?: string | undefined;
        } & {
            id?: string | undefined;
            folderId?: string | undefined;
            createdAt?: Date | undefined;
            name?: string | undefined;
            description?: string | undefined;
            labels?: ({
                [x: string]: string | undefined;
            } & {
                [x: string]: string | undefined;
            } & Record<Exclude<keyof I["workflows"][number]["labels"], string | number>, never>) | undefined;
            status?: import("../../../../../yandex/cloud/serverless/workflows/v1/workflow").Workflow_Status | undefined;
            logOptions?: ({
                disabled?: boolean | undefined;
                logGroupId?: string | undefined;
                folderId?: string | undefined;
                minLevel?: import("../../../logging/v1/log_entry").LogLevel_Level | undefined;
            } & {
                disabled?: boolean | undefined;
                logGroupId?: string | undefined;
                folderId?: string | undefined;
                minLevel?: import("../../../logging/v1/log_entry").LogLevel_Level | undefined;
            } & Record<Exclude<keyof I["workflows"][number]["logOptions"], keyof LogOptions>, never>) | undefined;
            networkId?: string | undefined;
            serviceAccountId?: string | undefined;
        } & Record<Exclude<keyof I["workflows"][number], keyof WorkflowPreview>, never>)[] & Record<Exclude<keyof I["workflows"], keyof {
            id?: string | undefined;
            folderId?: string | undefined;
            createdAt?: Date | undefined;
            name?: string | undefined;
            description?: string | undefined;
            labels?: {
                [x: string]: string | undefined;
            } | undefined;
            status?: import("../../../../../yandex/cloud/serverless/workflows/v1/workflow").Workflow_Status | undefined;
            logOptions?: {
                disabled?: boolean | undefined;
                logGroupId?: string | undefined;
                folderId?: string | undefined;
                minLevel?: import("../../../logging/v1/log_entry").LogLevel_Level | undefined;
            } | undefined;
            networkId?: string | undefined;
            serviceAccountId?: string | undefined;
        }[]>, never>) | undefined;
        nextPageToken?: string | undefined;
    } & Record<Exclude<keyof I, keyof ListWorkflowsResponse>, never>>(object: I): ListWorkflowsResponse;
};
export declare const ListOperationsRequest: {
    encode(message: ListOperationsRequest, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): ListOperationsRequest;
    fromJSON(object: any): ListOperationsRequest;
    toJSON(message: ListOperationsRequest): unknown;
    fromPartial<I extends {
        workflowId?: string | undefined;
        pageSize?: number | undefined;
        pageToken?: string | undefined;
        filter?: string | undefined;
    } & {
        workflowId?: string | undefined;
        pageSize?: number | undefined;
        pageToken?: string | undefined;
        filter?: string | undefined;
    } & Record<Exclude<keyof I, keyof ListOperationsRequest>, never>>(object: I): ListOperationsRequest;
};
export declare const ListOperationsResponse: {
    encode(message: ListOperationsResponse, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): ListOperationsResponse;
    fromJSON(object: any): ListOperationsResponse;
    toJSON(message: ListOperationsResponse): 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 ListOperationsResponse>, never>>(object: I): ListOperationsResponse;
};
/** Set of methods for managing Workflows. */
export declare const WorkflowServiceService: {
    /** Creates Workflow in specified folder. */
    readonly create: {
        readonly path: "/yandex.cloud.serverless.workflows.v1.WorkflowService/Create";
        readonly requestStream: false;
        readonly responseStream: false;
        readonly requestSerialize: (value: CreateWorkflowRequest) => Buffer;
        readonly requestDeserialize: (value: Buffer) => CreateWorkflowRequest;
        readonly responseSerialize: (value: Operation) => Buffer;
        readonly responseDeserialize: (value: Buffer) => Operation;
    };
    /** Updates specified Workflow. */
    readonly update: {
        readonly path: "/yandex.cloud.serverless.workflows.v1.WorkflowService/Update";
        readonly requestStream: false;
        readonly responseStream: false;
        readonly requestSerialize: (value: UpdateWorkflowRequest) => Buffer;
        readonly requestDeserialize: (value: Buffer) => UpdateWorkflowRequest;
        readonly responseSerialize: (value: Operation) => Buffer;
        readonly responseDeserialize: (value: Buffer) => Operation;
    };
    /** Retrieves specified Workflow. */
    readonly get: {
        readonly path: "/yandex.cloud.serverless.workflows.v1.WorkflowService/Get";
        readonly requestStream: false;
        readonly responseStream: false;
        readonly requestSerialize: (value: GetWorkflowRequest) => Buffer;
        readonly requestDeserialize: (value: Buffer) => GetWorkflowRequest;
        readonly responseSerialize: (value: GetWorkflowResponse) => Buffer;
        readonly responseDeserialize: (value: Buffer) => GetWorkflowResponse;
    };
    /** Deletes specified Workflow. */
    readonly delete: {
        readonly path: "/yandex.cloud.serverless.workflows.v1.WorkflowService/Delete";
        readonly requestStream: false;
        readonly responseStream: false;
        readonly requestSerialize: (value: DeleteWorkflowRequest) => Buffer;
        readonly requestDeserialize: (value: Buffer) => DeleteWorkflowRequest;
        readonly responseSerialize: (value: Operation) => Buffer;
        readonly responseDeserialize: (value: Buffer) => Operation;
    };
    /** Retrieves list of Workflows in specified folder. */
    readonly list: {
        readonly path: "/yandex.cloud.serverless.workflows.v1.WorkflowService/List";
        readonly requestStream: false;
        readonly responseStream: false;
        readonly requestSerialize: (value: ListWorkflowsRequest) => Buffer;
        readonly requestDeserialize: (value: Buffer) => ListWorkflowsRequest;
        readonly responseSerialize: (value: ListWorkflowsResponse) => Buffer;
        readonly responseDeserialize: (value: Buffer) => ListWorkflowsResponse;
    };
    /** Lists operations for specified Workflow. */
    readonly listOperations: {
        readonly path: "/yandex.cloud.serverless.workflows.v1.WorkflowService/ListOperations";
        readonly requestStream: false;
        readonly responseStream: false;
        readonly requestSerialize: (value: ListOperationsRequest) => Buffer;
        readonly requestDeserialize: (value: Buffer) => ListOperationsRequest;
        readonly responseSerialize: (value: ListOperationsResponse) => Buffer;
        readonly responseDeserialize: (value: Buffer) => ListOperationsResponse;
    };
};
export interface WorkflowServiceServer extends UntypedServiceImplementation {
    /** Creates Workflow in specified folder. */
    create: handleUnaryCall<CreateWorkflowRequest, Operation>;
    /** Updates specified Workflow. */
    update: handleUnaryCall<UpdateWorkflowRequest, Operation>;
    /** Retrieves specified Workflow. */
    get: handleUnaryCall<GetWorkflowRequest, GetWorkflowResponse>;
    /** Deletes specified Workflow. */
    delete: handleUnaryCall<DeleteWorkflowRequest, Operation>;
    /** Retrieves list of Workflows in specified folder. */
    list: handleUnaryCall<ListWorkflowsRequest, ListWorkflowsResponse>;
    /** Lists operations for specified Workflow. */
    listOperations: handleUnaryCall<ListOperationsRequest, ListOperationsResponse>;
}
export interface WorkflowServiceClient extends Client {
    /** Creates Workflow in specified folder. */
    create(request: CreateWorkflowRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
    create(request: CreateWorkflowRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
    create(request: CreateWorkflowRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
    /** Updates specified Workflow. */
    update(request: UpdateWorkflowRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
    update(request: UpdateWorkflowRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
    update(request: UpdateWorkflowRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
    /** Retrieves specified Workflow. */
    get(request: GetWorkflowRequest, callback: (error: ServiceError | null, response: GetWorkflowResponse) => void): ClientUnaryCall;
    get(request: GetWorkflowRequest, metadata: Metadata, callback: (error: ServiceError | null, response: GetWorkflowResponse) => void): ClientUnaryCall;
    get(request: GetWorkflowRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: GetWorkflowResponse) => void): ClientUnaryCall;
    /** Deletes specified Workflow. */
    delete(request: DeleteWorkflowRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
    delete(request: DeleteWorkflowRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
    delete(request: DeleteWorkflowRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
    /** Retrieves list of Workflows in specified folder. */
    list(request: ListWorkflowsRequest, callback: (error: ServiceError | null, response: ListWorkflowsResponse) => void): ClientUnaryCall;
    list(request: ListWorkflowsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: ListWorkflowsResponse) => void): ClientUnaryCall;
    list(request: ListWorkflowsRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: ListWorkflowsResponse) => void): ClientUnaryCall;
    /** Lists operations for specified Workflow. */
    listOperations(request: ListOperationsRequest, callback: (error: ServiceError | null, response: ListOperationsResponse) => void): ClientUnaryCall;
    listOperations(request: ListOperationsRequest, metadata: Metadata, callback: (error: ServiceError | null, response: ListOperationsResponse) => void): ClientUnaryCall;
    listOperations(request: ListOperationsRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: ListOperationsResponse) => void): ClientUnaryCall;
}
export declare const WorkflowServiceClient: {
    new (address: string, credentials: ChannelCredentials, options?: Partial<ChannelOptions>): WorkflowServiceClient;
    service: typeof WorkflowServiceService;
};
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 {};
