/**
 * Template overlay helper.
 *
 * Copies every file under `infrastructure/templates/vite-shadcn-base/`
 * on top of an already-scaffolded project, preserving directory
 * structure. Existing files at the destination are OVERWRITTEN — the
 * template is authoritative (e.g. `src/index.css` from the template
 * replaces the one shadcn init wrote).
 *
 * The `.template-manifest.json` file is read first to pick up the
 * template version, which is returned to the caller so it can be
 * persisted on the Application row.
 *
 * Resolves the template root relative to THIS source file via
 * `import.meta.url` so the same code works both from `src/` during
 * dev (`pnpm dev:cli`) and from `dist/` after `tsc` build (shipped
 * as part of the published npm package).
 */
export interface TemplateOverlayResult {
    readonly templateFiles: readonly string[];
    readonly templateVersion: string;
}
/**
 * Apply the fat-template overlay to `repositoryPath`. Overwrites
 * any files at colliding destinations — the template wins.
 *
 * The `.template-manifest.json` file is read for metadata only and
 * is NOT copied into the user's project.
 */
export declare function applyTemplateOverlay(repositoryPath: string): Promise<TemplateOverlayResult>;
//# sourceMappingURL=template-overlay.d.ts.map