UNPKG

@stack-inc/electron-notification-state

Version:
6 lines (5 loc) 404 B
import { QUERY_USER_NOTIFICATION_STATE } from '@stack-inc/windows-notification-state'; import { SessionState } from '@stack-inc/macos-notification-state'; export declare type NotificationState = QUERY_USER_NOTIFICATION_STATE | SessionState | 'UNKNOWN' | 'UNKNOWN_ERROR' | 'DO_NOT_DISTURB'; export declare function getSessionState(): NotificationState; export declare function getDoNotDisturb(): boolean;