/** * flaps TypeScript generator. * * Converts import IR from {@link FlyParser} into typed chant TypeScript: * `import { App, Machine, ... } from "@intentius/chant-lexicon-fly";` followed by * `export const = new ({ ... });`. * * fly's nested config types (`MachineConfig`, `MachineGuest`, `MachineService`, * ...) are property declarables — classes with an empty instance shape — so a * bare object literal would trip TypeScript's excess-property check against the * declared parameter type. Wherever a field's declared type is one of those * classes, the value is wrapped in `new ({ ... })` (recursively), which is * the same authoring surface `chant init` scaffolds and the serializer walks back * to the identical flaps body. */ import type { TypeScriptGenerator, GeneratedFile } from "@intentius/chant/import/generator"; import type { TemplateIR } from "@intentius/chant/import/parser"; export declare class FlyGenerator implements TypeScriptGenerator { generate(ir: TemplateIR): GeneratedFile[]; } //# sourceMappingURL=generator.d.ts.map