import type { RealTimeVADOptions } from "@ricky0123/vad-web";
export { utils } from "@ricky0123/vad-web";
interface ReactOptions {
    startOnLoad: boolean;
    userSpeakingThreshold: number;
}
export type ReactRealTimeVADOptions = RealTimeVADOptions & ReactOptions;
export declare const getDefaultReactRealTimeVADOptions: (model: "legacy" | "v5") => ReactRealTimeVADOptions;
export declare function useMicVAD(options: Partial<ReactRealTimeVADOptions>): {
    listening: boolean;
    errored: string | false;
    loading: boolean;
    userSpeaking: boolean;
    pause: () => void;
    start: () => void;
    toggle: () => void;
};
//# sourceMappingURL=index.d.ts.map