import * as React from 'react'; import { SortDirection, Column } from './UpDataGrid'; export interface UpDataGridCellHeaderState { isSorted: boolean; sortDirection: SortDirection; } export interface UpDataGridCellHeaderProps { defaultSort?: SortDirection; onSortChange?: (c: Column, d: SortDirection) => void; column?: Column; width?: string; textAlignCells?: 'center' | 'left' | 'right' | 'initial'; className?: string; } export default class UpDataGridCellHeader extends React.Component { constructor(props: UpDataGridCellHeaderProps, context: any); onCellClick: (sortDirection?: SortDirection) => void; componentWillReceiveProps(newProps: UpDataGridCellHeaderProps): void; render(): JSX.Element; }