export function useTablePreferences(tableId: any): { getPrefs: () => any; savePrefs: (patch: any) => void; };