export function useRestoredSearch(tableId: any, handleSearchChange: any): { searchTerm: string; onSearchChange: (val: any) => void; };