/** * Shared utilities for building multi-file artifacts from Vue structure plans. * * Used by Vue transpilers when structure !== 'flat' to convert * a StructurePlan into GeneratedArtifact[]. */ import type { GeneratedArtifact, IRNode, ResolvedKernConfig } from '@kernlang/core'; import type { PlannedFile, StructurePlan } from './structure-vue.js'; export interface StructuredResult { entryCode: string; artifacts: GeneratedArtifact[]; } /** * Build artifacts from a Vue structure plan. * * @param plan - The structure plan from planVueStructure() * @param renderFile - Callback to render a single file's nodes to SFC code * @param root - The root IR node * @param config - Resolved config */ export declare function buildVueStructuredArtifacts(plan: StructurePlan, renderFile: (file: PlannedFile, config: ResolvedKernConfig) => string, root: IRNode, config: ResolvedKernConfig): StructuredResult;