import { type ReactNode } from "react"; import { type UiToolbarNamingConfig } from "./context.js"; /** * @internal */ export interface IUiToolbarProps { /** * The toolbar needs an accessible name. */ accessibilityConfig: UiToolbarNamingConfig; children: ReactNode; /** * Side of the toolbar on which item tooltips open. Use "above" for a toolbar docked at the bottom. * @defaultValue "below" */ tooltipPlacement?: "below" | "above"; /** * Keep disabled items reachable with arrow keys. * @defaultValue true */ isDisabledFocusable?: boolean; /** * Wrap from the last item to the first one and back. * @defaultValue true */ loop?: boolean; dataTestId?: string; } /** * Horizontal toolbar with one tab stop. Arrow keys move between items, Home and End jump to the * ends, and the last focused item is remembered when focus leaves and comes back. Inside a * {@link UiToolbarSegmentedControl} the arrows change the selection first and continue to the * neighbouring item at the ends. * * Editable values inside a toolbar must be text-like inputs (`type="text"` with an `inputMode`, or * a textarea): the arrows move the caret and hand off to the neighbouring item at the text edges. * Inputs without a caret API, such as `type="number"`, cannot hand off; wrap such custom controls in * an element with {@link TOOLBAR_SKIP_ATTR} so they keep their own keyboard handling. * * @example * ``` * * * * * * ``` * * @internal */ export declare const UiToolbar: import("react").ForwardRefExoticComponent>; //# sourceMappingURL=UiToolbar.d.ts.map