type PortalOptions = { usePortal?: boolean; target?: HTMLElement; beforeMount?: (node: HTMLElement) => void; }; export declare const portal: (node: HTMLElement, { usePortal, beforeMount, target }: PortalOptions) => { update: (u: any) => void; destroy: () => void; }; export {};