type MenuItemActions = { type: "RegisterChild"; children: string; } | { type: "UnregisterChild"; children: string; }; type StatesProps = { childArray?: string[]; }; declare function stateReducer(state: T, action: MenuItemActions): T; export default stateReducer; //# sourceMappingURL=stateReducer.d.ts.map