 export interface ValidationRules {
  required?: boolean
  minLength?: number
  pattern?: RegExp 
}
export type ValidationErrors = Record<string, string>

export type User = object
export type UserState = object