import _m0 from 'protobufjs/minimal';
export declare const protobufPackage = "yandex.cloud.speechsense.v1.analysis";
export interface RecognitionClassifierResult {
    /** Start time of the audio segment used for classification */
    startTimeMs: number;
    /** End time of the audio segment used for classification */
    endTimeMs: number;
    /** Name of the triggered classifier */
    classifier: string;
    /** List of highlights, i.e. parts of phrase that determine the result of the classification */
    highlights: PhraseHighlight[];
    /** Classifier predictions */
    labels: RecognitionClassifierLabel[];
}
export interface PhraseHighlight {
    /** Text transcription of the highlighted audio segment */
    text: string;
    /** offset in symbols from the beginning of whole phrase where highlight begins */
    offset: number;
    /** count of symbols in highlighted text */
    count: number;
}
export interface RecognitionClassifierLabel {
    /** The label of the class predicted by the classifier */
    label: string;
    /** The prediction confidence */
    confidence: number;
}
export declare const RecognitionClassifierResult: {
    encode(message: RecognitionClassifierResult, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): RecognitionClassifierResult;
    fromJSON(object: any): RecognitionClassifierResult;
    toJSON(message: RecognitionClassifierResult): unknown;
    fromPartial<I extends {
        startTimeMs?: number | undefined;
        endTimeMs?: number | undefined;
        classifier?: string | undefined;
        highlights?: {
            text?: string | undefined;
            offset?: number | undefined;
            count?: number | undefined;
        }[] | undefined;
        labels?: {
            label?: string | undefined;
            confidence?: number | undefined;
        }[] | undefined;
    } & {
        startTimeMs?: number | undefined;
        endTimeMs?: number | undefined;
        classifier?: string | undefined;
        highlights?: ({
            text?: string | undefined;
            offset?: number | undefined;
            count?: number | undefined;
        }[] & ({
            text?: string | undefined;
            offset?: number | undefined;
            count?: number | undefined;
        } & {
            text?: string | undefined;
            offset?: number | undefined;
            count?: number | undefined;
        } & Record<Exclude<keyof I["highlights"][number], keyof PhraseHighlight>, never>)[] & Record<Exclude<keyof I["highlights"], keyof {
            text?: string | undefined;
            offset?: number | undefined;
            count?: number | undefined;
        }[]>, never>) | undefined;
        labels?: ({
            label?: string | undefined;
            confidence?: number | undefined;
        }[] & ({
            label?: string | undefined;
            confidence?: number | undefined;
        } & {
            label?: string | undefined;
            confidence?: number | undefined;
        } & Record<Exclude<keyof I["labels"][number], keyof RecognitionClassifierLabel>, never>)[] & Record<Exclude<keyof I["labels"], keyof {
            label?: string | undefined;
            confidence?: number | undefined;
        }[]>, never>) | undefined;
    } & Record<Exclude<keyof I, keyof RecognitionClassifierResult>, never>>(object: I): RecognitionClassifierResult;
};
export declare const PhraseHighlight: {
    encode(message: PhraseHighlight, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): PhraseHighlight;
    fromJSON(object: any): PhraseHighlight;
    toJSON(message: PhraseHighlight): unknown;
    fromPartial<I extends {
        text?: string | undefined;
        offset?: number | undefined;
        count?: number | undefined;
    } & {
        text?: string | undefined;
        offset?: number | undefined;
        count?: number | undefined;
    } & Record<Exclude<keyof I, keyof PhraseHighlight>, never>>(object: I): PhraseHighlight;
};
export declare const RecognitionClassifierLabel: {
    encode(message: RecognitionClassifierLabel, writer?: _m0.Writer): _m0.Writer;
    decode(input: _m0.Reader | Uint8Array, length?: number): RecognitionClassifierLabel;
    fromJSON(object: any): RecognitionClassifierLabel;
    toJSON(message: RecognitionClassifierLabel): unknown;
    fromPartial<I extends {
        label?: string | undefined;
        confidence?: number | undefined;
    } & {
        label?: string | undefined;
        confidence?: number | undefined;
    } & Record<Exclude<keyof I, keyof RecognitionClassifierLabel>, never>>(object: I): RecognitionClassifierLabel;
};
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 {};
