import { errors, url } from '@synnaxlabs/x'; declare const FreighterError_base: errors.TypedClass; /** Base class for all freighter-specific errors */ export declare class FreighterError extends FreighterError_base { } declare const EOF_base: errors.TypedClass; /** Error thrown when reaching the end of a file or stream */ export declare class EOF extends EOF_base { constructor(); } declare const StreamClosed_base: errors.TypedClass; /** Error thrown when attempting to operate on a closed stream */ export declare class StreamClosed extends StreamClosed_base { constructor(); } /** Arguments for constructing an Unreachable error */ export interface UnreachableParams { message?: string; url?: url.URL; /** Underlying error that caused the target to be unreachable (e.g. the original fetch * failure). Preserved on Error.cause for stack-trace continuity. */ cause?: unknown; } declare const Unreachable_base: errors.TypedClass; /** Thrown when a network target is unreachable. */ export declare class Unreachable extends Unreachable_base { url: url.URL; constructor(params?: UnreachableParams); } export {}; //# sourceMappingURL=errors.d.ts.map