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