/** * Structural shape matching and structural-to-nominal type resolution. * * Extracted from structural-resolution.ts — contains structural shape * comparison logic and the normalizeStructuralEmissionType deep walker. */ import type { IrType } from "@tsonic/frontend"; import type { EmitterContext } from "../../types.js"; export declare const isCompilerGeneratedStructuralReferenceType: (type: Extract) => boolean; type IteratorResultResolutionState = { readonly activeReferenceKeys: Set; }; export declare const resolveIteratorResultReferenceType: (type: IrType, context: EmitterContext, state?: IteratorResultResolutionState) => Extract | undefined; /** * Resolve structural emission-only helpers that already have an explicit reference * representation. Inline structural object types intentionally stay compiler-owned * and must not be rebound to authored aliases or classes here. */ export declare const resolveStructuralReferenceType: (type: IrType, context: EmitterContext) => IrType | undefined; export declare const normalizeStructuralEmissionType: (type: IrType, context: EmitterContext) => IrType; export {}; //# sourceMappingURL=structural-shape-matching.d.ts.map