import { IcSizes, IcThemeMode } from "../../utils/types"; import { IcTreeItemOptions } from "./ic-tree-view.types"; import "../../../../web-components/src/components/ic-typography/ic-typography"; import "../../../../web-components/src/components/ic-skip-link/ic-skip-link"; /** * @slot heading - Content is set as the tree view heading. * @slot icon - Content is placed to the left of the heading. */ export declare class TreeView { private treeViewId; private treeItemTag; private hostMutationObserver; private isLoaded; private resizeObserver; private TOOLTIP; private previousTruncateHeading; private previousTruncateTreeItems; el: HTMLIcTreeViewElement; smallDevice: boolean; watchSmallDeviceHandler(): void; treeItems: HTMLIcTreeItemElement[]; /** * The heading of the tree view. */ heading: string; /** * The size of the tree view. */ size?: IcSizes; watchSizeHandler(): void; /** * Sets the theme color to the dark or light theme color. "inherit" will set the color based on the system settings or ic-theme component. */ theme?: IcThemeMode; watchThemeHandler(): void; /** * The content within the tree view tree items. This will take precedence over slotted content. * */ treeItemData: IcTreeItemOptions[]; watchTreeItemOptionsHandler(): void; /** * If `true`, the tree view heading will be truncated instead of text wrapping. * When used on small devices, this prop will be overridden and headings will be set to text-wrap. */ truncateHeading: boolean; /** * If `true`, tree items will be truncated, unless they are individually overridden. * When used on small devices, this prop will be overridden and tree-items will be set to text-wrap. */ truncateTreeItems: boolean; watchTruncateTreeItemsHandler(): void; disconnectedCallback(): void; componentWillLoad(): void; componentDidRender(): void; componentDidLoad(): void; handleTreeItemSelected(event: CustomEvent): void; private hostMutationCallback; private createMutationObserver; private runResizeObserver; private removeTruncation; private handleKeyDown; private getNextItemToSelect; private linkTreeItems; private setTreeItems; private getAllTreeItems; private truncateTreeViewHeading; private removeHeadingTruncation; private isHeadingDefined; private hasHeadingAreaContent; render(): any; }