import { FetchSSEOptions } from './type'; interface RequestParams { url: string; data: any; success: (res: any) => void; fail?: () => void; complete?: (isOk: Boolean, msg?: String, requestid?: String) => void; cancel?: (res: any) => void; abort?: () => void; } export declare function sseRequest(params: RequestParams, apiKey?: string): Promise; export declare const fetchSSE: (fetchFn: () => Promise, options?: FetchSSEOptions) => Promise; export {};