export type FishermanErrorType = 'InvalidToken' | 'NoToken' | 'UpdateTokenRetriesLimitReached' | 'NetworkError' | 'FpDisabled' | 'FpClientTimeout' | 'FpRateLimit' | 'OtherFpError' | 'FpInitError' | 'LoadFpConfigError' | 'SimulationError'; export type FishermanError = { type: FishermanErrorType; message?: string; }; export type ErrorHandlerFn = (error: FishermanError) => void; export declare const TokenError: FishermanError; export declare const NoTokenError: FishermanError; export declare const UpdateTokenRetriesLimitError: FishermanError; export declare const NetworkError: FishermanError; export declare const FpDisabledError: FishermanError; export declare const FpClientTimeoutError: FishermanError; export declare const FpRateLimitError: FishermanError;