import { Serialized } from '../../../../definition/Serialized'; export declare const APIClient: { delete(endpoint: string, params?: Serialized

): Promise>; get(endpoint: string, params?: void extends P ? void : Serialized

): Promise>; post(endpoint: string, params?: Serialized

, body?: B): Promise>; upload( endpoint: string, params?: Serialized

, formData?: B, xhrOptions?: { progress: (amount: number) => void; error: (ev: ProgressEvent) => void; }, ): { promise: Promise> }; getCredentials(): { 'X-User-Id': string; 'X-Auth-Token': string; }; _jqueryCall(method?: string, endpoint?: string, params?: any, body?: any, headers?: Record, dataType?: string): any; v1: { delete(endpoint: string, params?: Serialized

): Promise>; get(endpoint: string, params?: Serialized

): Promise>; post(endpoint: string, params?: Serialized

, body?: B): Promise>; put(endpoint: string, params?: Serialized

, body?: B): Promise>; upload( endpoint: string, params?: Serialized

, formData?: B, xhrOptions?: { progress: (amount: number) => void; error: (ev: ProgressEvent) => void; }, ): { promise: Promise> }; }; };