/** * Guard to prevent interactive prompts from running in non-interactive terminals. * * When stdin is not a TTY (e.g. piped input, CI, or programmatic execution), * @clack/prompts will auto-resolve with default/initial values — which can * cause destructive operations (like overwriting config files) without user * confirmation. This guard ensures interactive commands fail early and * explicitly in non-interactive environments. */ export default function ensureInteractive(): void; /** Thrown when the user cancels a prompt; command dispatchers swallow it. */ export declare class CancelledError extends Error { constructor(); } export declare function assertNotCancel(value: T): asserts value is Exclude; //# sourceMappingURL=guard.d.ts.map