import type { Budget } from "./budget.js";
import { type SandboxObject, type SandboxPromise, type SandboxValue } from "./values.js";
export type PromiseGlobals = {
    Promise: SandboxObject;
};
export declare function createPromiseGlobals(options: {
    budget: Budget;
}): PromiseGlobals;
export declare function getPromiseMember(target: SandboxPromise, property: string | number, budget: Budget, enqueue?: <T>(task: () => Promise<T>) => Promise<T>): SandboxValue;
export declare function resolveSandboxValue(value: SandboxValue | Promise<SandboxValue> | PromiseLike<SandboxValue>, options?: {
    budget?: Budget;
}): Promise<SandboxValue>;
