export declare class BrawlStarsAPIError 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 BrawlStarsAPIError { constructor(endpoint: string, method?: string); } export declare class AuthorizationError extends BrawlStarsAPIError { constructor(endpoint: string, method?: string); } export declare class NotFoundError extends BrawlStarsAPIError { constructor(endpoint: string, method?: string); } export declare class RateLimitError extends BrawlStarsAPIError { constructor(endpoint: string, retryAfter?: number, method?: string); } export declare class ServerError extends BrawlStarsAPIError { constructor(endpoint: string, statusCode: number, method?: string, cause?: unknown); } export declare class RequestTimeoutError extends BrawlStarsAPIError { constructor(endpoint: string, timeout: number, method?: string, cause?: unknown); } export declare class NetworkError extends BrawlStarsAPIError { constructor(endpoint: string, method?: string, cause?: unknown); } export declare class RequestAbortedError extends BrawlStarsAPIError { constructor(endpoint: string, method?: string, cause?: unknown); } export declare class ValidationError extends BrawlStarsAPIError { constructor(message: string); }