export declare const mapFetchErrors: (error: any) => Error; export declare const getStatusCodeGroup: (error: Error) => "unknown" | "1xx" | "3xx" | "4xx" | "5xx"; export declare class PermissionError extends Error { constructor(message: string); } export declare class FetchError extends Error { statusCode: number; constructor(statusCode: number, message?: string); }