import { PureComponent } from 'react'; import { ICheckboxProps } from '../checkbox'; import Store from './Store'; interface IGridSelectionCheckboxProps { indeterminate?: boolean; disabled?: boolean; reason?: React.ReactNode; rowIndex: number | string; store: Store; onChange: ICheckboxProps['onChange']; } interface IGridSelectionCheckboxState { checked: boolean; } declare class SelectionCheckbox extends PureComponent { constructor(props: IGridSelectionCheckboxProps); unsubscribe?: () => void; subscribe: () => void; getCheckState: (props: IGridSelectionCheckboxProps) => boolean; componentDidMount(): void; componentWillReceiveProps(nextProps: IGridSelectionCheckboxProps, nextState: IGridSelectionCheckboxState): void; componentWillUnmount(): void; render(): JSX.Element; } export default SelectionCheckbox;