import { MethodContext, ResponseInfo } from './types'; export declare function createXHRPromise(url: string, context: MethodContext): Promise>; export declare function getContentType(data: any): string | undefined;