import type { AxiosRequestConfig } from 'axios';
export declare function request(config?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
export declare function isAPIError(error?: Error): boolean | undefined;
export declare class APIError extends Error {
    type: string;
    statusCode: number;
    rawError: any;
    constructor(message: string | undefined, statusCode: number, rawError?: any, type?: string, options?: any);
}
//# sourceMappingURL=request.d.ts.map