import type { IPortalHostElementProps } from './IPortalHostElementProps'; import { CustomElement } from '../../Abstracts/CustomElement'; import { ISlottable } from '../../../Behaviors/Slottable'; declare const PortalHostElement_base: (abstract new (...args: Array) => import("../../../Behaviors/Themeable").IThemeableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Slottable").ISlottableProps & ISlottable) & typeof CustomElement & import("../../../Behaviors/Themeable").IThemeableCtor; /** * PortalHost - A designated destination container for portal content rendering. * * @description * The PortalHost component defines named locations where portal content can be rendered. It serves as a * landing zone for portals, allowing you to control where teleported content appears in your layout. * This is particularly useful for creating dedicated areas for modals, notifications, tooltips, or any * layered UI that needs consistent placement. Multiple portal hosts can exist with different names, * enabling organized content projection across complex layouts. * * @name PortalHost * @element mosaik-portal-host * @category Primitives * * @slot - The container where portal projections will be rendered * * @example * Create modal container: * ```html * *
*
...
* *
* * * * Modal content * * ``` * * @example * Multiple portal hosts: * ```html *
* * * *
* ``` * * @example * Styled portal host: * ```html * * * ``` * * @public */ export declare class PortalHostElement extends PortalHostElement_base implements IPortalHostElementProps, ISlottable { private _name; /** * @public */ constructor(); /** * Returns the `is` property. * The `is` property represents natural name of this element. * * @public * @static * @readonly */ static get is(): string; /** * Gets or sets the `name` property. * The `name` property represents the unique identifier for this portal host. * * @public * @attr */ get name(): string; set name(value: string); /** * @public * @override */ connectedCallback(): void; /** * @public * @override */ disconnectedCallback(): void; } /** * @public */ export declare namespace PortalHostElement { type Props = IPortalHostElementProps; } /** * @public */ declare global { interface HTMLElementTagNameMap { 'mosaik-portal-host': PortalHostElement; } } export {}; //# sourceMappingURL=PortalHostElement.d.ts.map