import { FC } from 'react'; type RecorderHandlers = { onStart?: (data: { setRecorderText: (value: string) => void; }) => void; onEnd?: (data: { duration: number; }) => void; onCancel?: () => void; onOutput?: () => void; }; export type RecorderProps = { volume?: number; triggerRef?: Element; canRecord?: boolean; } & RecorderHandlers; export declare const Recorder: FC; export declare function createRecorderProxy(handlers?: RecorderHandlers): { mount: (containerRef: HTMLElement, triggerRef: HTMLElement) => void; unmount: () => void; }; export {};