import React from 'react'; import { Component } from 'intergalactic/core'; import { Column } from './types'; export declare const SORT_ICON_WIDTH = 20; type AsProps = { $onSortClick: (name: string, event: React.MouseEvent | React.KeyboardEvent) => void; $scrollRef: (instance: unknown) => void; use: 'primary' | 'secondary'; columnsChildren: Column[]; onResize: ResizeObserverCallback; sticky: boolean; ['data-ui-name']: string; uid?: string; withScrollBar?: boolean; animationsDisabled?: boolean; getI18nText?: (str: string) => string; }; declare class Head extends Component { columns: Column[]; static displayName: string; headCellMap: Map; lockedCell: [HTMLElement | null, boolean]; sortWrapperRefs: Map; defaultWidths: Map; sortableColumnDescribeId(): string; handleKeyDown: (e: React.KeyboardEvent) => void; onFocusCell: (e: React.FocusEvent) => void; bindHandlerSortClick: (name: string) => (event: React.MouseEvent) => void; bindHandlerKeyDown: (name: string) => (event: React.KeyboardEvent) => void; makeSortRefHandler: (active: boolean) => (ref: HTMLElement | null) => void; makeColumnRefHandler: (column: Column, index: number) => (ref: HTMLElement | null) => void; componentDidUpdate(): void; changeMaxNodeWidth: (diff: number, exceptNode: HTMLElement) => void; backToColumnDefaults: (node: HTMLElement) => void; calculateActiveColumnMinWidth: (node: HTMLElement) => void; renderColumns(columns: Column[], width: number): React.ReactNode[]; renderColumn(column: Column, width: number): React.ReactNode; render(): React.ReactNode; } export default Head;