import React from 'react'; export interface IPortalProps { id?: string | symbol; } export declare const createPortalProvider: (id: string | symbol) => (props: React.PropsWithChildren) => JSX.Element; export declare function createPortalRoot(host: HTMLElement, id: string): { render: (renderer?: () => T) => void; unmount: () => void; };