/** * Object type emission * * IrObjectType represents anonymous object types like `{ x: number }`. * These should be caught by frontend validation (TSN7403) and never reach the emitter. * * Named types (interfaces, type aliases, classes) become IrReferenceType instead. */ import { IrType } from "@tsonic/frontend"; import { EmitterContext } from "../types.js"; import type { CSharpTypeAst } from "../core/format/backend-ast/types.js"; /** * Emit object types as CSharpTypeAst * * ICE: This should never be called. Frontend validation (TSN7403) should * reject anonymous object types. If we reach here, validation has a gap. */ export declare const emitObjectType: (type: Extract, context: EmitterContext) => [CSharpTypeAst, EmitterContext]; //# sourceMappingURL=objects.d.ts.map