import type { RateLimit } from './types.js'; export declare class GrantexError extends Error { constructor(message: string); } export declare class GrantexApiError extends GrantexError { readonly statusCode: number; readonly body: unknown; readonly code: string | undefined; readonly requestId: string | undefined; readonly rateLimit: RateLimit | undefined; constructor(message: string, statusCode: number, body: unknown, requestId?: string, code?: string, rateLimit?: RateLimit); } export declare class GrantexAuthError extends GrantexApiError { constructor(message: string, statusCode: 401 | 403, body: unknown, requestId?: string, code?: string, rateLimit?: RateLimit); } export declare class GrantexTokenError extends GrantexError { constructor(message: string); } export declare class GrantexNetworkError extends GrantexError { readonly cause: unknown; constructor(message: string, cause?: unknown); } //# sourceMappingURL=errors.d.ts.map