interface FigmaNode {
    id: string;
    name: string;
    type: string;
    layoutMode?: string;
    children?: FigmaNode[];
    fills?: {
        type: string;
        color?: {
            r: number;
            g: number;
            b: number;
        };
    }[];
}
interface FigmaFileResponse {
    name: string;
    document: FigmaNode;
}
interface FigmaFrame {
    nodeId: string;
    name: string;
    pageId: string;
    pageName: string;
    section: string;
}
export interface DesignContext {
    nodeId: string;
    frameName: string;
    section: string;
    description: string;
    componentHints: string[];
    layoutNotes: string[];
    colorTokens: string[];
    generatedAt: string;
}
export interface EnrichmentResult {
    specId: string;
    enriched: boolean;
    nodeIds: string[];
    contexts: DesignContext[];
    skippedReason?: string;
}
export declare function buildDesignContext(nodeId: string, frameName: string, section: string, figmaDocument: FigmaNode): DesignContext;
export declare function enrichSpecsWithDesignContext(specs: {
    specId: string;
    nodeIds: string[];
    section: string;
}[], file: FigmaFileResponse, frames: FigmaFrame[]): EnrichmentResult[];
export declare function formatEnrichmentAsMarkdown(results: EnrichmentResult[]): string;
export declare function getContextForSpec(specId: string, nodeIds: string[], file: FigmaFileResponse, frames: FigmaFrame[]): DesignContext[];
export {};
//# sourceMappingURL=design-enricher.d.ts.map