import { FunctionalSummary, FallbackResult, DesignTemplate } from "@myycontext/core";
/**
 * Design Fallbacks
 *
 * Rule-based extractors and templates for when AI generation fails.
 * Ensures the design pipeline always produces usable output.
 */
export declare class DesignFallbacks {
    private templates;
    constructor();
    /**
     * Extract colors from brand context
     */
    extractColorsFromBrand(brand: string): FallbackResult;
    /**
     * Infer typography from project context
     */
    inferTypography(summary: FunctionalSummary): FallbackResult;
    /**
     * Generate default design tokens
     */
    generateDefaultTokens(projectType?: string): FallbackResult;
    /**
     * Map common design patterns
     */
    mapCommonPatterns(summary: FunctionalSummary): FallbackResult;
    /**
     * Get template by project type
     */
    getTemplate(projectType: string): DesignTemplate | null;
    /**
     * List available templates
     */
    getAvailableTemplates(): string[];
    private initializeTemplates;
    private createComponent;
    private generateComplementaryColor;
    private getDefaultColors;
    private getDefaultTypography;
    private getDefaultSpacing;
    private getDefaultRadii;
    private getDefaultShadows;
    private getDefaultMotion;
    private getDefaultBreakpoints;
    private getDefaultTokens;
    private getDefaultHierarchy;
}
//# sourceMappingURL=designFallbacks.d.ts.map