import { type Cell, type CellData, type Column_Internal, type Header, type RowData, type Table_Internal, type TableFeature, type TableFeatures } from '@tanstack/react-table'; import type { MouseEvent as ReactMouseEvent } from 'react'; import type { CollectedCellActions, DataTableCellActionsContent } from './CellActions.js'; import type { CollectedColumnActions } from './ColumnActions.js'; import type { UserActionsFeatureConstructors } from './user-actions-types.js'; export declare function table_getHeader(table: Table_Internal, headerId: string, leafHeaders: Header[]): Header | undefined; /** * Helper function to set the floating menu info in the table state. * @internal */ export declare function table_setFloatingMenuInfo(table: Table_Internal, headerId: string | null, columnId: string, rowId: string | null, x: number, y: number): void; /** * Helper function to set the row id for the open menu. * @internal */ export declare function table_setOpenMenuRowId(table: Table_Internal, rowId: string | null): void; /** * Helper function to get the row id for the open menu. * @internal */ export declare function table_getOpenMenuRowId(table: Table_Internal): string | null; /** * Helper function to get the column actions for a given columnId. * @internal */ export declare function table_getUserActionsForColumn(table: Table_Internal, columnId: string): import("./user-actions-types.js").DataTableCellOrColumnActions; /** * Helper function to get the cell actions for a given columnId and rowId. * @internal */ export declare function table_getUserActionsForCell(table: Table_Internal, columnId: string, rowId: string): import("./user-actions-types.js").DataTableCellOrColumnActions; /** * Helper function to get the floating menu context menu handler for the user actions feature. * @internal */ export declare function table_getUserActionFloatingMenuContextMenuHandler(table: Table_Internal): (event: ReactMouseEvent) => void; /** * Helper function to get the column actions for a given column. * @internal */ export declare function column_getColumnActions(column: Column_Internal, columnId: string, columnActionsOption?: CollectedColumnActions | undefined, enableSortingOption?: boolean): import("react").ReactElement>[]; /** * Helper function to get if a column has any column actions. * @internal */ export declare function column_getCanColumnActions(column: Column_Internal): boolean; /** * Helper function to get the cell actions for a given columnId. * @internal */ export declare function column_getCellActionsContent(column: Column_Internal, columnId: string, cellActionsOptions?: CollectedCellActions): Array>; /** * Helper function to get if the column has any cell actions. * @internal */ export declare function column_getCanCellActions(column: Column_Internal): boolean; /** * Helper function to get the cell actions for a given cell. * @internal */ export declare function cell_getCellActions(cell: Cell): (import("react").ReactElement> | null)[]; /** * Constructs the user actions feature for the table, * including API implementations and prototype assignments. * @internal */ export declare function constructUserActionsFeature(): TableFeature>; /** * Feature to handle user actions such as column and cell actions, including floating menu context. * @internal */ export declare const DataTableUserActionsFeature: TableFeature>;