initQuery( fetchArgs: FetchArgs, endpoint: | "start" | "next" | "flow" | "success" | "error" | "failure" | "resume",): { applyMiddleware( middleware: undefined | RequestMiddleware<ActionTypes, any>[], ): { applyMiddleware(middleware: RequestMiddleware<ActionTypes, any>[] | undefined): ...; applyQuery(callback: (request: FetchArgs) => Promise<...>): Promise<...>; }
; applyQuery( callback: ( request: FetchArgs, ) => Promise< QueryReturnValue<unknown, FetchBaseQueryError, FetchBaseQueryMeta>, >, ): Promise< QueryReturnValue<unknown, FetchBaseQueryError, FetchBaseQueryMeta>, >;}
The request object to initialize the query with