import type { ButtonSize } from '../button/button.js'; import { type MenuPlacement, type MenuSelectDetail } from '../menu/menu.js'; import type { TooltipPlacement } from '../tooltip/tooltip.js'; import '../button/button.js'; import '../icon-button/icon-button.js'; import '../menu/menu.js'; import { type OpenDetail } from '../shared/events.js'; import { UiElement } from '../shared/element.js'; declare const UiComboButton_base: (new (...args: any[]) => import("../shared/align.ts").AlignAlias) & typeof UiElement; /** * Carbon `ComboButton`: a primary action button next to a chevron that opens a `` of * secondary actions. The primary button fires `ui-click` (Carbon `onClick`; a plain `click` on the element * also bubbles from the chevron and the menu items); menu items fire `ui-select`. Sizes * sm / md / lg; `placement` bottom (menu as wide as the whole control) or top / -start / -end. * * @slot - `` elements (secondary actions) * @fires ui-click - the primary button was activated (not the chevron or a menu item) * @fires ui-select - bubbles from the activated item * @fires ui-toggle - detail: { open } * @csspart primary - The primary `` * @csspart trigger - The chevron `` * @csspart menu - The `` * @attr align - Carbon's name for `placement` (same values) */ export declare class UiComboButton extends UiComboButton_base { static readonly shadowRootOptions: ShadowRootInit; static readonly styles: import("lit").CSSResult; /** Primary action text. */ label: string; /** sm 32 / md 40 / lg 48px (Carbon has no xl / 2xl here). */ size: Exclude; placement: MenuPlacement; tooltipPlacement: TooltipPlacement; /** Name of the chevron button; defaults to the translation ("Additional actions"). */ triggerLabel: string; disabled: boolean; open: boolean; private readonly menu; private readonly localize; protected updated(changed: Map): void; private onTriggerKeydown; private readonly onPrimaryClick; private toggle; render(): import("lit-html").TemplateResult<1>; } export interface UiComboButtonEventMap extends HTMLElementEventMap { 'ui-click': CustomEvent; 'ui-select': CustomEvent; 'ui-toggle': CustomEvent; } /** Typed listeners for UiComboButton's events (declaration merging with the class). */ export interface UiComboButton { addEventListener(type: K, listener: (this: UiComboButton, event: UiComboButtonEventMap[K]) => unknown, options?: boolean | AddEventListenerOptions): void; addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void; removeEventListener(type: K, listener: (this: UiComboButton, event: UiComboButtonEventMap[K]) => unknown, options?: boolean | EventListenerOptions): void; removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void; } declare global { interface HTMLElementTagNameMap { 'ui-combo-button': UiComboButton; } } export {};