/**
 * Custom Error class for handling API error responses.
 */
export declare class ErrorResponse extends Error {
    /** Error code returned by the API. */
    code?: number;
    /** Detailed error messages. */
    errors?: {
        [key: string]: string[];
    };
    /**
     * Creates an instance of ErrorResponse.
     * @param errorData - The error data returned by the API.
     */
    constructor(errorData: any);
}
