import type { LayoutProps } from '../Layout'; export type LayoutState = { menuCollapsed: boolean | null; openedGroups: { [key: string]: boolean; } | null; }; export type LocalStorageLayoutProps = LayoutProps & { onChangeState?: (nextState: LayoutState) => void; };