import { ThrottlerErrorCode } from '../config/enums'; export { ThrottlerErrorCode }; export declare class ThrottlerError extends Error { code: ThrottlerErrorCode; cause?: Error | undefined; constructor(message: string, code?: ThrottlerErrorCode, cause?: Error | undefined); } export declare class ThrottlerRedisConnectionError extends ThrottlerError { constructor(message: string, cause?: Error); } export declare class ThrottlerConfigurationError extends ThrottlerError { field?: string | undefined; constructor(message: string, field?: string | undefined, cause?: Error); } export declare function isThrottlerError(error: unknown): error is ThrottlerError; export declare function isThrottlerRedisConnectionError(error: unknown): error is ThrottlerRedisConnectionError; export declare function isThrottlerConfigurationError(error: unknown): error is ThrottlerConfigurationError;