import { type ISlottable } from '../../../Behaviors/Slottable'; import { SelectionMode } from '../../../Types/SelectionMode'; import { SelectorElement } from '../Abstracts/Selector/SelectorElement'; import type { ITreeElementProps } from './ITreeElementProps'; import { TreeItemElement } from './TreeItemElement'; declare const TreeElement_base: (abstract new (...args: Array) => import("../../../Behaviors/Themeable").IThemeableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Disableable").IDisableableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Slottable").ISlottableProps & ISlottable) & (abstract new () => SelectorElement) & import("../../../Behaviors/Themeable").IThemeableCtor; /** * Tree - A hierarchical structure that displays a collection of items, allowing users to expand and collapse branches to navigate through different levels of information. * * @element mosaik-tree * @category Selectors * * @example * Basic tree with expandable items: * ```html * * * Documents * Report.pdf * Budget.xlsx * * Pictures * * ``` * * @public */ export declare class TreeElement extends TreeElement_base implements ITreeElementProps, ISlottable { private readonly _provider; private readonly _itemsClickSubscriptions; private _selectionMode; /** * @public */ constructor(); /** * Returns the `is` property. * The `is` property represents natural name of this element. * * @public * @static * @override * @readonly */ static get is(): string; /** * Gets or sets the `selectionMode` property. * * @public * @attr */ get selectionMode(): SelectionMode; set selectionMode(value: SelectionMode); /** * Gets all the list items in the list. * * @public * @override */ get items(): Array; /** * @protected * @override */ protected onItemsChanged(): void; protected onSelectionModePropertyChanged(prev?: SelectionMode, next?: SelectionMode): void; /** * @private */ private onSelectItem; } /** * @public */ export declare namespace TreeElement { type Props = ITreeElementProps; } /** * @public */ declare global { interface HTMLElementTagNameMap { 'mosaik-tree': TreeElement; } } export {}; //# sourceMappingURL=TreeElement.d.ts.map