import type { ParseNode } from '../parser/ParseNode.mts'; import type { PlainEvaluator } from '../evaluator.mts'; import type { ECMAScriptFunctionObject, ObjectValue, PrivateName, PropertyKeyValue } from '#self'; export interface DefineMethodRecord { readonly Key: PropertyKeyValue | PrivateName; readonly Closure: ECMAScriptFunctionObject; } /** https://tc39.es/ecma262/#sec-runtime-semantics-definemethod */ export declare function DefineMethod(MethodDefinition: ParseNode.MethodDefinition, object: ObjectValue, functionPrototype?: ObjectValue): PlainEvaluator; //# sourceMappingURL=DefineMethod.d.mts.map