import type { ChatVoiceConfig } from "../types/voice";
type StopAction = "send" | "transcribe";
export declare function useVoiceInputController(config?: ChatVoiceConfig): {
    mode: import("..").ChatInputMode;
    status: import("..").ChatInputStatus;
    waveformLevels: number[];
    durationMs: number;
    beginVoiceMode: () => void;
    setMode: (args_0: import("..").ChatInputMode | ((prev: import("..").ChatInputMode) => import("..").ChatInputMode)) => void;
    startRecording: () => void;
    cancelRecording: (message?: string | null) => void;
    stopRecording: (action?: StopAction) => void;
};
export {};
