export declare function jsonpRequest({ url, callback, errorCallback, timeout, }: { url: string; callback: (data: any) => void; errorCallback?: (error: string) => void; timeout?: number; }): () => void;