export declare class ClashOfClansAPIError extends Error { readonly statusCode?: number; readonly endpoint: string; readonly method: string; readonly retryable: boolean; readonly retryAfter?: number; constructor(message: string, endpoint: string, method?: string, statusCode?: number, options?: { retryable?: boolean; retryAfter?: number; cause?: unknown; }); constructor(message: string, statusCode: number, endpoint: string); } export declare class AuthenticationError extends ClashOfClansAPIError { constructor(endpoint: string, method?: string); } export declare class AuthorizationError extends ClashOfClansAPIError { constructor(endpoint: string, method?: string); } export declare class NotFoundError extends ClashOfClansAPIError { constructor(endpoint: string, method?: string); } export declare class RateLimitError extends ClashOfClansAPIError { constructor(endpoint: string, retryAfter?: number, method?: string); } export declare class ServerError extends ClashOfClansAPIError { constructor(endpoint: string, statusCode: number, method?: string, cause?: unknown); } export declare class RequestTimeoutError extends ClashOfClansAPIError { constructor(endpoint: string, timeout: number, method?: string, cause?: unknown); } export declare class NetworkError extends ClashOfClansAPIError { constructor(endpoint: string, method?: string, cause?: unknown); } export declare class RequestAbortedError extends ClashOfClansAPIError { constructor(endpoint: string, method?: string, cause?: unknown); } export declare class ValidationError extends ClashOfClansAPIError { constructor(message: string); }