/**
 * API Error class
 *
 * This class represents errors returned by the Venice AI API.
 * It includes information about the error such as the status code,
 * error code, and message.
 */
/**
 * API Error options
 */
export interface ApiErrorOptions {
    /**
     * Error message
     */
    message: string;
    /**
     * HTTP status code
     */
    status: number;
    /**
     * Error code
     */
    code: string;
    /**
     * Additional error data
     */
    data?: any;
}
/**
 * API Error class
 */
export declare class ApiError extends Error {
    /**
     * HTTP status code
     */
    status: number;
    /**
     * Error code
     */
    code: string;
    /**
     * Additional error data
     */
    data?: any;
    /**
     * Creates a new API error
     *
     * @param options - Error options
     */
    constructor(options: ApiErrorOptions);
    /**
     * Returns a string representation of the error
     */
    toString(): string;
}
