/**
 * Prompt builders for the open-claude-design workflow.
 *
 * Each builder produces a focused, single-responsibility prompt for one
 * stage of the 5-phase design pipeline. Context-engineering principles:
 *
 *   - Position-aware framing: key context (design prompt, design system)
 *     at the TOP and BOTTOM of every prompt.
 *   - Forward-only data flow: downstream stages embed upstream outputs
 *     verbatim — no re-discovery.
 *   - Trailing-prose guarantee: every prompt asks for a short prose recap
 *     so transcript reads never return empty.
 *   - HIL via AskUserQuestion: explicit instructions to use the tool,
 *     never regular NL conversation, for user decisions.
 */
import type { ImportContext } from "./import.ts";
import type { DesignSystemData } from "./design-system.ts";
/** Phase 1 — headless: find CSS/Tailwind/design files in codebase. */
export declare function buildDesignLocatorPrompt(opts: {
    root: string;
}): string;
/** Phase 1 — headless: extract colors, fonts, spacing from located files. */
export declare function buildDesignAnalyzerPrompt(opts: {
    root: string;
}): string;
/** Phase 1 — headless: find existing component patterns in the codebase. */
export declare function buildDesignPatternPrompt(opts: {
    root: string;
}): string;
/**
 * Phase 1 — visible, HIL: present findings and build Design.md with
 * user approval at each decision point.
 */
export declare function buildDesignSystemBuilderPrompt(opts: {
    root: string;
    locatorOutput: string;
    analyzerOutput: string;
    patternsOutput: string;
    existingImpeccable: string;
}): string;
/** Phase 2 — headless: navigate URL, screenshot, extract DOM/CSS. */
export declare function buildWebCapturePrompt(opts: {
    url: string;
    screenshotDir: string;
}): string;
/** Phase 2 — headless: parse document reference (DOCX/PPTX/XLSX/image/PDF). */
export declare function buildFileParserPrompt(opts: {
    filePath: string;
}): string;
/** Phase 3 — visible: generate first design version. */
export declare function buildGeneratorPrompt(opts: {
    prompt: string;
    outputType: string;
    designSystem: DesignSystemData;
    importContext: ImportContext;
    root: string;
    outputDir: string;
}): string;
/** Phase 4 — visible, HIL: collect user feedback on the current design. */
export declare function buildRefineFeedbackPrompt(opts: {
    prompt: string;
    designDir: string;
    iteration: number;
    maxIterations: number;
}): string;
/** Phase 4 — headless: automated design critique with structured output. */
export declare function buildCritiquePrompt(opts: {
    designDir: string;
    designSystem: DesignSystemData;
    userFeedback: string;
}): string;
/** Phase 4 — headless: visual validation via playwright screenshot. */
export declare function buildScreenshotValidationPrompt(opts: {
    designDir: string;
    scratchDir: string;
}): string;
/** Phase 4 — visible: apply feedback + critique findings to the design. */
export declare function buildApplyChangesPrompt(opts: {
    prompt: string;
    designDir: string;
    designSystem: DesignSystemData;
    userFeedback: string;
    critiqueOutput: string;
    screenshotOutput: string;
    scanFindings: string;
    iteration: number;
}): string;
/**
 * Phase 4 — visible: final deterministic gate. Runs when the post-loop
 * scanner still reports findings. The agent MUST remove every one before
 * export; no ambiguity, no negotiation, no new features.
 */
export declare function buildForcedFixPrompt(opts: {
    designDir: string;
    designSystem: DesignSystemData;
    scanFindings: string;
}): string;
/** Phase 5 — visible: export design and create output-type-tailored assets. */
export declare function buildExportPrompt(opts: {
    prompt: string;
    designDir: string;
    finalDesignDir: string;
    designSystem: DesignSystemData;
    outputType: string;
}): string;
//# sourceMappingURL=prompts.d.ts.map