export type APIResponse<T> = T;
/** @deprecated Use `HTTPError` from `src/errors` instead. */
export interface APIError {
    code: string;
    message: string;
    errors: unknown[];
    request: {
        method?: string;
        headers?: Record<string, unknown>;
        path?: string;
        body?: unknown;
    };
    response: {
        status?: number;
        headers?: Record<string, unknown>;
        body?: unknown;
    };
}
/** @deprecated Use `instanceof RemoteElevaError` instead. */
export declare function isAPIError(err: unknown): err is APIError;
//# sourceMappingURL=types.d.ts.map