/** * Notification utility for alerting the user when the TUI needs attention. * Sends a terminal bell and optionally a native OS notification. */ import type { HookManager } from '../hooks/manager.js'; export type NotificationMode = 'bell' | 'system' | 'both' | 'off'; export type NotificationReason = 'agent_done' | 'ask_question' | 'tool_approval' | 'plan_approval' | 'sandbox_access'; /** * Send a notification to the user. * - "bell": writes \x07 to stdout (terminal bell) * - "system": sends a native OS notification (macOS only for now) * - "both": bell + system * - "off": no-op * * Also fires Notification hooks if a hookManager is provided. */ export declare function sendNotification(reason: NotificationReason, opts: { mode: NotificationMode; message?: string; hookManager?: HookManager; }): void; //# sourceMappingURL=notify.d.ts.map