interface Window {
  $loadingBar?: import('naive-ui').LoadingBarProviderInst;
  $dialog?: import('naive-ui').DialogProviderInst;
  $message?: import('naive-ui').MessageProviderInst;
  $notification?: import('naive-ui').NotificationProviderInst;
  $math: any;
  WwLogin: any;
}

/** 通用类型 */
declare namespace Common {
  /**
   * 策略模式
   * [状态, 为true时执行的回调函数]
   */
  type StrategyAction = [boolean, () => void];

  /**
   * 分页
   */
  interface Pagination {
    pageSize: number;
    itemCount: number;
    page: number;
  }
  /**
   * 操作类型
   */
  type OperateType = 'edit' | 'view' | 'add' | 'del';
}

/** 构建时间 */
declare const PROJECT_BUILD_TIME: string;
