import { ElementRef } from '@angular/core';
import * as i0 from "@angular/core";
/**
 * Service for managing portal container references
 * Provides functionality for components to render content outside of their DOM hierarchy
 */
export declare class PortalService {
    private readonly portalContainerRef;
    readonly portalContainer: import("@angular/core").Signal<ElementRef<HTMLElement> | null>;
    readonly hasPortalContainer: import("@angular/core").Signal<boolean>;
    constructor();
    /**
     * Set the portal container reference
     * This is typically called by the TGUIRootComponent
     */
    setPortalContainer(elementRef: ElementRef<HTMLElement>): void;
    /**
     * Clear the portal container reference
     * This should be called when the container is destroyed
     */
    clearPortalContainer(): void;
    /**
     * Get the current portal container element
     * Returns the native DOM element or null if not set
     */
    getPortalContainerElement(): HTMLElement | null;
    /**
     * Check if portal container is ready for use
     */
    isPortalReady(): boolean;
    static ɵfac: i0.ɵɵFactoryDeclaration<PortalService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<PortalService>;
}
