declare function toElem(html: string): Element; type T$ = (selector?: string) => any; declare function elemTo$(element: Element): T$; declare function to$(html: string): T$; type Updater = ($: T$) => any; declare class Ui { updater: Updater; $: any; constructor(updater: Updater); update(callback: any): () => void; watch(receiver: any, method: string): void; } interface Component { ui?: Ui; render: () => Element; } declare function render(component: Component | Element, container: Element): Element; type Hook = () => void; declare function hook(obj: any, member: string | symbol, callback: Hook): void; export { Component, Ui, render, hook, toElem, elemTo$, to$, T$ }; //# sourceMappingURL=index.d.ts.map