/** * Prompts - Interactive prompts with Inquirer * * Provides interactive prompts for user input during CLI operations. * * @requirements 29.8 */ import type { Severity } from 'driftdetect-core'; /** * Pattern approval choice */ export interface PatternChoice { /** Pattern ID */ id: string; /** Pattern name */ name: string; /** Pattern category */ category: string; /** Confidence score */ confidence: number; } /** * Prompt for confirmation */ export declare function confirmPrompt(message: string, defaultValue?: boolean): Promise; /** * Prompt for text input */ export declare function inputPrompt(message: string, defaultValue?: string): Promise; /** * Prompt to select from a list of options */ export declare function selectPrompt(message: string, choices: Array<{ value: T; name: string; description?: string; }>): Promise; /** * Prompt to select multiple items from a list */ export declare function multiSelectPrompt(message: string, choices: Array<{ value: T; name: string; checked?: boolean; }>): Promise; /** * Prompt for pattern approval action */ export type PatternAction = 'approve' | 'ignore' | 'skip' | 'variant'; export declare function promptPatternAction(pattern: PatternChoice): Promise; /** * Prompt for multiple pattern approvals */ export declare function promptBatchPatternApproval(patterns: PatternChoice[]): Promise; /** * Prompt for severity selection */ export declare function promptSeverity(message?: string): Promise; /** * Prompt for variant reason */ export declare function promptVariantReason(): Promise; /** * Prompt for variant scope */ export type VariantScope = 'global' | 'directory' | 'file'; export declare function promptVariantScope(): Promise; /** * Prompt for initialization options */ export interface InitPromptResult { /** Whether to scan immediately */ scanNow: boolean; /** Whether to auto-approve high confidence patterns */ autoApprove: boolean; } export declare function promptInitOptions(): Promise; /** * Prompt for ignore reason */ export declare function promptIgnoreReason(): Promise; /** * Prompt for report format selection */ export type ReportFormat = 'text' | 'json' | 'github' | 'gitlab'; export declare function promptReportFormat(): Promise; /** * Prompt for category selection */ export declare function promptCategorySelection(categories: string[]): Promise; //# sourceMappingURL=prompts.d.ts.map