import { AxiosRequestConfig, AxiosResponse } from "axios"; import QueueStatus from "../enums/QueueStatus"; import { ImmutableStoreValue } from "./ValueMap"; export declare type WithCallConfig = { progressHandlers?: boolean | { [key: number]: any; }; config?: AxiosRequestConfig; reducer?: WithCallReducer; }; export declare type WithCallReducer = (value: AxiosResponse, store: any, queueKey: string) => any; export declare type QueueEntry = { key: string; status: QueueStatus; value: ImmutableStoreValue; networkCall: Function; reducer?: Function; }; declare type NetworkQueue = { [key: string]: QueueEntry; }; export default NetworkQueue;