/**
 * An error class for handling API errors. Keeps the response
 * status and data for bug tracking.
 */
export declare class ApiError<DataType extends Record<any, any>> extends Error {
    name: string;
    status: number;
    data: DataType;
    constructor(params: {
        status: number;
        data: DataType;
    });
}
