import { CounterState } from './../states/'; import { ThunkAction } from 'redux-thunk'; export declare const ADD = "ADD"; export declare const SUB = "SUB"; export declare const SET = "SET"; export declare const DO_THING = "DO_THING"; export declare const DO_THING_LATER = "DO_THING_LATER"; export declare type Add = { type: typeof ADD; amount: number; }; export declare type Sub = { type: typeof SUB; amount: number; }; export declare type Set = { type: typeof SET; value: number; }; export declare type DoThing = { type: typeof DO_THING; }; export declare type DoThingLater = ThunkAction; export declare type Actions = Add | Sub | Set | DoThing; export declare const add: (amount: number) => Add; export declare const sub: (amount: number) => Sub; export declare const set: (value: number) => Set; export declare const doThing: () => DoThing; export declare const doThingLater: () => ThunkAction; export declare const doThingMuchLater: () => ThunkAction;