import { type ReactNode } from "react"; import { type IconType } from "../@types/icon.js"; import { type SizeMedium, type SizeSmall } from "../@types/size.js"; import { type IUiToolbarItemBaseProps } from "../UiToolbar/toolbarItemProps.js"; /** * @internal */ export interface IUiToolbarIconButtonProps extends IUiToolbarItemBaseProps { /** * Icon name, or a custom node such as {@link UiToolbarColorSwatch}. */ icon: IconType | ReactNode; /** * Accessible name. It is also the tooltip text, unless `tooltip` says otherwise. */ label: string; /** * Shown on hover and focus in place of the label, for example why the button is disabled. */ tooltip?: ReactNode; /** * "medium" is 28x28 with a 20px icon. "small" is 14x14 with a 14px icon and is meant for the * side controls of {@link UiToolbarStepper}. * @defaultValue "medium" */ size?: SizeSmall | SizeMedium; /** * @defaultValue false */ hideTooltip?: boolean; } /** * Icon-only toolbar item. It shows its label as a tooltip on hover and on keyboard focus. * * @internal */ export declare const UiToolbarIconButton: import("react").ForwardRefExoticComponent>; //# sourceMappingURL=UiToolbarIconButton.d.ts.map