import { Emitter } from '@mantou/gem/lib/decorators'; import { GemElement, TemplateResult } from '@mantou/gem/lib/element'; import './use'; declare type Status = 'positive' | 'notice' | 'negative'; export declare type TreeItem = { label: string; value?: any; icon?: string | Element | DocumentFragment; context?: TemplateResult; children?: TreeItem[]; status?: Status; tags?: string[]; }; declare type State = { expandItem: Set; }; /** * @customElement dy-tree * @fires itemclick */ export declare class DuoyunTreeElement extends GemElement { #private; static item: string; data?: TreeItem[]; /**value array */ highlights?: any[]; itemclick: Emitter; state: State; constructor(); willMount: () => void; mounted: () => void; render: () => TemplateResult; } export {}; //# sourceMappingURL=tree.d.ts.map