import type { ResolvedDataTable2ColumnEditFeatures, TableColumn } from "./types"; export type RowSpacing = -2 | -1 | 0 | 1 | 2; export declare const DataTable2Context: import("react").Context<{ rowIds: string[]; /** 複数行選択 UI(ツールバー一括チェック・行頭チェック列)を出すか */ enableRowSelection: boolean; hasRowControls: boolean; checkedRows: string[]; columns: TableColumn[]; columnEditFeatures: ResolvedDataTable2ColumnEditFeatures; setRowIds: (rowIds: string[]) => void; setCheckedRows: (rowIds: string[]) => void; setColumns: (columns: TableColumn[]) => void; } & { totalCount: number; currentPage: number; pageSize: number; pageSizeOptions: number[]; setCurrentPage: (page: number) => void; setPageSize: (pageSize: number) => void; } & { isSmallLayout: boolean; columnWidths: (number | null)[]; rowSpacing: RowSpacing; setColumnWidth: (index: number, width: number | null) => void; setRowSpacing: (spacing: RowSpacing) => void; }>; /** 横スクロール位置に応じた右 sticky 列の左 inset 線の表示(DataTable2 内のスクロール領域専用) */ export declare const DataTable2StickyScrollContext: import("react").Context<{ showStickyRightEdgeDecoration: boolean; }>; /** * `sticky="right"` は **最大 1 列**(先に登録した列のみ有効。2 列目は開発時に警告して無視)。 * 利用上は **右端列**(例: 操作列)に `reorderable: false`(または後方互換の `sortable: false`)を付け、カラム編集で末尾固定にして移動させないことを推奨。 */ export declare const DataTable2ColumnStickyContext: import("react").Context<{ registerColumnSticky: (index: number, sticky: "right" | undefined) => void; getStickyRightOffset: (columnIndex: number) => number | undefined; /** 右 sticky 列の index(左の inset 線はこの列の左縁) */ rightStickyColumnIndex: number | null; getRightStickyZIndexHead: (columnIndex: number) => number; getRightStickyZIndexBody: (columnIndex: number) => number; }>; export declare const ColumnContext: import("react").Context<{ index: number; }>;