type TerminalApp = "ghostty" | "kitty" | "iterm" | "wezterm" | "terminal" | "alacritty" | "hyper" | "windows-terminal" | "unknown"; interface TerminalInfo { app: TerminalApp; bundleId?: string; processName?: string; } /** * Detect which terminal emulator is running. * Checks TERM_PROGRAM and other environment variables. */ export declare function detectTerminal(configuredTerminal: string | null): TerminalInfo; /** * Check if the terminal window is currently focused. * Used to suppress notifications when user is already looking at the terminal. */ export declare function isTerminalFocused(terminal: TerminalInfo): boolean; /** * Focus the terminal window. * Called when user clicks a notification. */ export declare function focusTerminal(terminal: TerminalInfo): void; export {}; //# sourceMappingURL=terminal.d.ts.map