import type Release from './index.js'; /** Injectable seams for {@link run}, so the CLI is testable without a real terminal. */ export interface CliDeps { cwd: string; env: NodeJS.ProcessEnv; stdout: (msg: string) => void; stderr: (msg: string) => void; progress: (line: string) => void; confirm: (question: string) => Promise; exit: (code: number) => void; release: typeof Release; } /** Interpret a confirmation answer with a default of yes: only an explicit `n`/`no` declines. */ export declare function isConfirmed(answer: string): boolean; /** Run the CLI. Resolves once the release completes (or the process is told to exit). */ export declare function run(argv: string[], deps: CliDeps): Promise;