import { type ISlottable } from '../../../Behaviors/Slottable'; import { IExpandable } from '../../Interfaces/IExpandable'; import { SelectorItemElement } from '../Abstracts/Selector/SelectorItemElement'; import type { ITreeItemElementProps } from './ITreeItemElementProps'; import { TreeElement } from './TreeElement'; declare const TreeItemElement_base: (abstract new (...args: Array) => import("../../../Behaviors/Themeable").IThemeableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Disableable").IDisableableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Valueable").IValueableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Variantable").IVariantableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Focusable").IFocusableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Slottable").ISlottableProps & ISlottable) & (abstract new (...args: Array) => import("../../../Behaviors/Busyable").IBusyableProps) & (abstract new () => SelectorItemElement>) & import("../../../Behaviors/Themeable").IThemeableCtor; /** * Tree Item - A single node within a tree hierarchy that can contain nested child items. * * @element mosaik-tree-item * @category Selectors * * @example * Basic tree item: * ```html * Documents * ``` * * @example * Expanded tree item with nested children: * ```html * * Projects * Website * Mobile App * * ``` * * @example * Checked tree item: * ```html * Selected Item * ``` * * @public */ export declare class TreeItemElement extends TreeItemElement_base implements ITreeItemElementProps, ISlottable, IExpandable { private readonly _inheritance; private _text; private _isExpanded; private _hasChildren; private _isChecked; /** * @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 `text` property. * * @public */ get text(): string; set text(value: string); /** * Gets or sets the `isExpanded` property. * * @public * @attr */ get isExpanded(): boolean; set isExpanded(value: boolean); /** * Gets or sets the `isChecked` property. * * @public * @attr */ get isChecked(): boolean; set isChecked(value: boolean); /** * The `hasChildren` property represents whether the element has children or not. * * @public * @readonly * @attr */ get hasChildren(): boolean; private set hasChildren(value); /** * Get the item parent. * * @protected * @readonly */ get parent(): TreeElement; /** * Gets all the list items in the list. * * @public */ get items(): Array; /** * Expands the tree item. * * @public */ expand(): void; /** * Collapses the tree item. * * @public */ collapse(): void; /** * Toggles the expanded state of the tree item. * * @public */ toggle(): void; /** * @public * @overload */ onSlotChanges(slotName?: string): void; /** * @protected */ protected onClick(event: Event): void; } /** * @public */ export declare namespace TreeItemElement { type Props = ITreeItemElementProps; } /** * @public */ declare global { interface HTMLElementTagNameMap { 'mosaik-tree-item': TreeItemElement; } } export {}; //# sourceMappingURL=TreeItemElement.d.ts.map