import type { Command } from 'commander'; /** Test-only: the capture slot and the once-per-invocation latch are module state. */ export declare function resetNoticeState(): void; /** Records the first notice seen; printing is deferred so it lands at the end of a command. */ export declare function captureNotice(headers: Headers): void; /** Advisory only, never changes stdout, the exit code, or control flow. */ export declare function emitNotice(): void; /** For commands that are the fix themselves, such as `upgrade`, where the nudge is noise. */ export declare function suppressNotice(): void; /** postAction covers clean completions, the exit hook covers the process.exit and rejection paths, the latch keeps it to one. */ export declare function installNoticeEmit(program: Command): () => void;