import React from "react";

//#region src/components/table/types.d.ts
/** 视图模式 */
type ModeType = "grid" | "gallery" | "kanban";
/**
 * 设置记忆范围
 */
type LocalSettingsScope = "filters" | "sorting" | "columns";
/**
 * 本地记忆设置
 */
type LocalSettingsType = {
  /** 启用设置记忆 */enable: boolean; /** 记忆范围 */
  scope: LocalSettingsScope[]; /** 不需要记忆的筛选字段（当 scope 包含 filters 时生效） */
  excludedFilterFields?: string[];
};
//#endregion
export { LocalSettingsType, ModeType };