/** * Hook that returns the currently active component. * If a querySelector is provided, it dynamically observes for child elements * matching the selector and triggers rerender when found. */ export declare function useElement(querySelector: K): HTMLElementTagNameMap[K] | null; export declare function useElement(): T;