/**
 * API 类型定义
 */

// 系统信息
export interface SystemInfo {
  os: string
  arch: string
  version: string
}

export interface CPU {
  model: string
  cores: number
  usage: number
}

export interface Memory {
  total: number
  used: number
  free: number
  usage: number
}

export interface Disk {
  path: string
  total: number
  used: number
  free: number
  usage: number
}

export interface File {
  name: string
  path: string
  size: number
  isDir: boolean
  modified?: string
  modified_time?: string
}
