import { CustomElement } from "../../internal/custom-element.js"; import { AccordionItemSize, OdxAccordionItem } from "./accordion-item.js"; import { PropertyValues, TemplateResult } from "lit"; declare global { interface HTMLElementTagNameMap { 'odx-accordion': OdxAccordion; } } /** * @summary An accordion is an interactive element that allows content to be shown or hidden. * @status rc * @since 1.0 * * @dependency odx-accordion-item * * @slot - Default slot for accordion items * * @event {ToggleEvent} toggle - @see {OdxAccordionItem} */ declare class OdxAccordion extends CustomElement { #private; static tagName: string; static styles: import("lit").CSSResult[]; /** * Indicates whether multiple accordion items can be open at the same time. */ multiple: boolean; /** * The size of the accordion items. */ size: AccordionItemSize; constructor(); /** * Gets the list of accordion items that are direct children of the accordion. */ getItems(): OdxAccordionItem[]; /** * Toggles the state of all accordion 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; protected render(): TemplateResult; protected updated(props: PropertyValues): void; } export { OdxAccordion };