import { type ReactNode, type RefObject } from 'react'; import type { DataTableColumnSettingsModalRef } from '../components/Toolbar/ColumnSettings/column-settings-types.js'; import { type DataTableToolbarItemProps, type DataTableToolbarProps, type DataTableToolbarSlots } from '../components/Toolbar/DataTableToolbar.js'; import type { DataTableColumnSettingsConfig } from '../public.api.js'; /** * Processes the toolbar slot. * @param toolbarProps - toolbar props extracted from datatable slots * @returns processed toolbar slot data * @internal */ export declare function useToolbarSlot(toolbarProps: DataTableToolbarProps | null): { toolbarSlots: DataTableToolbarSlots; toolbarContent: ReactNode; toolbarItemProps: DataTableToolbarItemProps; toolbarRemainingProps: Omit; openColumnSettings: (columnSettings?: DataTableColumnSettingsConfig) => void; columnSettingsModalRef: RefObject; };