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, never>)[] & Record, never>) | undefined; labels?: ({ label?: string | undefined; confidence?: number | undefined; }[] & ({ label?: string | undefined; confidence?: number | undefined; } & { label?: string | undefined; confidence?: number | undefined; } & Record, never>)[] & Record, never>) | undefined; } & Record, 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, 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, never>>(object: I): RecognitionClassifierLabel; }; type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; export type DeepPartial = T extends Builtin ? T : T extends Array ? Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; type KeysOfUnion = T extends T ? keyof T : never; export type Exact = P extends Builtin ? P : P & { [K in keyof P]: Exact; } & Record>, never>; export {};