import React from "react";
import { ButtonSize } from "./Button";
export type IconPosition = "left" | "right";
export interface IconButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "type" | "ref"> {
    /** Name of the icon */
    iconName: string;
    /** Position of the icon */
    iconPosition?: IconPosition;
    /** Class of the icon */
    iconClassName?: string;
    /** Button size. Also affects icon size */
    size?: ButtonSize;
    /** Use square button. Children are rendered as visually hidden */
    isSquare?: boolean;
    children?: React.ReactNode;
}
declare const IconButton: React.ForwardRefExoticComponent<IconButtonProps & React.RefAttributes<HTMLButtonElement>>;
export { IconButton };
