/** * Quiet-while-typing policy, suppresses non-critical notifications when * the user is actively composing input, preventing distracting UI churn * mid-keystroke. */ import type { NotificationLevel, NotificationTarget } from '../types.js'; /** * Determines if a notification at the given level and target should be * suppressed while the user is actively typing. * * - `critical`, never suppressed * - `warning` / `info` / `debug`, suppressed when quiet mode is active * AND the resolved target would surface above `panel_only` * * @param level - Notification severity level. * @param target - The target resolved by prior policies. * @param quietEnabled - Whether quiet-while-typing mode is currently active. * @returns Suppression reason string if suppressed, undefined otherwise. */ export declare function applyQuietTypingPolicy(level: NotificationLevel, target: NotificationTarget, quietEnabled: boolean): string | undefined; //# sourceMappingURL=quiet-typing.d.ts.map