import { CommonProps, Refable, type Styleable } from "@trackunit/react-components"; import { ReactElement, ReactNode } from "react"; export interface FilterHeaderProps extends CommonProps, Refable, Styleable { /** * The title of the filter will be displayed in the header. */ title?: string; /** * Used to indicate if the user has any active selection in the filter that can be reset. */ showReset?: boolean; /** * The Label to display on the reset button. */ resetLabel?: string; loading?: boolean; /** * The callback that will be called when the user clicks the reset button. */ onReset?: () => void; /** * Optional search component to render in the header. */ searchComponent?: ReactNode; /** * Optional elements to render along the reset button. * For example: a "Select All" button. */ children?: ReactNode; } /** * The FilterHeader component is used to display the title of the filter and a reset button. * IT is intended for use in the Filter component. * The reset button will only be enabled if the showReset prop is set to true. * * @param {FilterHeaderProps} props - The props for the FilterHeader component * @returns {ReactElement} FilterHeader component */ export declare const FilterHeader: ({ "data-testid": dataTestId, title, resetLabel, showReset, onReset, loading, children, searchComponent, className, ref, style, ...rest }: FilterHeaderProps) => ReactElement; export declare const cvaFilterHeaderButton: (props?: ({ isVisible?: boolean | null | undefined; } & import("class-variance-authority/types").ClassProp) | undefined) => string;