import { CommonProps, Refable } from "@trackunit/react-components"; import { HTMLAttributes, ReactNode } from "react"; export interface TheadProps extends CommonProps, HTMLAttributes, Refable { /** * A id that can be used in tests to get the component */ "data-testid"?: string; /** * Custom classNames that will be merged with the default classNames. */ className?: string; /** * Children to render in the table section. */ children?: ReactNode; /** * Should thead be sticky * This defaults to true, as it is helpful for cases where virtualization is used. * * @default true */ sticky?: boolean; } /** * The Thead is a wrapper for the thead html element. * It is used to render a table, and adds some default styling. * * In most cases, we recommend using the Table Component over the Table Base Components. * However, if you need to construct a custom table, the Table Base Components can be utilized. * * @param {TheadProps} props - The props for the Thead component * @returns {ReactElement} Thead component */ export declare const Thead: ({ "data-testid": dataTestId, className, children, sticky, ref, ...rest }: TheadProps) => import("react/jsx-runtime").JSX.Element;