export declare class Tag { tag: string; children?: (Tag | string)[]; props?: any; constructor(tag: string); } export interface TagTree { tagStack: Tag[]; shouldRender: boolean; lastIfValue: boolean; isVoid: boolean; result: Tag[]; currentTag: Tag; __components__: any; } export declare function setRenderContext(t: any): void; export declare function startTag(this: { __tagTree: TagTree; }, tag: string): void; export declare function addProps(this: { __tagTree: TagTree; }, key: string, content: any): void; export declare function closeTag(this: { __tagTree: TagTree; }, template: TemplateStringsArray, ...args: any[]): { __tagTree: TagTree; }; export declare function getResult(t: any): any; export declare function getResults(t: any): any; export declare var rootProxy: { get(target: { __components__: any; }, name: string, receiver: {}): any; };