/** * Portal/Teleport System - Render content in different DOM location * Useful for modals, tooltips, notifications that need to break out of parent containers * * @example * // Portal to body (for modals) *
* *
* * @example * // Portal to specific element *
*
Toast message
*
*/ /** * Create a portal - Move element to target location * * @param sourceEl - Element to teleport * @param targetSelector - CSS selector for destination * * @example * portalCreate(modalEl, 'body'); * portalCreate(tooltipEl, '#tooltip-container'); */ export declare function portalCreate(sourceEl: HTMLElement, targetSelector: string): void; /** * Destroy a portal - Restore element to original position * * @param sourceEl - Element to restore * * @example * portalDestroy(modalEl); // Returns modal to original location */ export declare function portalDestroy(sourceEl: HTMLElement): void; //# sourceMappingURL=portal.d.ts.map