import type { Emitter } from '@mantou/gem/lib/decorators'; import type { TemplateResult } from '@mantou/gem/lib/element'; import { GemElement } from '@mantou/gem/lib/element'; import './use'; type Status = 'positive' | 'notice' | 'negative'; export type TreeItem = { label: string; value?: any; icon?: string | Element | DocumentFragment; context?: TemplateResult; children?: TreeItem[]; childrenPlaceholder?: TemplateResult; status?: Status; tags?: string[]; }; export type MouseEventDetail = { value: any; item: TreeItem; originEvent: MouseEvent; }; export declare class DuoyunTreeElement extends GemElement { #private; static item: string; /**@deprecated */ data?: TreeItem[]; items?: TreeItem[]; /**value array */ highlights?: any[]; itemclick: Emitter; itemcontextmenu: Emitter; expand: Emitter; collapse: Emitter; render: () => TemplateResult; isExpand(value: any): boolean; expandToItems(values: any[]): void; collapseItems(values: any[]): void; iterateCollapseItem(value: any): void; } export {}; //# sourceMappingURL=tree.d.ts.map