type ErrorType = 'BadRequestError' | 'UnauthorizedError' | 'NotFoundError' | 'RedirectError' | 'ForbiddenError' | 'UnknownError'; interface Extension { type: ErrorType; status: number; } export declare class FastStoreError extends Error { extensions: T; constructor(extensions: T, message?: string); } export declare class BadRequestError extends FastStoreError { constructor(message?: string); } export declare class UnauthorizedError extends FastStoreError { constructor(message?: string); } export declare class ForbiddenError extends FastStoreError { constructor(message?: string); } export declare class NotFoundError extends FastStoreError { constructor(message?: string); } export declare const isFastStoreError: (error: any) => error is FastStoreError; export declare const isBadRequestError: (error: any) => error is BadRequestError; export declare const isUnauthorizedError: (error: any) => error is UnauthorizedError; export declare const isForbiddenError: (error: any) => error is ForbiddenError; export declare const isNotFoundError: (error: any) => error is NotFoundError; export {}; //# sourceMappingURL=errors.d.ts.map