import { Auth } from '../types/auth'; export type RequestOptions = RequestInit & { skipErrorHandler?: boolean; }; export declare function createClient(auth: Auth, host?: string, onError?: (error: Error, errorData: object) => void, externalId?: string): { get(url: string, options?: RequestOptions): Promise; post(url: string, body?: any, options?: RequestOptions): Promise; delete(url: string, body?: any, options?: RequestOptions): Promise; patch(url: string, body?: any, options?: RequestOptions): Promise; };