export declare const TYPERT: { readonly package: 'dsh-ears'; readonly face: 'host'; readonly schemas: readonly []; readonly invocations: readonly [{ readonly id: 'dsh-ears#dshEars/listRoutes'; readonly service: 'dshEarsPolish'; readonly namespace: 'dshEars'; readonly method: 'listRoutes'; readonly invocation: { readonly kind: 'direct'; }; readonly parameters: readonly []; readonly result: import("@deepseek-ai/dsh-typert-protocol").TypertCodec; }, { readonly id: 'dsh-ears#dshEars/listAsrBackends'; readonly service: 'dshEarsPolish'; readonly namespace: 'dshEars'; readonly method: 'listAsrBackends'; readonly invocation: { readonly kind: 'direct'; }; readonly parameters: readonly []; readonly result: import("@deepseek-ai/dsh-typert-protocol").TypertCodec; }, { readonly id: 'dsh-ears#dshEars/getAbout'; readonly service: 'dshEarsPolish'; readonly namespace: 'dshEars'; readonly method: 'getAbout'; readonly invocation: { readonly kind: 'direct'; }; readonly parameters: readonly []; readonly result: import("@deepseek-ai/dsh-typert-protocol").TypertCodec; }, { readonly id: 'dsh-ears#dshEars/checkForUpdate'; readonly service: 'dshEarsPolish'; readonly namespace: 'dshEars'; readonly method: 'checkForUpdate'; readonly invocation: { readonly kind: 'direct'; }; readonly parameters: readonly []; readonly cancellation: { readonly parameter: 'signal'; }; readonly result: import("@deepseek-ai/dsh-typert-protocol").TypertCodec; }, { readonly id: 'dsh-ears#dshEars/getSettings'; readonly service: 'dshEarsPolish'; readonly namespace: 'dshEars'; readonly method: 'getSettings'; readonly invocation: { readonly kind: 'direct'; }; readonly parameters: readonly []; readonly result: import("@deepseek-ai/dsh-typert-protocol").TypertCodec; }, { readonly id: 'dsh-ears#dshEars/listCloudProviderModels'; readonly service: 'dshEarsPolish'; readonly namespace: 'dshEars'; readonly method: 'listCloudProviderModels'; readonly invocation: { readonly kind: 'direct'; }; readonly parameters: readonly [{ readonly name: 'provider'; readonly wire: 'provider'; readonly source: 'json'; readonly codec: import("@deepseek-ai/dsh-typert-protocol").TypertCodec; }]; readonly cancellation: { readonly parameter: 'signal'; }; readonly result: import("@deepseek-ai/dsh-typert-protocol").TypertCodec; }, { readonly id: 'dsh-ears#dshEars/updateSettings'; readonly service: 'dshEarsPolish'; readonly namespace: 'dshEars'; readonly method: 'updateSettings'; readonly invocation: { readonly kind: 'direct'; }; readonly parameters: readonly [{ readonly name: 'patch'; readonly wire: 'patch'; readonly source: 'json'; readonly codec: import("@deepseek-ai/dsh-typert-protocol").TypertCodec; }]; readonly cancellation: { readonly parameter: 'signal'; }; readonly result: import("@deepseek-ai/dsh-typert-protocol").TypertCodec; }, { readonly id: 'dsh-ears#dshEars/transcribe'; readonly service: 'dshEarsPolish'; readonly namespace: 'dshEars'; readonly method: 'transcribe'; readonly invocation: { readonly kind: 'direct'; }; readonly parameters: readonly [{ readonly name: 'audioBase64'; readonly wire: 'audioBase64'; readonly source: 'json'; readonly codec: import("@deepseek-ai/dsh-typert-protocol").TypertCodec; }, { readonly name: 'mimeType'; readonly wire: 'mimeType'; readonly source: 'json'; readonly codec: import("@deepseek-ai/dsh-typert-protocol").TypertCodec; }]; readonly cancellation: { readonly parameter: 'signal'; }; readonly result: import("@deepseek-ai/dsh-typert-protocol").TypertCodec; }, { readonly id: 'dsh-ears#dshEars/listReasoningEfforts'; readonly service: 'dshEarsPolish'; readonly namespace: 'dshEars'; readonly method: 'listReasoningEfforts'; readonly invocation: { readonly kind: 'direct'; }; readonly parameters: readonly [{ readonly name: 'provider'; readonly wire: 'provider'; readonly source: 'json'; readonly codec: import("@deepseek-ai/dsh-typert-protocol").TypertCodec; }, { readonly name: 'model'; readonly wire: 'model'; readonly source: 'json'; readonly codec: import("@deepseek-ai/dsh-typert-protocol").TypertCodec; }]; readonly result: import("@deepseek-ai/dsh-typert-protocol").TypertCodec; }, { readonly id: 'dsh-ears#dshEars/getWhisperModelState'; readonly service: 'dshEarsPolish'; readonly namespace: 'dshEars'; readonly method: 'getWhisperModelState'; readonly invocation: { readonly kind: 'direct'; }; readonly parameters: readonly [{ readonly name: 'model'; readonly wire: 'model'; readonly source: 'json'; readonly codec: import("@deepseek-ai/dsh-typert-protocol").TypertCodec; }]; readonly result: import("@deepseek-ai/dsh-typert-protocol").TypertCodec; }, { readonly id: 'dsh-ears#dshEars/downloadWhisperModel'; readonly service: 'dshEarsPolish'; readonly namespace: 'dshEars'; readonly method: 'downloadWhisperModel'; readonly invocation: { readonly kind: 'direct'; }; readonly parameters: readonly [{ readonly name: 'model'; readonly wire: 'model'; readonly source: 'json'; readonly codec: import("@deepseek-ai/dsh-typert-protocol").TypertCodec; }]; readonly result: import("@deepseek-ai/dsh-typert-protocol").TypertCodec; }, { readonly id: 'dsh-ears#dshEars/deleteWhisperModel'; readonly service: 'dshEarsPolish'; readonly namespace: 'dshEars'; readonly method: 'deleteWhisperModel'; readonly invocation: { readonly kind: 'direct'; }; readonly parameters: readonly [{ readonly name: 'model'; readonly wire: 'model'; readonly source: 'json'; readonly codec: import("@deepseek-ai/dsh-typert-protocol").TypertCodec; }]; readonly result: import("@deepseek-ai/dsh-typert-protocol").TypertCodec; }, { readonly id: 'dsh-ears#dshEars/cancelWhisperModelDownload'; readonly service: 'dshEarsPolish'; readonly namespace: 'dshEars'; readonly method: 'cancelWhisperModelDownload'; readonly invocation: { readonly kind: 'direct'; }; readonly parameters: readonly [{ readonly name: 'model'; readonly wire: 'model'; readonly source: 'json'; readonly codec: import("@deepseek-ai/dsh-typert-protocol").TypertCodec; }]; readonly result: import("@deepseek-ai/dsh-typert-protocol").TypertCodec; }, { readonly id: 'dsh-ears#dshEars/startRealtime'; readonly service: 'dshEarsPolish'; readonly namespace: 'dshEars'; readonly method: 'startRealtime'; readonly invocation: { readonly kind: 'direct'; }; readonly parameters: readonly []; readonly cancellation: { readonly parameter: 'signal'; }; readonly result: import("@deepseek-ai/dsh-typert-protocol").TypertCodec; }, { readonly id: 'dsh-ears#dshEars/sendRealtimeAudio'; readonly service: 'dshEarsPolish'; readonly namespace: 'dshEars'; readonly method: 'sendRealtimeAudio'; readonly invocation: { readonly kind: 'direct'; }; readonly parameters: readonly [{ readonly name: 'sessionId'; readonly wire: 'sessionId'; readonly source: 'json'; readonly codec: import("@deepseek-ai/dsh-typert-protocol").TypertCodec; }, { readonly name: 'audioBase64'; readonly wire: 'audioBase64'; readonly source: 'json'; readonly codec: import("@deepseek-ai/dsh-typert-protocol").TypertCodec; }]; readonly cancellation: { readonly parameter: 'signal'; }; readonly result: import("@deepseek-ai/dsh-typert-protocol").TypertCodec; }, { readonly id: 'dsh-ears#dshEars/finishRealtime'; readonly service: 'dshEarsPolish'; readonly namespace: 'dshEars'; readonly method: 'finishRealtime'; readonly invocation: { readonly kind: 'direct'; }; readonly parameters: readonly [{ readonly name: 'sessionId'; readonly wire: 'sessionId'; readonly source: 'json'; readonly codec: import("@deepseek-ai/dsh-typert-protocol").TypertCodec; }]; readonly cancellation: { readonly parameter: 'signal'; }; readonly result: import("@deepseek-ai/dsh-typert-protocol").TypertCodec; }, { readonly id: 'dsh-ears#dshEars/cancelRealtime'; readonly service: 'dshEarsPolish'; readonly namespace: 'dshEars'; readonly method: 'cancelRealtime'; readonly invocation: { readonly kind: 'direct'; }; readonly parameters: readonly [{ readonly name: 'sessionId'; readonly wire: 'sessionId'; readonly source: 'json'; readonly codec: import("@deepseek-ai/dsh-typert-protocol").TypertCodec; }]; readonly result: import("@deepseek-ai/dsh-typert-protocol").TypertCodec; }, { readonly id: 'dsh-ears#dshEars/polish'; readonly service: 'dshEarsPolish'; readonly namespace: 'dshEars'; readonly method: 'polish'; readonly invocation: { readonly kind: 'direct'; }; readonly parameters: readonly [{ readonly name: 'transcript'; readonly wire: 'transcript'; readonly source: 'json'; readonly codec: import("@deepseek-ai/dsh-typert-protocol").TypertCodec; }, { readonly name: 'provider'; readonly wire: 'provider'; readonly source: 'json'; readonly codec: import("@deepseek-ai/dsh-typert-protocol").TypertCodec; }, { readonly name: 'model'; readonly wire: 'model'; readonly source: 'json'; readonly codec: import("@deepseek-ai/dsh-typert-protocol").TypertCodec; }, { readonly name: 'reasoningEffort'; readonly wire: 'reasoningEffort'; readonly source: 'json'; readonly codec: import("@deepseek-ai/dsh-typert-protocol").TypertCodec; }]; readonly cancellation: { readonly parameter: 'signal'; }; readonly result: import("@deepseek-ai/dsh-typert-protocol").TypertCodec; }]; readonly model: { readonly services: readonly [{ readonly description: 'Host-side ASR, realtime recognition, dsh route discovery, and transcript polishing.'; readonly summary: 'Voice transcript polishing service.'; readonly tags: readonly []; readonly jsDoc: '/** Host-side dsh route discovery and text-only transcript polishing. */'; readonly key: 'dshEarsPolish'; readonly exportName: 'PolishService'; readonly members: readonly [{ readonly kind: 'method'; readonly name: 'getAbout'; readonly signature: 'getAbout(): AboutInfo'; readonly summary: 'Report the installed plugin name, version, license, and compatibility.'; readonly jsDoc: '/** Report the installed plugin name, version, license, and compatibility. */'; }, { readonly kind: 'method'; readonly name: 'checkForUpdate'; readonly signature: 'checkForUpdate(signal: AbortSignal): Promise'; readonly summary: 'Compare the installed version with the npm latest dist-tag.'; readonly jsDoc: '/** Compare the installed version with the npm latest dist-tag. */'; }, { readonly kind: 'method'; readonly name: 'listAsrBackends'; readonly signature: 'listAsrBackends(): Promise'; readonly summary: 'List configured and locally available ASR backends.'; readonly jsDoc: '/** List configured and locally available ASR backends. */'; }, { readonly kind: 'method'; readonly name: 'updateSettings'; readonly signature: 'updateSettings(patch: EarsSettingsPatch, signal: AbortSignal): Promise'; readonly summary: 'Update plugin settings when the request has not been cancelled.'; readonly jsDoc: '/** Update plugin settings when the request has not been cancelled. */'; }, { readonly kind: 'method'; readonly name: 'listCloudProviderModels'; readonly signature: 'listCloudProviderModels(provider: string, signal: AbortSignal): Promise'; readonly summary: "List a cloud provider's transcription models from its live catalog."; readonly jsDoc: "/** List a cloud provider's transcription models from its live catalog. */"; }, { readonly kind: 'method'; readonly name: 'listRoutes'; readonly signature: 'listRoutes(): Promise'; readonly summary: 'List models already registered in dsh.'; readonly jsDoc: '/** List models already registered in dsh. */'; }, { readonly kind: 'method'; readonly name: 'listReasoningEfforts'; readonly signature: 'listReasoningEfforts(provider: string, model: string): Promise'; readonly summary: 'List selectable reasoning efforts for one dsh route.'; readonly jsDoc: '/** List selectable reasoning efforts for one dsh route. */'; }, { readonly kind: 'method'; readonly name: 'getWhisperModelState'; readonly signature: 'getWhisperModelState(model: string): Promise'; readonly summary: 'Report one local Whisper model download state.'; readonly jsDoc: '/** Report one local Whisper model download state. */'; }, { readonly kind: 'method'; readonly name: 'downloadWhisperModel'; readonly signature: 'downloadWhisperModel(model: string): Promise'; readonly summary: 'Download one local Whisper model through the installed library.'; readonly jsDoc: '/** Download one local Whisper model through the installed library. */'; }, { readonly kind: 'method'; readonly name: 'cancelWhisperModelDownload'; readonly signature: 'cancelWhisperModelDownload(model: string): Promise'; readonly summary: 'Cancel the running Whisper model download.'; readonly jsDoc: '/** Cancel the running Whisper model download. */'; }, { readonly kind: 'method'; readonly name: 'deleteWhisperModel'; readonly signature: 'deleteWhisperModel(model: string): Promise'; readonly summary: 'Delete one downloaded Whisper model file.'; readonly jsDoc: '/** Delete one downloaded Whisper model file. */'; }, { readonly kind: 'method'; readonly name: 'transcribe'; readonly signature: 'transcribe(audioBase64: string, mimeType: string, signal: AbortSignal): Promise'; readonly summary: 'Transcribe one recorded audio payload through the selected ASR backend.'; readonly jsDoc: '/** Transcribe one recorded audio payload through the selected ASR backend. */'; }, { readonly kind: 'method'; readonly name: 'startRealtime'; readonly signature: 'startRealtime(signal: AbortSignal): Promise'; readonly summary: 'Open a Host-owned cloud realtime recognition session.'; readonly jsDoc: '/** Open a Host-owned cloud realtime recognition session. */'; }, { readonly kind: 'method'; readonly name: 'sendRealtimeAudio'; readonly signature: 'sendRealtimeAudio(sessionId: string, audioBase64: string, signal: AbortSignal): Promise'; readonly summary: 'Send one PCM audio chunk to a realtime recognition session.'; readonly jsDoc: '/** Send one PCM audio chunk to a realtime recognition session. */'; }, { readonly kind: 'method'; readonly name: 'finishRealtime'; readonly signature: 'finishRealtime(sessionId: string, signal: AbortSignal): Promise'; readonly summary: 'Finish a realtime recognition session and return its final transcript.'; readonly jsDoc: '/** Finish a realtime recognition session and return its final transcript. */'; }, { readonly kind: 'method'; readonly name: 'cancelRealtime'; readonly signature: 'cancelRealtime(sessionId: string): Promise'; readonly summary: 'Close a realtime recognition session without committing its transcript.'; readonly jsDoc: '/** Close a realtime recognition session without committing its transcript. */'; }, { readonly kind: 'method'; readonly name: 'polish'; readonly signature: 'polish(transcript: string, provider: string, model: string, reasoningEffort: string, signal: AbortSignal): Promise'; readonly summary: 'Polish one transcript through a selected dsh route.'; readonly jsDoc: '/** Polish one transcript through a selected dsh route. */'; }]; readonly types: readonly [{ readonly name: 'RemoteTextResult'; readonly declaration: "export type RemoteTextResult = { status: 'ok'; text: string } | { status: 'error'; code: string; message: string; params?: Record }"; }, { readonly name: 'EarsSettings'; readonly declaration: 'export interface EarsSettings { asrBackend: string; webSpeechLanguage: string; localWhisperModel: string; localWhisperAcceleration: string; localWhisperLanguage: string; cloudAsrProvider: string; cloudAsrGroqApiKey: string; cloudAsrGroqModel: string; cloudAsrGroqLanguage: string; cloudAsrDeepgramApiKey: string; cloudAsrDeepgramModel: string; cloudAsrDeepgramLanguage: string; cloudAsrDeepgramService: string; cloudAsrCustomApiKey: string; cloudAsrCustomEndpoint: string; cloudAsrCustomModel: string; cloudAsrCustomLanguage: string; cloudAsrBailianApiKey: string; cloudAsrBailianHost: string; cloudAsrBailianModel: string; cloudAsrBailianLanguage: string; cloudAsrTencentAppId: string; cloudAsrTencentSecretId: string; cloudAsrTencentSecretKey: string; cloudAsrTencentEngineType: string; cloudAsrTencentService: string; cloudAsrMimoApiKey: string; cloudAsrMimoService: string; cloudAsrMimoCluster: string; cloudAsrMimoModel: string; cloudAsrMimoLanguage: string; cloudAsrSiliconFlowApiKey: string; cloudAsrSiliconFlowModel: string; cloudAsrSiliconFlowLanguage: string; cloudAsrVolcengineApiKey: string; cloudAsrVolcengineService: string; cloudAsrVolcengineRealtimeModel: string; cloudAsrVolcengineRecordingModel: string; cloudAsrVolcengineLanguage: string; maxRecordingSeconds: number; voiceShortcutEnabled: boolean; voiceShortcut: string; voiceSoundsEnabled: boolean; settingsDisplayName: string; polishingEnabled: boolean; polishProvider: string; polishModel: string; polishReasoningEffort: string; polishPrompt: string }'; }, { readonly name: 'EarsSettingsView'; readonly declaration: 'export interface EarsSettingsView { available: boolean; writable: boolean; settings: EarsSettings; cloudAsrGroqApiKeyConfigured: boolean; cloudAsrDeepgramApiKeyConfigured: boolean; cloudAsrCustomApiKeyConfigured: boolean; cloudAsrBailianApiKeyConfigured: boolean; cloudAsrTencentSecretKeyConfigured: boolean; cloudAsrMimoApiKeyConfigured: boolean; cloudAsrSiliconFlowApiKeyConfigured: boolean; cloudAsrVolcengineApiKeyConfigured: boolean; defaultPolishRoute?: { provider: string; model: string; reasoningEffort?: string }; recoveredSettingsFields?: string[]; localWhisperAccelerations?: WhisperAccelerationId[]; overridden: string[] }'; }, { readonly name: 'EarsSettingsPatch'; readonly declaration: 'export type EarsSettingsPatch = Partial'; }, { readonly name: 'AsrBackendInfo'; readonly declaration: 'export interface AsrBackendInfo { id: AsrBackendId; name: string; available: boolean; detail: string; detailCode?: string; detailParams?: Record }'; }, { readonly name: 'PolishRoute'; readonly declaration: 'export interface PolishRoute { provider: string; providerName: string; model: string; modelName: string }'; }, { readonly name: 'ReasoningEffortInfo'; readonly declaration: 'export interface ReasoningEffortInfo { id: string; name: string; description?: string }'; }, { readonly name: 'ReasoningEffortsView'; readonly declaration: 'export interface ReasoningEffortsView { efforts: ReasoningEffortInfo[]; defaultEffort?: string }'; }, { readonly name: 'WhisperAccelerationId'; readonly declaration: "export type WhisperAccelerationId = 'default' | 'vulkan' | 'cuda'"; }, { readonly name: 'WhisperModelState'; readonly declaration: 'export interface WhisperModelState { runtimeAvailable: boolean; downloaded: boolean; downloading: boolean; progress: number | null; bytes: number | null; totalBytes: number | null; error: string | null; errorCode?: string; errorParams?: Record }'; }, { readonly name: 'CloudProviderModelsView'; readonly declaration: "export type CloudProviderModelsView = { status: 'ok' | 'no-key' | 'error' | 'unsupported'; models?: string[]; modelCapabilities?: Record; error?: string; errorCode?: string; errorParams?: Record }"; }, { readonly name: 'RealtimeSession'; readonly declaration: 'export interface RealtimeSession { sessionId: string }'; }, { readonly name: 'RealtimeTranscript'; readonly declaration: 'export interface RealtimeTranscript { text: string; final: boolean }'; }, { readonly name: 'RealtimeCancelled'; readonly declaration: 'export interface RealtimeCancelled { cancelled: true }'; }]; }]; readonly events: readonly []; readonly objects: readonly []; }; }; export default TYPERT;