/** * Methods for interacting with system preferences in a ToDesktop application. * * @remarks * This package exposes a number of methods for interacting with system * preferences in a ToDesktop application. * * @experimental * @public * @packageDocumentation */ /** * @public */ export declare type MediaTypeCommon = "microphone" | "camera"; /** * @public */ export declare type AccessStatus = "not-determined" | "granted" | "denied" | "restricted" | "unknown"; /** * @public */ export declare function askForMediaAccess(type: MediaTypeCommon): Promise; /** * @public */ export declare function getMediaAccessStatus(type: MediaTypeCommon | "screen"): Promise;