/** * What the browser says about using the microphone here before anyone asks: * `blocked` when this page is not allowed to use it at all (an embedded frame * without microphone permission, such as an add-in in Office on the web), * `denied` when the person blocked it for this site, `unknown` when the browser * will ask when voice starts or cannot say. * * Browsers without a permissions-policy API (Firefox) report a frame without * microphone permission as `denied`; inside an embedded frame that is most * likely the host page's policy, which site settings can't change, so it counts * as `blocked` there. */ export type MicrophoneAccess = "unknown" | "blocked" | "denied"; export declare function useMicrophoneAccess(): MicrophoneAccess;