/// <reference types="node" />
import { ChannelCredentials, ChannelOptions, UntypedServiceImplementation, handleUnaryCall, Client, ClientUnaryCall, Metadata, CallOptions, ServiceError } from '@grpc/grpc-js';
import _m0 from 'protobufjs/minimal';
import { FieldFilter } from '../../../../yandex/cloud/speechsense/v1/project';
import { Operation } from '../../../../yandex/cloud/operation/operation';
export declare const protobufPackage = "yandex.cloud.speechsense.v1";
export interface CreateProjectRequest {
    /** project name */
    name: string;
    /** id of connection the project should belong too */
    connectionId: string;
    /** project description */
    description: string;
    /** project filters */
    filters: FieldFilter[];
}
export interface CreateProjectMetadata {
    id: string;
}
export declare const CreateProjectRequest: {
    encode(message: CreateProjectRequest, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): CreateProjectRequest;
    fromJSON(object: any): CreateProjectRequest;
    toJSON(message: CreateProjectRequest): unknown;
    fromPartial<I extends {
        name?: string | undefined;
        connectionId?: string | undefined;
        description?: string | undefined;
        filters?: {
            key?: string | undefined;
            fieldValue?: string | undefined;
        }[] | undefined;
    } & {
        name?: string | undefined;
        connectionId?: string | undefined;
        description?: string | undefined;
        filters?: ({
            key?: string | undefined;
            fieldValue?: string | undefined;
        }[] & ({
            key?: string | undefined;
            fieldValue?: string | undefined;
        } & {
            key?: string | undefined;
            fieldValue?: string | undefined;
        } & Record<Exclude<keyof I["filters"][number], keyof FieldFilter>, never>)[] & Record<Exclude<keyof I["filters"], keyof {
            key?: string | undefined;
            fieldValue?: string | undefined;
        }[]>, never>) | undefined;
    } & Record<Exclude<keyof I, keyof CreateProjectRequest>, never>>(object: I): CreateProjectRequest;
};
export declare const CreateProjectMetadata: {
    encode(message: CreateProjectMetadata, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): CreateProjectMetadata;
    fromJSON(object: any): CreateProjectMetadata;
    toJSON(message: CreateProjectMetadata): unknown;
    fromPartial<I extends {
        id?: string | undefined;
    } & {
        id?: string | undefined;
    } & Record<Exclude<keyof I, "id">, never>>(object: I): CreateProjectMetadata;
};
export declare const ProjectServiceService: {
    /** rpc for creating speechsense project */
    readonly create: {
        readonly path: "/yandex.cloud.speechsense.v1.ProjectService/Create";
        readonly requestStream: false;
        readonly responseStream: false;
        readonly requestSerialize: (value: CreateProjectRequest) => Buffer;
        readonly requestDeserialize: (value: Buffer) => CreateProjectRequest;
        readonly responseSerialize: (value: Operation) => Buffer;
        readonly responseDeserialize: (value: Buffer) => Operation;
    };
};
export interface ProjectServiceServer extends UntypedServiceImplementation {
    /** rpc for creating speechsense project */
    create: handleUnaryCall<CreateProjectRequest, Operation>;
}
export interface ProjectServiceClient extends Client {
    /** rpc for creating speechsense project */
    create(request: CreateProjectRequest, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
    create(request: CreateProjectRequest, metadata: Metadata, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
    create(request: CreateProjectRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: Operation) => void): ClientUnaryCall;
}
export declare const ProjectServiceClient: {
    new (address: string, credentials: ChannelCredentials, options?: Partial<ChannelOptions>): ProjectServiceClient;
    service: typeof ProjectServiceService;
};
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 {};
