import React from 'react'; import PropTypes from 'prop-types'; import BaseComponent from '../_base/baseComponent'; import { TableContextProps } from './table-context'; import { TableComponents, OnHeaderRow, Fixed } from './interface'; import type { TableHeaderCell } from './TableHeader'; export interface TableHeaderRowProps { components?: TableComponents; row?: TableHeaderCell[]; prefixCls?: string; onHeaderRow?: OnHeaderRow; index?: number; style?: React.CSSProperties; columns?: any[]; fixed?: Fixed; selectedRowKeysSet: Set; } export default class TableHeaderRow extends BaseComponent> { static contextType: React.Context; static propTypes: { components: PropTypes.Requireable; row: PropTypes.Requireable; prefixCls: PropTypes.Requireable; onHeaderRow: PropTypes.Requireable<(...args: any[]) => any>; index: PropTypes.Requireable>; style: PropTypes.Requireable; columns: PropTypes.Requireable; fixed: PropTypes.Requireable>; selectedRowKeysSet: PropTypes.Validator>; }; static defaultProps: { onHeaderRow: (...args: any[]) => void; prefixCls: "semi-table"; columns: []; components: { header: { wrapper: string; row: string; cell: string; }; }; }; get adapter(): { getContext(key: string): any; getContexts(): any; getProp(key: string): any; getProps(): TableHeaderRowProps; getState(key: string): any; getStates(): Record; setState(s: Pick, K>, callback?: any): void; getCache(c: string): any; getCaches(): any; setCache(key: any, value: any): void; stopPropagation(e: any): void; persistEvent: (event: any) => void; }; headerNode: HTMLElement; context: TableContextProps; constructor(props: TableHeaderRowProps); cacheRef: (node: HTMLElement) => void; componentDidUpdate(prevProps: TableHeaderRowProps): void; render(): React.JSX.Element; }