/// <reference types="react" />
import { OnFiltersChangeParams } from '@parlor/components/table-controls';
import { SavedViewWithFilters } from '../table-controls.types';
export declare function useTableControls<TVisibleColumns extends string = string>(): {
    filters: Partial<OnFiltersChangeParams>;
    isSavedViewChanged: boolean;
    savedView: Partial<SavedViewWithFilters>;
    visibleColumns: Partial<Record<TVisibleColumns, boolean>>;
    visibleColumnDefaults: Partial<Record<TVisibleColumns, boolean>>;
    onSelect: (view?: Partial<SavedViewWithFilters>) => void;
    setFilters: import("react").Dispatch<import("react").SetStateAction<Partial<OnFiltersChangeParams>>>;
    setVisibleColumns: import("react").Dispatch<import("react").SetStateAction<Partial<Record<TVisibleColumns, boolean>>>>;
    setVisibleColumnDefaults: import("react").Dispatch<import("react").SetStateAction<Partial<Record<TVisibleColumns, boolean>>>>;
};
