export type VoiceNoteStatus = 'idle' | 'recording' | 'recorded' | 'playing'; interface VoiceNoteRecorderProps { recording?: boolean; duration?: number; bars?: number[]; barCount?: number; maxDuration?: number; downloadName?: string; disabled?: boolean; class?: string; onstart?: () => void; onstop?: (blob: Blob | null) => void; oncancel?: () => void; onrecorded?: (blob: Blob, url: string) => void; onerror?: (error: Error) => void; } declare const VoiceNoteRecorder: import("svelte").Component; type VoiceNoteRecorder = ReturnType; export default VoiceNoteRecorder;