import { Column } from '@tanstack/react-table'; import { ReactElement } from 'react'; export interface TableToolbarProps { /** * When `true`, a search input is rendered. */ isSearchEnabled?: boolean; /** * Current value of the global filter / search query. */ globalFilter: string; /** * Callback fired when the search query changes. */ onGlobalFilterChange: (value: string) => void; /** * When `true`, a "Columns" button is rendered that opens a column visibility dropdown. */ isColumnFilterEnabled?: boolean; /** * All columns from the table instance, used to build the visibility menu. */ columns: Array>; /** * The width of the toolbar, used to determine when to switch to a more compact layout. */ width: number | string; /** * Max height for the column filter menu. */ columnFilterMenuMaxHeight?: number | string; } export declare function TableToolbar({ isSearchEnabled, globalFilter, onGlobalFilterChange, isColumnFilterEnabled, columns, width, columnFilterMenuMaxHeight, }: TableToolbarProps): ReactElement | null; //# sourceMappingURL=TableToolbar.d.ts.map