/** * Typed errors thrown by S3Proxy. Replace v3.x's silent empty-stream * substitution: callers must now decide how to render each error. * * Discriminate by `instanceof` (preferred) or by `err.name` — the * subclass name doubles as the error code, e.g. 'S3NotFound'. */ export declare class S3ProxyError extends Error { readonly statusCode: number; constructor(message: string, statusCode: number, options?: { cause?: unknown; }); } export declare class S3NotFound extends S3ProxyError { constructor(target: string, options?: { cause?: unknown; }); } export declare class S3Forbidden extends S3ProxyError { constructor(target: string, options?: { cause?: unknown; }); } export declare class S3InvalidRange extends S3ProxyError { constructor(target: string, options?: { cause?: unknown; }); } export declare class InvalidRequest extends S3ProxyError { constructor(message: string, options?: { cause?: unknown; }); } //# sourceMappingURL=errors.d.ts.map