/// <reference types="node" />
import { ChannelCredentials, ChannelOptions, UntypedServiceImplementation, handleUnaryCall, Client, ClientUnaryCall, Metadata, CallOptions, ServiceError } from '@grpc/grpc-js';
import _m0 from 'protobufjs/minimal';
import { Classifier } from '../../../../yandex/cloud/speechsense/v1/classifier';
export declare const protobufPackage = "yandex.cloud.speechsense.v1";
export interface ListClassifiersRequest {
    /** Project id */
    projectId: string;
}
export interface ListClassifiersResponse {
    /** Classifiers belonging to the given project */
    classifiers: Classifier[];
}
export declare const ListClassifiersRequest: {
    encode(message: ListClassifiersRequest, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): ListClassifiersRequest;
    fromJSON(object: any): ListClassifiersRequest;
    toJSON(message: ListClassifiersRequest): unknown;
    fromPartial<I extends {
        projectId?: string | undefined;
    } & {
        projectId?: string | undefined;
    } & Record<Exclude<keyof I, "projectId">, never>>(object: I): ListClassifiersRequest;
};
export declare const ListClassifiersResponse: {
    encode(message: ListClassifiersResponse, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): ListClassifiersResponse;
    fromJSON(object: any): ListClassifiersResponse;
    toJSON(message: ListClassifiersResponse): unknown;
    fromPartial<I extends {
        classifiers?: {
            id?: string | undefined;
            name?: string | undefined;
            description?: string | undefined;
        }[] | undefined;
    } & {
        classifiers?: ({
            id?: string | undefined;
            name?: string | undefined;
            description?: string | undefined;
        }[] & ({
            id?: string | undefined;
            name?: string | undefined;
            description?: string | undefined;
        } & {
            id?: string | undefined;
            name?: string | undefined;
            description?: string | undefined;
        } & Record<Exclude<keyof I["classifiers"][number], keyof Classifier>, never>)[] & Record<Exclude<keyof I["classifiers"], keyof {
            id?: string | undefined;
            name?: string | undefined;
            description?: string | undefined;
        }[]>, never>) | undefined;
    } & Record<Exclude<keyof I, "classifiers">, never>>(object: I): ListClassifiersResponse;
};
export declare const ClassifiersServiceService: {
    /** Rpc for listing classifiers in a project */
    readonly list: {
        readonly path: "/yandex.cloud.speechsense.v1.ClassifiersService/List";
        readonly requestStream: false;
        readonly responseStream: false;
        readonly requestSerialize: (value: ListClassifiersRequest) => Buffer;
        readonly requestDeserialize: (value: Buffer) => ListClassifiersRequest;
        readonly responseSerialize: (value: ListClassifiersResponse) => Buffer;
        readonly responseDeserialize: (value: Buffer) => ListClassifiersResponse;
    };
};
export interface ClassifiersServiceServer extends UntypedServiceImplementation {
    /** Rpc for listing classifiers in a project */
    list: handleUnaryCall<ListClassifiersRequest, ListClassifiersResponse>;
}
export interface ClassifiersServiceClient extends Client {
    /** Rpc for listing classifiers in a project */
    list(request: ListClassifiersRequest, callback: (error: ServiceError | null, response: ListClassifiersResponse) => void): ClientUnaryCall;
    list(request: ListClassifiersRequest, metadata: Metadata, callback: (error: ServiceError | null, response: ListClassifiersResponse) => void): ClientUnaryCall;
    list(request: ListClassifiersRequest, metadata: Metadata, options: Partial<CallOptions>, callback: (error: ServiceError | null, response: ListClassifiersResponse) => void): ClientUnaryCall;
}
export declare const ClassifiersServiceClient: {
    new (address: string, credentials: ChannelCredentials, options?: Partial<ChannelOptions>): ClassifiersServiceClient;
    service: typeof ClassifiersServiceService;
};
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 {};
