/** * Extension method call emission. * * Handles both fluent extension calls (receiver.Method(args)) and * explicit static extension calls (Type.Method(receiver, args)). */ import { IrExpression, IrType } from "@tsonic/frontend"; import { EmitterContext } from "../../types.js"; import type { CSharpExpressionAst } from "../../core/format/backend-ast/types.js"; /** * Try to emit an extension method call. Returns undefined if the call * is not an extension method invocation. */ export declare const tryEmitExtensionMethodCall: (expr: Extract, context: EmitterContext, expectedType: IrType | undefined) => [CSharpExpressionAst, EmitterContext] | undefined; //# sourceMappingURL=call-extension-methods.d.ts.map