import { type KeyboardEvent, type MouseEvent, type ReactNode } from "react"; import { type IAccessibilityConfigBase } from "../../typings/accessibility.js"; import { type IconType } from "../@types/icon.js"; import { type IUiDropdownButtonRenderProps } from "../UiDropdown/types.js"; /** * @internal */ export interface IUiToolbarMoreButtonProps { /** * Accessible name, for example "More actions". It is also the tooltip text. */ label: string; /** * @defaultValue "ellipsis" */ icon?: IconType | ReactNode; /** * Held while the menu is on screen. * @defaultValue false */ isOpen?: boolean; isDisabled?: boolean; onClick?: (event: MouseEvent) => void; onKeyDown?: (event: KeyboardEvent) => void; id?: string; dataId?: string; dataTestId?: string; accessibilityConfig?: IAccessibilityConfigBase; /** * Attributes from the `renderButton` callback of {@link UiDropdown}. Without them the trigger * announces a menu popup. */ ariaAttributes?: IUiDropdownButtonRenderProps["ariaAttributes"]; } /** * Overflow trigger of a toolbar. Build the menu it opens from {@link UiMenu} in a {@link UiDropdown}. * * @internal */ export declare const UiToolbarMoreButton: import("react").ForwardRefExoticComponent>; //# sourceMappingURL=UiToolbarMoreButton.d.ts.map