import { Button } from "./button.js"; import { ComponentProps, ReactNode } from "react"; //#region src/components/toolbar-icon-action.d.ts type ToolbarIconActionProps = Omit, "aria-label" | "children" | "size" | "title" | "tooltip" | "variant"> & { /** Names the action for the tooltip and for assistive technology. */ label: string; icon: ReactNode; /** `header` for the app header row, `toolbar` for a viewer's toolbar. */ density: "header" | "toolbar"; }; /** * One action in a toolbar row of icons. It has no children, so a row cannot * mix a labelled text button in among its icons: the label is the tooltip * and the accessible name, and the row stays the same shape everywhere. */ export declare const ToolbarIconAction: ({ density, icon, label, ...props }: ToolbarIconActionProps) => import("react").JSX.Element; //#endregion