import { SubAgent } from "../interfaces/SubAgent";
import { DesignPipelineInput, DesignPipelineOutput } from "@myycontext/core";
/**
 * DesignPipelineAgent
 *
 * Implements an 8-phase design reasoning pipeline as a SubAgent.
 * Each phase has AI generation with rule-based fallbacks for model-agnostic reliability.
 */
export declare class DesignPipelineAgent implements SubAgent<DesignPipelineInput, DesignPipelineOutput> {
    name: string;
    description: string;
    personality: string;
    llmProvider: string;
    expertise: string[];
    private ai;
    private fs;
    private stateManager;
    private fallbacks;
    constructor(projectPath?: string);
    run(input: DesignPipelineInput, resumeFromState?: boolean): Promise<DesignPipelineOutput>;
    /**
     * Execute a phase with comprehensive error handling
     */
    private executePhaseWithErrorHandling;
    /**
     * Save progress after each successful phase
     */
    private saveProgress;
    /**
     * Detect the type of failure from error
     */
    private detectFailureType;
    /**
     * Show comprehensive recovery guidance
     */
    private showRecoveryGuidance;
    /**
     * Get human-readable phase name
     */
    private getPhaseName;
    private parsePRD;
    private extractFunctionalSummaryFromPRD;
    private classifyScope;
    private classifyScopeByRules;
    private detectGaps;
    private generateDesignBrief;
    private generateDesignBriefByRules;
    private buildVisualSystem;
    private generateVisualSystemByRules;
    private defineHierarchy;
    private defineHierarchyByRules;
    private planImplementation;
    private planImplementationByRules;
    private synthesizeIntent;
    private synthesizeIntentByRules;
    private initializeFallbacks;
    private extractAppName;
    private extractFeatures;
    private extractPurpose;
    private extractUserActions;
    private inferPlatform;
    private extractTechnicalRequirements;
    private assessComplexity;
    private extractPersonas;
    private extractBusinessGoals;
    private extractSuccessMetrics;
    private generateScreensFromFeatures;
    private generateComponentsFromActions;
    private validateFunctionalSummary;
    private calculateConfidenceScores;
    private createEmptyManifest;
    /**
     * Validate UI intents from PRD and context files
     */
    private validateIntents;
    validate(input: DesignPipelineInput): Promise<boolean>;
    cleanup(): Promise<void>;
    getStatus(): Promise<any>;
    /**
     * Robustly extract JSON from AI response (strips markdown code blocks)
     */
    private extractJSON;
}
//# sourceMappingURL=DesignPipelineAgent.d.ts.map