import type { ButtonHTMLAttributes, ReactNode } from 'react';
import { type VariantProps } from 'class-variance-authority';
declare const iconButtonVariants: (props?: ({
variant?: "primary" | "secondary" | "tertiary" | "ghost" | "destructive" | "iconOnly" | null | undefined;
rounded?: "square" | "pill" | null | undefined;
size?: "sm" | "md" | "lg" | null | undefined;
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
type IconButtonAccessibleName = {
'aria-label': string;
'aria-labelledby'?: string;
title?: string;
} | {
'aria-label'?: string;
'aria-labelledby': string;
title?: string;
} | {
'aria-label'?: string;
'aria-labelledby'?: string;
title: string;
};
export type IconButtonProps = Omit, 'aria-label' | 'aria-labelledby' | 'title'> & VariantProps & IconButtonAccessibleName & {
icon: ReactNode;
asChild?: boolean;
};
export declare const IconButton: import("react").ForwardRefExoticComponent>;
export { iconButtonVariants };