import Store from "../interfaces/Store"; export declare type Action = (state: S, ...args: any[]) => Promise> | Partial; export declare type FuncTypeWithoutFirstArg any> = T extends (arg1: infer U, ...args: infer V) => infer Q ? (...args: V) => void : any; export declare type ActionsObject = { [action: string]: Action; }; export declare type Actions = (store: Store) => ActionsObject; export declare type BoundActions> = { [P in keyof ReturnType]: FuncTypeWithoutFirstArg[P]>; };