import type { SpecDiagram, Spec, ProjectKnowledge } from '../../types/index.js';
/**
 * Generate all applicable diagrams for a spec based on its scope and context.
 */
export declare function generateDiagrams(spec: Spec, knowledge: ProjectKnowledge | null, options: {
    hasDatabase: boolean;
    hasUi: boolean;
    hasTransitions: boolean;
}): SpecDiagram[];
/**
 * Generate a data flow diagram: Client -> Action -> Service -> Repo -> DB
 */
export declare function generateDataFlowDiagram(spec: Spec, knowledge: ProjectKnowledge | null): SpecDiagram;
/**
 * Format diagrams as Mermaid code blocks for inclusion in markdown.
 */
export declare function formatDiagramsAsMarkdown(diagrams: SpecDiagram[]): string;
//# sourceMappingURL=core.d.ts.map