/** Make Promise or AsyncIterable abortable with the given signal. */ export declare function abortable(p: Promise, signal: AbortSignal): Promise; export declare function abortable(p: AsyncIterable, signal: AbortSignal): AsyncGenerator; /** Make Promise abortable with the given signal. */ export declare function abortablePromise(p: Promise, signal: AbortSignal): Promise; /** Make AsyncIterable abortable with the given signal. */ export declare function abortableAsyncIterable(p: AsyncIterable, signal: AbortSignal): AsyncGenerator;