// Type definitions for node-mac-permissions // Project: node-mac-permissions export function askForAppleEventsAccess(targetAppBundleId: string, shouldPrompt?: boolean): Promise> export function askForAccessibilityAccess(): undefined export function askForCalendarAccess(accessType?: 'write-only' | 'full'): Promise> export function askForCameraAccess(): Promise export function askForContactsAccess(): Promise> export function askForFoldersAccess(): Promise> export function askForFullDiskAccess(): undefined export function askForInputMonitoringAccess(accessType?: 'listen' | 'post'): Promise> export function askForLocationAccess(accessType?: 'when-in-use' | 'always'): Promise> export function askForMicrophoneAccess(): Promise export function askForPhotosAccess(accessType?: 'add-only' | 'read-write'): Promise export function askForRemindersAccess(): Promise> export function askForSpeechRecognitionAccess(): Promise> export function askForScreenCaptureAccess(openPreferences?: boolean): undefined export function getAuthStatus(authType: AuthType): PermissionType | 'not determined' | 'provisional' | 'limited' export function version(): string export type AuthType = | 'accessibility' | 'bluetooth' | 'calendar' | 'camera' | 'contacts' | 'full-disk-access' | 'input-monitoring' | 'location' | 'microphone' | 'music-library' | 'notifications' | 'photos-add-only' | 'photos-read-write' | 'reminders' | 'speech-recognition' | 'screen' export type PermissionType = 'authorized' | 'denied' | 'restricted'