/** internal */ export type ActionResult = Partial | Promise | null | void; /** internal */ export type ActionType = (data?: any) => ((state: State, actions: Actions) => ActionResult) | ActionResult; /** internal */ export type ActionsType = { [P in keyof Actions]: ActionType | ActionsType; }; /** internal */ export declare const appState: (state: S, actions: ActionsType) => A;