import { IFinder, ILeaf, ILeafMap, IBooleanMap, IEventListenerId, ISelectorConfig, IFindCondition, IFindMethod } from '@leafer-ui/interface'; import { ChildEvent, PropertyEvent } from '@leafer-ui/draw'; declare class Finder implements IFinder { target?: ILeaf; protected innerIdMap: ILeafMap; protected idMap: ILeafMap; protected findLeaf: ILeaf; protected methods: { id: (leaf: ILeaf, name: string) => 1 | 0; innerId: (leaf: ILeaf, innerId: number) => 1 | 0; className: (leaf: ILeaf, name: string) => 1 | 0; tag: (leaf: ILeaf, name: string) => 1 | 0; tags: (leaf: ILeaf, nameMap: IBooleanMap) => 1 | 0; }; protected __eventIds: IEventListenerId[]; constructor(target: ILeaf, _config: ISelectorConfig); getBy(condition: number | string | IFindCondition | IFindMethod, branch?: ILeaf, one?: boolean, options?: any): ILeaf | ILeaf[]; getByInnerId(innerId: number, branch?: ILeaf): ILeaf; getById(id: string, branch?: ILeaf): ILeaf; getByClassName(className: string, branch?: ILeaf): ILeaf[]; getByTag(tag: string, branch?: ILeaf): ILeaf[]; getByMethod(method: IFindMethod, branch?: ILeaf, one?: boolean, options?: any): ILeaf[] | ILeaf; protected eachFind(children: ILeaf[], method: IFindMethod, list?: ILeaf[], options?: any): void; protected toChildren(branch: ILeaf): ILeaf[]; protected __onRemoveChild(event: ChildEvent): void; protected __checkIdChange(event: PropertyEvent): void; protected __listenEvents(): void; protected __removeListenEvents(): void; destroy(): void; } export { Finder };