export declare type THTTPCallback<T> = (err: string | null, data: T | null) => void;
/**
 * Simple implementation of XMLHTTPRequest.
 * It uses callback to prevent adding the promise polyfill.
 */
export default function HTTP<T>(url: string, callback: THTTPCallback<T>): void;
