"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Lambda = Lambda;
const BINDING_ERROR = 'SimpleSteps service bindings cannot be called directly. They exist only for the compiler.';
/**
 * Creates a typed Lambda function binding.
 *
 * Returns a stub at runtime (safe for CDK inline workflows where the
 * transformer replaces usage). Methods throw if called directly.
 */
function Lambda(arn, options) {
    const stub = () => { throw new Error(BINDING_ERROR); };
    stub.call = () => { throw new Error(BINDING_ERROR); };
    stub.callAsync = () => { throw new Error(BINDING_ERROR); };
    stub.callWithCallback = () => { throw new Error(BINDING_ERROR); };
    return stub;
}
//# sourceMappingURL=Lambda.js.map