/** * Generator Exchange Object Generator * Per spec/13-generators.md - Generate exchange objects for bidirectional communication * * Exchange and wrapper classes are built as typed CSharpTypeDeclarationAst. */ import { IrModule, IrTypeParameter } from "@tsonic/frontend"; import { EmitterContext } from "./types.js"; import { type GeneratorLike } from "./generator-wrapper.js"; import type { CSharpTypeDeclarationAst } from "./core/format/backend-ast/types.js"; /** * Generate exchange object class as CSharpTypeDeclarationAst */ export declare const generateExchangeClassAst: (func: GeneratorLike, context: EmitterContext, helperBaseName?: string, helperTypeParameters?: readonly IrTypeParameter[]) => [CSharpTypeDeclarationAst, EmitterContext]; /** * Generate all exchange objects and wrapper classes for generators in a module. */ export declare const generateGeneratorExchanges: (module: IrModule, context: EmitterContext) => [readonly CSharpTypeDeclarationAst[], EmitterContext]; //# sourceMappingURL=generator-exchange.d.ts.map