export type FileType = "image" | "video" | "document" | null

export interface IMetaResponse {
  filters?: string[]
  hasNext?: boolean
  count?: number
}

export interface IFormData<K = string, I = string> {
  label?: string
  isSelected?: boolean
  key?: K
  disabled?: boolean
  icon?: I
}

export interface IAttachment {
  fileName?: string
  id?: string
  mime?: string
  url: string
}

export interface IFile {
  base64?: string
  file?: File
  fileName?: string
  mime?: string
  attachment?: IAttachment
  onClickRemove?: () => void
}
