type NodeProps = Record<string, string>;
export declare class Node {
    parent: ParentNode | undefined;
    stub: HTMLElement | undefined;
    el: HTMLElement;
    constructor(props?: NodeProps);
    mount(to: ParentNode, stub: HTMLElement): void;
    unmount(stub: HTMLElement | null): void;
}
export interface OutProps {
    node: Node;
}
export declare const Out: ({ node }: OutProps) => React.ReactElement;
interface InProps extends OutProps {
    children: React.ReactNode;
}
export declare const In: ({ node, children }: InProps) => React.ReactElement;
export {};
//# sourceMappingURL=Portal.d.ts.map