import "./checkbox.js"; import { LitElement, PropertyValues } from "lit"; type CheckState = `true` | `false` | `indeterminate`; type CheckedSelectItem = { readonly value: string; readonly label: string; readonly checked: CheckState; }; type ItemDisplay = `checkbox` | `text`; type ItemOrientation = `horizontal` | `vertical`; declare class CheckedSelect extends LitElement { #private; static styles: import("lit").CSSResult[]; items: readonly CheckedSelectItem[]; multiline: boolean; /** At-rest checkboxes are display-only; clicking them just opens the popup. (Not `inert`: that native attribute would block the whole element.) */ itemsInert: boolean; /** How at-rest items are shown: as `checkbox`es, or as comma-separated `text`. */ itemDisplay: ItemDisplay; /** Direction the resting items flow: `horizontal` (default) or `vertical` (one per row). */ orientation: ItemOrientation; placeholder: string; disabled: boolean; private _open; private _draft; private _order; private _size; get isOpen(): boolean; disconnectedCallback(): void; willUpdate(changed: PropertyValues): void; open(): Promise; commit(): void; cancel(): void; protected render(): import("lit").TemplateResult<1>; } type CheckedSelectChangeDetail = { /** Every item, with its committed state. */ readonly items: readonly CheckedSelectItem[]; /** Only the items whose state changed. */ readonly changed: readonly CheckedSelectItem[]; }; type CheckedSelectChangeEvent = CustomEvent; declare global { interface HTMLElementTagNameMap { 'ixfx-checked-select': CheckedSelect; } } interface CheckedSelectEventMap { change: CheckedSelectChangeEvent; } interface CheckedSelect { addEventListener: ((type: K, listener: (this: CheckedSelect, event: CheckedSelectEventMap[K]) => void, options?: boolean | AddEventListenerOptions) => void) & ((type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions) => void); } export { CheckState as a, ItemOrientation as c, CheckedSelectEventMap as i, CheckedSelectChangeDetail as n, CheckedSelectItem as o, CheckedSelectChangeEvent as r, ItemDisplay as s, CheckedSelect as t };