import type { PortalConfig, PortalReturn } from './portal.types.js';
export declare const usePortal: (node: HTMLElement, config: PortalConfig) => {
    update(newConfig: Partial<PortalConfig>): void;
    destroy(): void;
};
export declare const createPortal: (config?: PortalConfig) => PortalReturn;
