import { DataProvider } from '../types'; interface ActionWithSideEffect { type: string; payload: any; meta: { fetch: string; resource: string; onSuccess?: any; onFailure?: any; }; } export declare function handleFetch(dataProvider: DataProvider, action: ActionWithSideEffect): IterableIterator>; export declare const takeFetchAction: (action: any) => any; declare const fetch: (dataProvider: DataProvider) => () => IterableIterator; export default fetch;