import type { AsrBackendId } from '../config.js'; import type { BackendState, WhisperModelView } from './settings-controller.js'; export type MicUnavailableReason = { kind: 'backend'; backendId: AsrBackendId; } | { kind: 'model-downloading'; percent: number | null; } | { kind: 'model-not-downloaded'; }; /** Returns why the microphone is unavailable, or null if ready. */ export declare function micUnavailableReason(backend: AsrBackendId, backendState: BackendState, whisperView: WhisperModelView): MicUnavailableReason | null;