/** * Binary operator helper functions — narrowing targets, comparison type * resolution, and nullish comparison context building. * * Extracted from binary-emitter.ts — contains the helper functions used * by the main emitBinary dispatcher. */ import { IrExpression, IrType } from "@tsonic/frontend"; import { EmitterContext } from "../../types.js"; export declare const getNarrowingTargetKey: (expr: IrExpression) => string | undefined; export declare const getTransparentComparisonTarget: (expr: IrExpression) => IrExpression; export declare const resolveComparisonOperandType: (expr: IrExpression, context: EmitterContext) => IrType | undefined; export declare const isNumericOperandType: (type: IrType | undefined) => boolean; export declare const widenLiteralComparisonType: (type: IrType | undefined) => IrType | undefined; export declare const chooseComparisonExpectedType: (ownType: IrType | undefined, otherType: IrType | undefined, context: EmitterContext) => IrType | undefined; export declare const buildNullishComparisonContext: (expr: IrExpression, context: EmitterContext) => EmitterContext; //# sourceMappingURL=binary-helpers.d.ts.map