export declare class TagadaError extends Error { readonly type: string; constructor(message: string, type?: string); } export declare class TagadaAPIError extends TagadaError { readonly statusCode: number; readonly requestId: string | null; readonly code: string | null; readonly param: string | null; readonly raw: unknown; constructor(opts: { message: string; statusCode: number; requestId?: string | null; code?: string | null; param?: string | null; raw?: unknown; }); } export declare class TagadaAuthenticationError extends TagadaAPIError { constructor(opts: { message?: string; requestId?: string | null; code?: string | null; raw?: unknown; }); } export declare class TagadaPermissionError extends TagadaAPIError { constructor(opts: { message?: string; requestId?: string | null; code?: string | null; raw?: unknown; }); } export declare class TagadaNotFoundError extends TagadaAPIError { constructor(opts: { message?: string; requestId?: string | null; code?: string | null; raw?: unknown; }); } export declare class TagadaRateLimitError extends TagadaAPIError { readonly retryAfter: number | null; constructor(opts: { message?: string; requestId?: string | null; retryAfter?: number | null; raw?: unknown; }); } export declare class TagadaValidationError extends TagadaAPIError { readonly errors: Array<{ field?: string; message: string; }>; constructor(opts: { message?: string; requestId?: string | null; statusCode?: number; code?: string | null; errors?: Array<{ field?: string; message: string; }>; raw?: unknown; }); } export declare class TagadaConnectionError extends TagadaError { constructor(message?: string); } export declare class TagadaTimeoutError extends TagadaError { constructor(message?: string); } //# sourceMappingURL=TagadaError.d.ts.map