import { CustomElement } from "../../internal/custom-element.js"; import { ListItemSize, OdxListItem } from "./list-item.js"; import { PropertyValues, TemplateResult } from "lit"; declare global { interface HTMLElementTagNameMap { 'odx-list': OdxList; } } /** * @summary A container for grouping a set of list items. * * @dependency odx-list-item * * @slot - Default slot for list items. * * @event toggle - @see {OdxListItem} */ declare class OdxList extends CustomElement { #private; static tagName: string; static styles: import("lit").CSSResult[]; /** * Indicates whether multiple list items can be open at the same time. */ multiple: boolean; /** * Indicates whether the list is in a muted state, which renders the list items non-interactive. */ muted: boolean; /** * The size of the list items. */ size: ListItemSize; constructor(); /** * Gets the list of list items that are direct children of the list. */ getItems(): OdxListItem[]; /** * Toggles the state of all list items. * * @param state - The state to toggle the items to. If not provided, items will be toggled to the opposite of their current state. * @param emitEvent - Whether to emit the `toggle` event for each item that is toggled. Defaults to false. */ toggleAll(state?: boolean, emitEvent?: boolean): void; connectedCallback(): void; protected render(): TemplateResult; protected updated(props: PropertyValues): void; } export { OdxList };