import React, { ComponentType, MouseEventHandler } from "react"; import { Tooltip } from "../components"; import { Button } from "../components/Button"; export declare const ICON_BUTTON_VARIANTS: readonly ["primary", "highlight", "highlight-secondary", "warning", "warning-secondary", "outline", "ghost", "ghost-secondary"]; export type IconButtonVariantType = (typeof ICON_BUTTON_VARIANTS)[number]; declare const iconButtonVariants: (props?: ({ variant?: "ghost" | "ghost-secondary" | "highlight" | "highlight-secondary" | "outline" | "primary" | "warning" | "warning-secondary" | null | undefined; } & import("class-variance-authority/types").ClassProp) | undefined) => string; export interface IconButtonProps extends Omit, "label" | "variant"> { variant?: IconButtonVariantType; onClick?: MouseEventHandler; tooltip?: string; tooltipPosition?: React.ComponentProps["side"]; icon: ComponentType; } declare const IconButton: React.ForwardRefExoticComponent>; export { IconButton, iconButtonVariants }; //# sourceMappingURL=IconButton.d.ts.map