faf-cli
Version:
😽 TURBO-CAT: The Rapid Catalytic Converter • Project DNA ✨ for ANY AI • Fully Integrated with React, Next.js, Svelte, TypeScript, Vite & n8n • FREE FOREVER • 10,000+ developers • Championship Edition
41 lines • 1.26 kB
TypeScript
/**
* 🎯 Chrome Extension Interactive Confirmation
* Google-style "Did you mean?" with inquirer
*/
export declare class ChromeExtensionConfirmer {
/**
* Ask user to confirm Chrome Extension detection
*/
static confirmDetection(text: string, confidence: 'medium' | 'low'): Promise<boolean>;
/**
* Show suggestions for common variations
*/
static selectFromSuggestions(input: string): Promise<string | null>;
/**
* Generate smart suggestions based on input
*/
private static generateSuggestions;
/**
* Interactive project type selector with fuzzy search
*/
static selectProjectType(currentInput?: string): Promise<string>;
/**
* Guess the most likely default based on input
*/
private static guessDefault;
}
/**
* Example usage:
*
* Input: "chr ext for managing tabs"
* → Shows: "🎯 Detected possible Chrome Extension"
* → Asks: "Did you mean to create a Chrome Extension?" [Y/n]
*
* Input: "c e"
* → Shows suggestions list with Chrome Extension highlighted
*
* Input: "extension"
* → Shows: "💠Found extension-related terms"
* → Asks: "Is this a Chrome Extension project?" [y/N]
*/
//# sourceMappingURL=chrome-extension-confirmer.d.ts.map