import { FlattenedRowsArrAndMap, SelectingRowConfig } from './types'; import { ObjectForExtending } from '../types/utils.type'; import { DomMetadata } from '../types/additional.type'; import { CellInfoGlideInstance } from '../TableGlideInstance/type'; import { default as React, PropsWithChildren } from 'react'; export interface RowSelectionContextValue { readonly isRowSelected: boolean; readonly isRowSelectionDisabled: boolean; } type RowIdTypeInstance = string | number; export type SelectingContextType = { rows: RowType[]; selectingRowConfig: SelectingRowConfig & { selectingRowsIsActive: boolean; }; flattenedRowsArrAndMap: FlattenedRowsArrAndMap | null; selectedRows: ReadonlySet | undefined; setSelectedRows: React.Dispatch>> | undefined; rowKeyGetter: undefined | ((row: RowType) => RowIdType); rowsGroupingIsActive: boolean; isRowsGroupingLabelVisible: boolean; setIsRowsGroupingLabelVisible: React.Dispatch>; isRowsGroupingCounterVisible: boolean; setIsRowsGroupingCounterVisible: React.Dispatch>; isSelectingRowLabelVisible: boolean; setIsSelectingRowLabelVisible: React.Dispatch>; isSelectingRowCounterVisible: boolean; setIsSelectingRowCounterVisible: React.Dispatch>; controlBlock?: { domMetadata?: DomMetadata; }; sidebar?: { domMetadata?: DomMetadata; }; }; export declare const SelectingContextProvider: ({ children, ...rest }: PropsWithChildren & { rows: RowType[]; selectingRowConfig: SelectingRowConfig & { selectingRowsIsActive: boolean; }; flattenedRowsArrAndMap: FlattenedRowsArrAndMap | null; selectedRows: ReadonlySet | undefined; setSelectedRows: React.Dispatch>> | undefined; rowKeyGetter: undefined | ((row: RowType) => RowIdType); rowsGroupingIsActive: boolean; isRowsGroupingLabelVisible: boolean; setIsRowsGroupingLabelVisible: React.Dispatch>; isRowsGroupingCounterVisible: boolean; setIsRowsGroupingCounterVisible: React.Dispatch>; isSelectingRowLabelVisible: boolean; setIsSelectingRowLabelVisible: React.Dispatch>; isSelectingRowCounterVisible: boolean; setIsSelectingRowCounterVisible: React.Dispatch>; controlBlock?: { domMetadata?: DomMetadata; }; sidebar?: { domMetadata?: DomMetadata; }; }) => import("react/jsx-runtime").JSX.Element; export declare function useSelectingRowContext(): SelectingContextType; export declare const getRowSelectingInfo: (renderCellProps: CellInfoGlideInstance) => { isRowSelected: boolean; isIndeterminate: boolean; isRowSelectionDisabled: boolean; isHaveCheckbox: boolean; onChange: () => void; }; export {};