/** * File-generation core engine for `rolebox init`. * * Produces role.yaml and PROMPT.md (plus subagent scaffolding) for all 4 * built-in template types. Uses js-yaml `dump()` for all YAML generation — * never hand-written YAML strings. * * @module */ import { type InitConfig, type TemplateType } from "../../templates/index.ts"; /** * Build a role.yaml object per template type, then serialise it with js-yaml. * * | Template | Includes | * |---------------|----------------------------------------------------| * | minimal | name, description, prompt_file | * | standard | + skills: [], functions: [plan, execute] | * | subagents | standard + subagents array (inline) | */ export declare function generateRoleYaml(config: InitConfig, templateType: TemplateType): string; /** * Build the content of PROMPT.md for a given template type. * * The content is meaningful (not a bare "PLACEHOLDER") and varies by template: * * - **minimal** — generic TODO skeleton * - **standard** — structured skeleton with role positioning and behaviour * constraints * - **subagents** — team-coordination prompt skeleton */ export declare function generatePromptFile(config: InitConfig, templateType: TemplateType): string; /** * Collect all template files in memory, then write them atomically to * `targetDir`. Creates any missing parent directories. * * For the `subagents` template a `subagents/{name}/` * directory is created for each sub-agent, each containing its own * `role.yaml` and `PROMPT.md`. */ export declare function scaffoldRole(targetDir: string, config: InitConfig, templateType: TemplateType): Promise; //# sourceMappingURL=init-scaffold.d.ts.map