export declare const PROMPT_REGISTRY_DIR = ".generated-prompts"; export declare const PROMPT_REGISTRY_FOOTER = ""; declare const REGISTER_FILES: { readonly "code.md": { readonly title: "Code Generation Prompts"; readonly covers: "source code, refactors, shared modules, and implementation-heavy changes"; readonly usage: readonly ["Read this file before creating or substantially changing source code.", "Use previous entries to preserve naming, layering, module ownership, and test patterns.", "Update the matching component entry when behavior, responsibility, or architecture changes."]; }; readonly "ui.md": { readonly title: "UI and UX Prompts"; readonly covers: "frontend screens, components, responsive layouts, UI copy, and accessibility-sensitive work"; readonly usage: readonly ["Read this file before changing user-facing UI.", "Preserve mobile-first decisions, state coverage, accessibility constraints, and visual language.", "Update entries for new flows, component state changes, or significant copy/interaction changes."]; }; readonly "services.md": { readonly title: "Service and Domain Prompts"; readonly covers: "domain models, service boundaries, API contracts, data flow, and backend behavior"; readonly usage: readonly ["Read this file before changing domain logic, service contracts, or persistence integration.", "Preserve API conventions, failure-mode decisions, idempotency, retries, and data ownership.", "Update entries when contracts, business rules, or service responsibilities change."]; }; readonly "tests.md": { readonly title: "Test and Evidence Prompts"; readonly covers: "unit tests, integration tests, Playwright specs, QA plans, fixtures, and evidence strategy"; readonly usage: readonly ["Read this file before creating tests or QA automation.", "Preserve fixture strategy, page object patterns, locator conventions, and evidence requirements.", "Update entries for substantial test plan, Playwright, or regression coverage changes."]; }; readonly "cicd.md": { readonly title: "CI/CD and Infrastructure Prompts"; readonly covers: "workflow YAML, deployment scripts, IaC, runtime config, observability, and rollback automation"; readonly usage: readonly ["Read this file before changing CI/CD, infra, environments, release, or runtime configuration.", "Preserve secret naming, gate order, rollback assumptions, and deployment safety constraints.", "Update entries for new pipelines, deployment stages, infrastructure modules, or operational gates."]; }; readonly "docs.md": { readonly title: "Documentation Prompts"; readonly covers: "ADRs, runbooks, release notes, user docs, support docs, and technical guides"; readonly usage: readonly ["Read this file before generating or substantially revising documentation.", "Preserve audience, structure, tone, decision history, and links to related artifacts.", "Update entries when docs capture new decisions, release behavior, runbooks, or support guidance."]; }; readonly "diagrams.md": { readonly title: "Diagram Prompts"; readonly covers: "architecture diagrams, workflow maps, Mermaid, Lucid, draw.io, and visual explanations"; readonly usage: readonly ["Read this file before creating or changing diagrams.", "Preserve diagram notation, scope boundaries, naming, and source-of-truth decisions.", "Update entries when a diagram changes architecture, data flow, or operational interpretation."]; }; readonly "evals.md": { readonly title: "AI Evaluation and Prompt Quality Prompts"; readonly covers: "LLM evals, prompt changes, model routing, provider fallback, rubrics, and AI behavior evidence"; readonly usage: readonly ["Read this file before changing prompts, model routing, provider fallback, or eval criteria.", "Preserve eval objectives, datasets, rubrics, model comparison notes, and accepted residual risks.", "Update entries when LLM behavior, scoring, or prompt quality expectations change."]; }; }; export type PromptRegistryFileName = keyof typeof REGISTER_FILES; export interface PromptRegistryWriteResult { written: string[]; skipped: string[]; } export declare function promptRegistryFileNames(): PromptRegistryFileName[]; export declare function buildPromptRegistryFile(name: PromptRegistryFileName): string; export declare function initPromptRegistry({ root, force, }?: { root?: string | undefined; force?: boolean | undefined; }): Promise; export declare function readPromptRegistryFile(root: string, name: PromptRegistryFileName): Promise; export {};