export declare class View { private template; private _element; constructor(element: HTMLElement, template: string); readonly element: HTMLElement; render(): void; getChildElement(selector: string): HTMLElement; hide(): void; show(): void; static fromElement(element: HTMLElement): View; }