import { LitElement, type CSSResultGroup, type PropertyValues, type TemplateResult } from "lit"; import { SelectChangeEvent } from "./events.ts"; interface TapsiChipGroupEventMap extends HTMLElementEventMap { [SelectChangeEvent.type]: SelectChangeEvent; } /** * @summary The ChipGroup component can be used to group related chips. * * @tag tapsi-chip-group * * @slot - Default slot for the content of chip. * * @fires {SelectChangeEvent} selectchange - Fired when the chip selection state changes. (bubbles) */ export declare class ChipGroup extends LitElement { /** @internal */ static readonly styles: CSSResultGroup; /** @internal */ addEventListener: (type: K, listener: (this: ChipGroup, ev: TapsiChipGroupEventMap[K]) => void, options?: boolean | AddEventListenerOptions) => void; /** @internal */ removeEventListener: (type: K, listener: (this: ChipGroup, ev: TapsiChipGroupEventMap[K]) => void, options?: boolean | EventListenerOptions) => void; /** * The select mode of the chip group. * * @prop {"multiple" | "single"} selectMode * @attr {"multiple" | "single"} select-mode * @default "multiple" */ selectMode: "single" | "multiple"; /** * Determines if chip selection is required. * * @prop {boolean} selectionRequired * @attr {string} selection-required * @default false */ selectionRequired: boolean; /** * The orientation of the chip group. * * @prop {"horizontal" | "vertical"} orientation * @attr {"horizontal" | "vertical"} orientation * @default "horizontal" */ orientation: "horizontal" | "vertical"; /** * Determines the number of columns of chips the parent will wrap. * This property is only used when orientation is set to "vertical". * * @prop {number} cols * @attr {string} cols * @default 2 */ cols: number; /** * Defines a string value that can be used to set a label * for assistive technologies. * * https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-label * * @prop {string} label * @attr {string} label * @default "" */ label: string; private get _chips(); constructor(); /** @internal */ connectedCallback(): void; /** @internal */ disconnectedCallback(): void; protected willUpdate(changed: PropertyValues): void; private _handleChipDeselection; private _handleChipSelection; protected render(): TemplateResult; } export {};