/** * Cloud STT engine. * * Records microphone audio to a WAV via `MicRecording`, then transcribes it * through a cloud provider (`transcribe.ts`, provider-agnostic). While * recording, it periodically re-transcribes the audio-so-far and emits that as * a partial, which keeps the live text stable and self-correcting (the provider * re-derives the whole utterance each tick). On stop it emits the final, most * accurate transcript. * * This preserves the original chunked-live behavior for non-macOS / cloud users * while keeping the controller engine-agnostic. */ import type { AuthStorage } from '@mastra/code-sdk/auth/storage'; import type { STTEngine, STTSession, STTSessionCallbacks } from './types.js'; export interface CloudEngineOptions { provider: string; model?: string; authStorage?: AuthStorage; } export declare class CloudSTTEngine implements STTEngine { private readonly options; readonly kind: "cloud"; constructor(options: CloudEngineOptions); checkReady(): string | null; start(callbacks: STTSessionCallbacks): STTSession; } //# sourceMappingURL=cloud-engine.d.ts.map