/** * Tuple type emission * * TypeScript tuples are emitted as System.ValueTuple * For tuples with more than 7 elements, .NET requires nesting: * ValueTuple> (recursive for 15+, 22+, etc.) */ import { IrType } from "@tsonic/frontend"; import { EmitterContext } from "../types.js"; import type { CSharpTypeAst } from "../core/format/backend-ast/types.js"; /** * Emit tuple types as CSharpTypeAst (identifierType nodes for ValueTuple<>) * * TypeScript: [string, number, boolean] * C#: global::System.ValueTuple * * For 8+ elements, uses .NET's nested TRest pattern: * TypeScript: [T1, T2, T3, T4, T5, T6, T7, T8] * C#: global::System.ValueTuple> */ export declare const emitTupleType: (type: Extract, context: EmitterContext) => [CSharpTypeAst, EmitterContext]; //# sourceMappingURL=tuples.d.ts.map