import { LitElement } from "lit"; import type { TemplateResult } from "lit"; type Primitive = string | number; export interface ChipGroupOverflowToggleDetail { open: boolean; hidden: number; } /** * @fires change - Fired on commit with the new value in `detail`. * @fires xm-chip-group-overflow-toggle - Fired when the overflow pill folds or unfolds the tail of the set (`detail.open`, `detail.hidden`). */ export declare class XmChipGroup extends LitElement { static styles: CSSStyleSheet[]; multiple: boolean; value: Primitive | Primitive[] | null; /** Show at most this many chips; the rest fold behind an overflow pill (0 = show everything). Same word, same behaviour as ``. A selected chip is never folded — an active filter stays visible even past the cap — so the visible count can exceed `max`. Chips the consumer hid themselves are left alone. */ max: number; /** Copy for the collapsed overflow pill. `{n}` interpolates the hidden count. */ overflowLabel: string; private _overflowOpen; private _foldCount; private _folded; connectedCallback(): void; disconnectedCallback(): void; firstUpdated(): void; updated(changed: Map): void; private _chips; private _enabledChips; private _foldable; private _partition; private _applyOverflow; private _toggleOverflow; private _syncValueFromChips; private _onChipActivate; private _onKeydown; private _updateRovingTabindex; render(): TemplateResult; private _renderOverflow; private _onSlot; } declare global { interface HTMLElementTagNameMap { "xm-chip-group": XmChipGroup; } } export {};