import React from 'react';
import { ReactFC } from '@tachybase/schema';
export interface IPortalProps {
    id?: string | symbol;
}
export declare const createPortalProvider: (id: string | symbol) => ReactFC<IPortalProps>;
export declare function createPortalRoot<T extends React.ReactNode>(host: HTMLElement, id: string): {
    render: (renderer?: () => T) => void;
    unmount: () => void;
};
