///
import * as reqwest from "reqwest";
import { ReqwestOptions } from "reqwest";
/**
* Wrapper to create a consistent sdk for doing XHR requests. Will
* automatically replace matching variables in urls that match the pattern.
* i.e/ /my/url/{someId}/ { someId: 1 } = /my/url/1/
*/
export declare class ApiServiceClass {
throttle(func: () => any, wait: number, immediate: boolean): () => void;
get(url: string, data: any, config?: ReqwestOptions): reqwest.ReqwestPromise;
post(url: string, data: any, config?: ReqwestOptions): reqwest.ReqwestPromise;
put(url: string, data: any, config?: ReqwestOptions): reqwest.ReqwestPromise;
['delete'](url: string, data: any, config?: ReqwestOptions): reqwest.ReqwestPromise;
protected _buildUrl(url: string, data: any, queryString?: boolean): string;
protected _buildConfig(defaultConfig: any, customConfig?: any): any;
}
declare let ApiService: ApiServiceClass;
export { ApiService };