UNPKG

microsoft-cognitiveservices-speech-sdk

Version:
15 lines (14 loc) 1.13 kB
import { IAudioSource } from "../common/Exports.js"; import { CancellationErrorCode, CancellationReason, ConversationTranscriber } from "../sdk/Exports.js"; import { ServiceRecognizerBase } from "./Exports.js"; import { IAuthentication } from "./IAuthentication.js"; import { IConnectionFactory } from "./IConnectionFactory.js"; import { RecognizerConfig } from "./RecognizerConfig.js"; import { SpeechConnectionMessage } from "./SpeechConnectionMessage.Internal.js"; export declare class ConversationTranscriptionServiceRecognizer extends ServiceRecognizerBase { private privConversationTranscriber; constructor(authentication: IAuthentication, connectionFactory: IConnectionFactory, audioSource: IAudioSource, recognizerConfig: RecognizerConfig, conversationTranscriber: ConversationTranscriber); protected setSpeakerDiarizationJson(): void; protected processTypeSpecificMessages(connectionMessage: SpeechConnectionMessage): Promise<boolean>; protected cancelRecognition(sessionId: string, requestId: string, cancellationReason: CancellationReason, errorCode: CancellationErrorCode, error: string): void; }