import { EventTarget } from "../event-target-shim"; type Events = { abort: any; }; type EventAttributes = { onabort: any; }; /** * The signal class. * @see https://dom.spec.whatwg.org/#abortsignal */ declare class AbortSignal extends EventTarget { /** * AbortSignal cannot be constructed directly. */ constructor(); /** * Returns `true` if this `AbortSignal`"s `AbortControllers` has signaled to abort, and `false` otherwise. */ readonly aborted: boolean; } /** * The AbortControllers. * @see https://dom.spec.whatwg.org/#AbortControllers */ declare class AbortControllers { /** * Initialize this controller. */ constructor(); /** * Returns the `AbortSignal` object associated with this object. */ readonly signal: AbortSignal; /** * Abort and signal to any observers that the associated activity is to be aborted. */ abort(): void; } export default AbortControllers; export { AbortControllers, AbortSignal };