import { CodeBuddyError } from './base-error.js';
/**
 * API request failed
 */
export declare class ApiError extends CodeBuddyError {
    readonly statusCode?: number;
    readonly endpoint?: string;
    constructor(message: string, options?: {
        cause?: Error;
        statusCode?: number;
        endpoint?: string;
        context?: Record<string, unknown>;
    });
}
/**
 * API rate limit exceeded
 */
export declare class RateLimitError extends ApiError {
    readonly retryAfter?: number;
    constructor(retryAfter?: number);
}
/**
 * API authentication failed
 */
export declare class AuthenticationError extends ApiError {
    constructor(message?: string);
}
