import type { AcUiToolbarItem } from './types'; /** One selectable entry in a toolbar layout switcher submenu. */ export interface AcUiToolbarLayoutPreset { /** Stable preset identifier. */ id: string; /** Display label for the submenu entry. */ label: string; } /** Options for {@link acuiCreateToolbarLayoutSwitcher}. */ export interface AcUiToolbarLayoutSwitcherOptions { /** Presets shown in the submenu. */ presets: AcUiToolbarLayoutPreset[]; /** Id of the currently active preset. */ currentId: string; /** Invoked when the user selects a preset. */ onSelect: (presetId: string) => void; /** Toolbar button id. @default 'toolbar-layout-switcher' */ id?: string; /** Button tooltip / aria label. @default 'Toolbar Layout' */ label?: string; /** Inline SVG icon string. */ icon?: string; } /** * Creates a submenu button that switches between fully custom toolbar layouts. * * Pair with {@link AcApSimpleUiPlugin.setToolbarItems} so each preset replaces the * entire toolbar `items` list rather than using `appendItems`. * * @param options - Presets, current selection, and selection handler. */ export declare function acuiCreateToolbarLayoutSwitcher(options: AcUiToolbarLayoutSwitcherOptions): AcUiToolbarItem; /** * Prepends a layout switcher and separator before a fully custom toolbar item list. * * @param items - Toolbar items for the active preset (not including the switcher). * @param switcher - Layout switcher button from {@link acuiCreateToolbarLayoutSwitcher}. */ export declare function acuiPrependToolbarLayoutSwitcher(items: AcUiToolbarItem[], switcher: AcUiToolbarItem): AcUiToolbarItem[]; //# sourceMappingURL=createToolbarLayoutSwitcher.d.ts.map