export declare const request: (url: string, data?: any, options?: RequestOptions) => any; export declare type RequestOptions = { contentType?: string; method?: 'POST' | 'GET'; headers?: any; mode?: string; }; export declare const convertQueryString: (endpoint: string, payload: string | null) => string;