import { StreamTranslationResponse, SubtitlesResponse, VideoTranslationAudioResponse, VideoTranslationCacheResponse, VideoTranslationResponse, YandexSessionResponse } from "@vot.js/shared/protos"; import type { SessionModule } from "@vot.js/shared/types/secure"; import type { AudioBufferObject, PartialAudioBufferObject, PartialAudioObject, TranslationExtraOpts, TranslationHelp } from "./types/yandex.js"; export declare abstract class YandexVOTProtobuf { static encodeTranslationRequest(url: string, duration: number, requestLang: string, responseLang: string, translationHelp: TranslationHelp[] | null, { forceSourceLang, wasStream, videoTitle, bypassCache, useLivelyVoice, firstRequest, }?: TranslationExtraOpts): Uint8Array; static decodeTranslationResponse(response: ArrayBuffer): VideoTranslationResponse; static encodeTranslationCacheRequest(url: string, duration: number, requestLang: string, responseLang: string): Uint8Array; static decodeTranslationCacheResponse(response: ArrayBuffer): VideoTranslationCacheResponse; static isPartialAudioBuffer(audioBuffer: PartialAudioBufferObject | AudioBufferObject): audioBuffer is PartialAudioBufferObject; static encodeTranslationAudioRequest(url: string, translationId: string, audioBuffer: AudioBufferObject, partialAudio?: never): Uint8Array; static encodeTranslationAudioRequest(url: string, translationId: string, audioBuffer: PartialAudioBufferObject, partialAudio: PartialAudioObject): Uint8Array; static decodeTranslationAudioResponse(response: ArrayBuffer): VideoTranslationAudioResponse; static encodeSubtitlesRequest(url: string, requestLang: string): Uint8Array; static decodeSubtitlesResponse(response: ArrayBuffer): SubtitlesResponse; static encodeStreamPingRequest(pingId: number): Uint8Array; static encodeStreamRequest(url: string, requestLang: string, responseLang: string): Uint8Array; static decodeStreamResponse(response: ArrayBuffer): StreamTranslationResponse; } export declare abstract class YandexSessionProtobuf { static encodeSessionRequest(uuid: string, module: SessionModule): Uint8Array; static decodeSessionResponse(response: ArrayBuffer): YandexSessionResponse; } //# sourceMappingURL=protobuf.d.ts.map