import { ThunkCreator } from 'easy-peasy';
import { ThunkStage } from './thunk-stages-model';
export declare const useThunkStage: <P = void, R = any>(thunk: ThunkCreator<P, R>) => [(payload: P extends undefined ? void : P) => Promise<R>, ThunkStage];
