///
import { ISearchLayout, IFormItem } from './interface';
export declare function getCurrentDynamicItems(showDynamic?: boolean, showDynamicKey?: string, items?: IFormItem[]): ISearchLayout[];
/**
* @description 将动态配置存在本地存储中
* @param dynamicStorageKey 保留的key值
* @param value 值
*/
export declare function setDynamicKey(dynamicStorageKey: string, value: any): void;
export declare function useDynamic(showDynamic?: boolean, showDynamicKey?: string, items?: IFormItem[]): {
initDynamicList: ISearchLayout[];
currentDynamicList: ISearchLayout[];
setCurrentDynamicList: import("react").Dispatch>;
currentItems: IFormItem[];
};
export declare function getItems(currentDynamicList: ISearchLayout[], items: IFormItem[]): IFormItem[];
export declare function useDrawer(initList: any, setCurrentDynamicList: any, showDynamicKey: any): {
visible: boolean;
setVisible: import("react").Dispatch>;
onClose: () => void;
onReset: () => void;
onSure: (newList: ISearchLayout[]) => void;
};