import React__default from 'react'; interface IDynamicItem { key: string; label?: React__default.ReactNode; disabled?: boolean; checked?: boolean; children?: IDynamicItem[]; indexs?: number[]; filter?: IFilter; isDimension?: boolean; dimensionPriority?: number; /** 维度优先级分组,同组内遵循 dimensionPriority,跨组不比较 */ dimensionGroup?: string; dimensionExclusive?: string; isDimensionSum?: boolean; [props: string]: any; } interface IFilter { input?: string; checkbox?: React__default.Key[]; } /** * 存储类型 */ type StorageType = "localStorage" | "indexedDB"; /** * 存储配置 */ interface IStorageConfig { /** 存储类型 */ type: StorageType; /** IndexedDB 数据库名称 (仅当 type='indexedDB' 时有效) */ dbName?: string; /** IndexedDB 存储名称 (仅当 type='indexedDB' 时有效) */ storeName?: string; } interface IAsyncDynamicSettingProps { parentDynamicKey: string; dynamicKey: string; defaultList: IDynamicItem[]; onCurrentListChange?: (currentList: IDynamicItem[]) => void; children?: JSX.Element; title?: string; hiddenOperationIcon?: boolean; isMore?: boolean; isFixed?: boolean; isDimensionDynamic?: boolean; storageConfig?: IStorageConfig; onStorageReady?: (isReady: boolean) => void; } interface IAsyncDynamicDrawerProps { list: IDynamicItem[]; onCurrentListChange?: (currentList: IDynamicItem[]) => void; dynamicKey: string; parentDynamicKey: string; title?: string; isMore?: boolean; isFixed?: boolean; isDimensionDynamic?: boolean; isSearch?: boolean; storageConfig?: IStorageConfig; onStorageReady?: (isReady: boolean) => void; } interface IRef { getCurrentDynamicList: (list: IDynamicItem[]) => Promise; setList: React__default.Dispatch>; setVisible: (v: boolean) => void; updateList: (list: any) => void; resetList: () => void; isReady?: () => boolean; } export { IAsyncDynamicDrawerProps, IAsyncDynamicSettingProps, IDynamicItem, IFilter, IRef, IStorageConfig, StorageType };