/** * Prompt Handler - Utilities for handling interactive prompt cancellations */ /** * Check if an error is a prompt cancellation (user pressed Ctrl+C) * Handles inquirer's ExitPromptError and similar cancellation scenarios */ export declare function isPromptCancellation(error: unknown): boolean; /** * Handle prompt cancellation with a friendly message * Shows a clean exit message and exits with code 0 (success) */ export declare function handlePromptCancellation(silent?: boolean): never; /** * Wrapper for prompt operations that handles cancellation gracefully */ export declare function withPromptCancellation(operation: () => Promise, silent?: boolean): Promise; //# sourceMappingURL=prompt-handler.d.ts.map