import type { CSSProperties } from 'vue'
import type { CancelTokenSource } from 'axios'
export type { CancelTokenSource }

export type StyleValue =
  | CSSProperties
  | Array<CSSProperties>
  | string
  | null
  | undefined
  | false

export type Status = 'uploading' | 'finished' | 'error' | ''

export interface NewFile {
  id: string
  name?: string,
  percentage?: 0,
  type?: string,
  file?: File
  suffix?: string
  uid?: string | null
  url?: string
  status?: Status
}
