import * as react from "react"; //#region src/components/chat/CopilotChatAudioRecorder.d.ts /** Finite-state machine for every recorder implementation */ type AudioRecorderState = "idle" | "recording" | "processing"; /** Error subclass so callers can `instanceof`-guard recorder failures */ declare class AudioRecorderError extends Error { constructor(message: string); } interface AudioRecorderRef { state: AudioRecorderState; start: () => Promise; stop: () => Promise; dispose: () => void; } declare const CopilotChatAudioRecorder: react.ForwardRefExoticComponent & react.RefAttributes>; //#endregion export { AudioRecorderError, AudioRecorderRef, AudioRecorderState, CopilotChatAudioRecorder }; //# sourceMappingURL=CopilotChatAudioRecorder.d.cts.map