export interface SessionContext { daemonUser: string; daemonUid: number; daemonIsRoot: boolean; consoleUser: string | null; consoleUid: number | null; /** True when there is a console user and it differs from the daemon user. */ mismatched: boolean; } /** * Detect the daemon's user vs. the user currently logged into the macOS * GUI ("console") session. Used to decide how to launch GUI-class commands. * * On non-darwin platforms, console fields are null and `mismatched` is false. */ export declare function detectSessionContext(): SessionContext; export declare function isGuiClassCommand(command: string): boolean; //# sourceMappingURL=session-context.d.ts.map