import React, { ComponentPropsWithRef, ForwardedRef, PropsWithoutRef, ReactElement, RefAttributes, WeakValidationMap } from 'react'; import { Header } from '@tanstack/react-table'; import { LGRowData } from '../../useLeafyGreenTable'; export declare const SortState: { readonly Asc: "asc"; readonly Desc: "desc"; readonly Off: "off"; readonly None: "none"; }; export type SortState = (typeof SortState)[keyof typeof SortState]; export interface SortStates { [key: string]: SortState; } export interface HeaderCellProps extends ComponentPropsWithRef<'th'> { /** * The `align` prop set on a HeaderCell will serve as the default `align` prop on the TableCell corresponding to the HeaderCell's index. */ align?: React.ComponentPropsWithoutRef<'th'>['align']; /** * Header object passed from the `useLeafyGreenTable` hook. */ header?: Header; } /** * Type definition for `Header` that works with generics. */ export interface HeaderCellComponentType { (props: HeaderCellProps, ref: ForwardedRef): ReactElement | null; displayName?: string; propTypes?: WeakValidationMap & RefAttributes>> | undefined; } //# sourceMappingURL=HeaderCell.types.d.ts.map