import type { kAsyncContext } from '../utils/internal.mts'; import { type Realm, type AbstractModuleRecord, type ScriptRecord, type NullValue, type ExecutionContext, type FunctionObject, Value, type Arguments, type ValueEvaluator, type PlainEvaluator } from '#self'; /** https://tc39.es/ecma262/#job */ export interface Job { readonly queueName: string; readonly job: () => PlainEvaluator; readonly callerRealm: Realm; readonly callerScriptOrModule: AbstractModuleRecord | ScriptRecord | NullValue; } /** https://tc39.es/ecma262/#sec-jobcallback-records */ export interface JobCallbackRecord { Callback: FunctionObject & { [kAsyncContext]?: ExecutionContext; }; HostDefined: undefined; } /** https://tc39.es/ecma262/#sec-hostmakejobcallback */ export declare function HostMakeJobCallback(callback: FunctionObject): JobCallbackRecord; /** https://tc39.es/ecma262/#sec-hostcalljobcallback */ export declare function HostCallJobCallback(jobCallback: JobCallbackRecord, V: Value, argumentsList: Arguments): ValueEvaluator; /** https://tc39.es/ecma262/#sec-hostenqueuepromisejob */ export declare function HostEnqueuePromiseJob(job: () => PlainEvaluator, realm: Realm | null): void; //# sourceMappingURL=Job.d.mts.map