export type JanuaryErrorCategory = 'authentication' | 'authorization' | 'validation' | 'notFound' | 'rateLimit' | 'server' | 'transport' | 'unknown'; export declare class JanuaryError extends Error { readonly category: JanuaryErrorCategory; readonly status?: number; readonly requestId?: string; readonly code?: string; constructor(category: JanuaryErrorCategory, message: string, options?: { status?: number; requestId?: string; code?: string; cause?: unknown; }); } export declare function executeRequest(operation: () => Promise): Promise; //# sourceMappingURL=errors.d.ts.map