export { Abort, AbortError, isAbort, createAbortError }; declare const abortBrand: unique symbol; declare class AbortError extends Error { readonly abortValue: unknown; readonly [abortBrand]: true; /** * @deprecated Use `instanceof Abort` instead. */ readonly isAbort: true; constructor(abortValue?: unknown, message?: string); } type AbortFactory = { (abortValue?: unknown): AbortError; [Symbol.hasInstance](thing: unknown): thing is AbortError; }; declare const Abort: AbortFactory; declare function createAbortError(abortValue?: unknown, message?: string): AbortError; declare function isAbort(thing: unknown): thing is AbortError;