export interface FormRef { current: { validateForm: () => Promise>; } | null; } export type ValidationResult = { isValid: boolean; errors: Record | []; }; export type MenuItem = { path?: string; data?: MenuItem[]; [key: string]: any; }; export type ReducerActionHandler = (state: State, action: Action) => State; export type StorageType = 'local' | 'session'; export type StorageAction = 'SET' | 'GET' | 'REMOVE' | 'CLEAR'; export interface UseStorageParams { action: StorageAction; type: StorageType; key: string; value?: any; } export type FlattenedObject = { [key: string]: any; }; export type ClassDictionary = Record; export type ClassValue = string | number | ClassDictionary | ClassValue[] | null | undefined | false;