import _m0 from 'protobufjs/minimal';
export declare const protobufPackage = "yandex.cloud.ai.foundation_models.v1.text_classification";
/** A pair of text labels and their corresponding confidence values. */
export interface ClassificationLabel {
    /** A class name label. */
    label: string;
    /** The probability of classifying text into a specific class. */
    confidence: number;
}
/** Description of a sample for the classification task. */
export interface ClassificationSample {
    /** Text sample. */
    text: string;
    /** Expected label for a given text. */
    label: string;
}
export declare const ClassificationLabel: {
    encode(message: ClassificationLabel, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): ClassificationLabel;
    fromJSON(object: any): ClassificationLabel;
    toJSON(message: ClassificationLabel): unknown;
    fromPartial<I extends {
        label?: string | undefined;
        confidence?: number | undefined;
    } & {
        label?: string | undefined;
        confidence?: number | undefined;
    } & Record<Exclude<keyof I, keyof ClassificationLabel>, never>>(object: I): ClassificationLabel;
};
export declare const ClassificationSample: {
    encode(message: ClassificationSample, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): ClassificationSample;
    fromJSON(object: any): ClassificationSample;
    toJSON(message: ClassificationSample): unknown;
    fromPartial<I extends {
        text?: string | undefined;
        label?: string | undefined;
    } & {
        text?: string | undefined;
        label?: string | undefined;
    } & Record<Exclude<keyof I, keyof ClassificationSample>, never>>(object: I): ClassificationSample;
};
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 {};
