/**
 * Context Validator Service
 *
 * Detects gaps in context files and tracks auto-generated features
 * to ensure user approval before proceeding with generation.
 */
export interface ContextGap {
    id: string;
    category: "critical" | "important" | "optional";
    question: string;
    context: string;
    suggestedAnswers?: string[];
    reasoning: string;
    userAnswer?: string;
}
export interface AutoGeneratedFeature {
    id: string;
    feature: string;
    reasoning: string;
    confidence: "high" | "medium" | "low";
    contextSource: string;
    approved?: boolean | null;
    modified?: boolean;
}
export interface ContextValidationResult {
    gaps: ContextGap[];
    autoGeneratedFeatures: AutoGeneratedFeature[];
    hasCriticalGaps: boolean;
    canProceed: boolean;
}
export declare class ContextValidator {
    private gaps;
    private autoGeneratedFeatures;
    /**
     * Validate context files for completeness and detect gaps
     */
    validateContext(contextFiles: {
        prd?: string;
        brand?: string;
        techStack?: string;
        description?: string;
    }): Promise<ContextValidationResult>;
    /**
     * Deduplicate gaps by ID
     */
    private deduplicateGaps;
    /**
     * Deduplicate features by ID
     */
    private deduplicateFeatures;
    /**
     * Analyze PRD for missing critical information
     */
    private analyzePRDGaps;
    /**
     * Analyze initial description for gaps
     */
    private analyzeDescriptionGaps;
    /**
     * Analyze tech stack for gaps
     */
    private analyzeTechStackGaps;
    /**
     * Check for game-specific gaps
     */
    private checkGameGaps;
    /**
     * Helper methods for text analysis
     */
    private containsGameKeywords;
    private mentionsUsers;
    private mentionsAuth;
    private mentionsDataPersistence;
    private mentionsDatabase;
    private mentionsPayments;
    private isVagueGameDescription;
    private isVagueAppDescription;
    private mentionsTargetAudience;
    private mentionsMultiplayer;
    private mentionsDeployment;
    private mentionsEnvironmentConfig;
    /**
     * Get gaps by category
     */
    getGapsByCategory(category: "critical" | "important" | "optional"): ContextGap[];
    /**
     * Get auto-generated features by confidence
     */
    getFeaturesByConfidence(confidence: "high" | "medium" | "low"): AutoGeneratedFeature[];
    /**
     * Add auto-generated feature
     */
    addAutoGeneratedFeature(feature: Omit<AutoGeneratedFeature, "id">): void;
    /**
     * Generate unique ID for feature
     */
    private generateFeatureId;
}
//# sourceMappingURL=ContextValidator.d.ts.map