/** Output format for the run. `human` keeps the interactive TUI experience. */ export type OutputFormat = "human" | "json" | "fix-commands"; interface OutputState { format: OutputFormat; quiet: boolean; verbose: boolean; } export declare function configureOutput(next: Partial): void; export declare function getOutputFormat(): OutputFormat; /** True when stdout is reserved for machine-readable data. */ export declare function isMachineFormat(): boolean; export declare function isQuiet(): boolean; export declare function isVerbose(): boolean; /** * Human-facing diagnostics always go to stderr so stdout stays pipeable. * Suppressed by `--quiet`. */ export declare function log(message?: string): void; /** Warnings/errors go to stderr even in quiet mode. */ export declare function logError(message?: string): void; /** Extra detail, only with `--verbose`. */ export declare function logDebug(message?: string): void; /** Machine-readable data — the only thing ever written to stdout. */ export declare function emit(data: string): void; export interface Spinner { start(text?: string): Spinner; succeed(text?: string): Spinner; fail(text?: string): Spinner; } /** * Spinner rendered on stderr. Disabled entirely in quiet mode, and degraded to * plain lines when stderr is not a TTY (CI logs, redirected output). */ export declare function createSpinner(text: string): Spinner; export {};