/** * Captured Promise operations for extension lifecycle boundaries. * * Extension-owned code runs in the host realm and can mutate public Promise * hooks after module initialization. Lifecycle coordination therefore uses * captured intrinsics and temporarily shadows each observed Promise's * constructor so native `then` cannot consult a mutated constructor or * `Symbol.species`. A Promise whose constructor cannot be shadowed is observed * only while its complete constructor path still uses the captured intrinsic * hooks. * * @internal */ /** * Construct a core-owned Promise whose constructor lookup remains intrinsic. * * Callers must keep the executor core-owned; this helper is not an isolation * boundary for arbitrary thenables passed to `resolve`. */ export declare function createIntrinsicPromise(executor: (resolve: (value: T | PromiseLike) => void, reject: (reason?: unknown) => void) => void): Promise; /** Create an already-fulfilled, constructor-pinned lifecycle Promise. */ export declare function createResolvedIntrinsicPromise(): Promise; /** * Attach non-thenable settlement callbacks without consulting live Promise * properties. The returned continuation is constructor-pinned for safe await * and for subsequent calls to this helper. */ export declare function createIntrinsicPromiseContinuation(promise: Promise, onFulfilled: (value: T) => R, onRejected: (reason: unknown) => R): Promise; //# sourceMappingURL=promise-intrinsics-internal.d.ts.map