import type { Table } from "@tanstack/react-table";
import type { ComponentPropsWithoutRef } from "react";
import { type Ref } from "react";
import { type ButtonProps } from "@calcom/ui/components/button";
interface DataTableToolbarProps extends ComponentPropsWithoutRef<"div"> {
    children: React.ReactNode;
}
interface SearchBarProps {
    className?: string;
}
declare function SearchBarComponent({ className }: SearchBarProps, ref: Ref<HTMLInputElement>): JSX.Element;
interface ClearFiltersButtonProps<TData> {
    table: Table<TData>;
}
declare function ClearFiltersButtonComponent<TData>({ table }: ClearFiltersButtonProps<TData>, ref: React.Ref<HTMLButtonElement>): JSX.Element | null;
declare function CTAComponent({ children, onClick, color, ...rest }: ButtonProps, ref: React.Ref<HTMLButtonElement>): JSX.Element;
export declare const DataTableToolbar: {
    Root: import("react").ForwardRefExoticComponent<DataTableToolbarProps & import("react").RefAttributes<HTMLDivElement>>;
    SearchBar: (props: SearchBarProps & {
        ref?: React.Ref<HTMLInputElement>;
    }) => ReturnType<typeof SearchBarComponent>;
    ClearFiltersButton: <TData>(props: ClearFiltersButtonProps<TData> & {
        ref?: React.Ref<HTMLButtonElement>;
    }) => ReturnType<typeof ClearFiltersButtonComponent>;
    CTA: (props: ButtonProps & {
        ref?: React.Ref<HTMLButtonElement>;
    }) => ReturnType<typeof CTAComponent>;
};
export {};
//# sourceMappingURL=DataTableToolbar.d.ts.map