export declare class TplElem { attrs: Readonly<{ [k: string]: Attr; }>; elem: Element; constructor(_elem: Element); walkChild(onChild: (childEl: TplElem) => Promise, deep?: boolean): Promise; setAttr(name: string, value: string): void; remove(name: string): void; addAttrs(attrList: { [k: string]: string; }): void; }