export interface DataTableStore { /** * Get the config object from the store. */ config: DataTableConfig; /** * Update config for specific Table. * * @param id The table ID * @param columnsConfig The columns configuration */ setConfig: (id: string, columnsConfig: DataTableColumnConfig[]) => Promise; } export type DataTableConfig = Record; export interface DataTableColumnConfig { field: string; width: number | string; fixed: boolean; visible: boolean; } declare const useDataTableStore: () => Promise; export default useDataTableStore;