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