/** * Hook that waits for an element to appear in the DOM using MutationObserver. * Returns the element once it's found, or null while waiting. */ export declare function useWaitForElement(target: string | HTMLElement | undefined, enabled: boolean): { element: HTMLElement | null; isWaiting: boolean; };