import { DomMetadata } from '../types/additional.type'; import { FlattenedRowsArrAndMap, ObjectForExtending, SelectingRowConfig } from '../types'; import { RenderCellProps } from 'react-data-grid'; import { default as React, PropsWithChildren } from 'react'; export interface RowSelectionContextValue { readonly isRowSelected: boolean; readonly isRowSelectionDisabled: boolean; } 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(): { rows: ObjectForExtending[]; selectingRowConfig: SelectingRowConfig & { selectingRowsIsActive: boolean; }; flattenedRowsArrAndMap: FlattenedRowsArrAndMap | null; selectedRows: ReadonlySet | undefined; setSelectedRows: React.Dispatch>> | undefined; rowKeyGetter: ((row: ObjectForExtending) => string | number) | undefined; 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 | undefined; } | undefined; sidebar?: { domMetadata?: DomMetadata | undefined; } | undefined; }; export declare const SelectingContextForCheckBoxCell: React.Context<{ isRowSelected: boolean; isIndeterminate: boolean; isRowSelectionDisabled: boolean; isHaveCheckbox: boolean; onChange: () => void; } | undefined>; export declare const SelectingCheckBoxCellContextProvider: ({ children, ...renderCellProps }: PropsWithChildren & RenderCellProps) => import("react/jsx-runtime").JSX.Element; export declare const useSelectingCheckBoxCellContext: () => { isRowSelected: boolean; isIndeterminate: boolean; isRowSelectionDisabled: boolean; isHaveCheckbox: boolean; onChange: () => void; };