import * as React from 'react'; import { Column, Action, SortDirection } from './UpDataGrid'; import { ActionFactory } from './UpDataGridRow'; export interface UpDataGridRowHeaderState { isSelected: boolean; columns: Array; } export interface UpDataGridRowHeaderProps { columns: Array; isSelectionEnabled: boolean; actions: ActionFactory | Array; onSortChange?: (c: Column, d: SortDirection) => void; onSelectionChange?: (isSelected: boolean) => void; displayRowActionsWithinCell?: boolean; textAlignCells?: 'center' | 'left' | 'right' | 'initial'; isAllDataChecked?: boolean; isSelectionAllEnabled?: boolean; } export default class UpDataGridRowHeader extends React.Component { static defaultProps: UpDataGridRowHeaderProps; constructor(props: any, context: any); onSelectionChange: (event: any, isSelected: any) => void; onSortChange: (c: Column, dir: SortDirection) => void; componentWillReceiveProps(nextProps: UpDataGridRowHeaderProps): void; render(): JSX.Element; }