import { Dispatch, SetStateAction } from 'react';
export type VisibleColumnState<T extends string = string> = Partial<Record<T, boolean>>;
export type THeader = {
    [key: string]: any;
    canBeHidden?: boolean;
    icon?: JSX.Element;
    id: string;
    title: string;
};
export type VisibleColumnsControlProps<T extends string = string> = {
    headers: THeader[];
    setVisibleColumns: Dispatch<SetStateAction<VisibleColumnState>>;
    toggleLabel?: string;
    visibleColumns: VisibleColumnState<T>;
};
export declare function VisibleColumnsControl({ headers, visibleColumns, setVisibleColumns, toggleLabel, }: VisibleColumnsControlProps): JSX.Element;
