export declare class DIVEAbortablePromise implements Promise { private _executor; readonly isDIVEAbortablePromise: true; readonly [Symbol.toStringTag]: string; private _abortController; private _promise; private _settled; constructor(_executor: (signal: AbortSignal) => Promise); get signal(): AbortSignal; get pending(): boolean; get settled(): boolean; then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | null, onrejected?: ((reason: unknown) => TResult2 | PromiseLike) | null): Promise; catch(onrejected?: ((reason: unknown) => TResult | PromiseLike) | null): Promise; finally(onfinally?: (() => void) | null): Promise; abort(reason?: unknown): void; /** * Runs the executor and hands back its promise. * * The `catch` is not redundant, unlike one inside an `async` function: this * method is synchronous, so an executor that throws before its first `await` * would throw at whoever called this rather than reject the promise they * were handed. */ private _execute; }