import { ApiError } from '../api/errors.ts';
export declare class TiDBFilesystemApiError extends ApiError {
    readonly status: number;
    constructor(message: string, status: number);
}
export declare function errorOf(response: Response, text: string): TiDBFilesystemApiError;
export declare function hasStatus(exc: unknown, status: number): boolean;
//# sourceMappingURL=errors.d.ts.map