import type { ScaffoldTemplateVariables } from './scaffold.js'; import type { BuiltInTemplateId } from './template-registry.js'; /** * Emits built-in scaffold source files from typed block generation inputs. * * This module is intentionally internal to the runtime boundary: built-in * scaffold bodies and adjacent emitted source files are now derived from * `ScaffoldTemplateVariables`, but the emitter helpers themselves are not part * of the public root export surface. */ export interface BuiltInCodeArtifact { /** * File path relative to the generated project root. */ relativePath: string; /** * Fully rendered file contents with a trailing newline. */ source: string; } /** * Build the emitter-owned scaffold files for a built-in template family. * * These artifacts are written after template copy so built-in structural, * source, and adjacent generated files always come from the typed generator * boundary rather than stale Mustache sources. */ export declare function buildBuiltInCodeArtifacts({ templateId, variables }: { templateId: BuiltInTemplateId; variables: ScaffoldTemplateVariables; }): BuiltInCodeArtifact[];