import React from 'react';
export type PortalRootProps = {
    innerRef?: React.Ref<HTMLElement> | React.MutableRefObject<HTMLElement> | ((instance: HTMLElement) => void);
} & Omit<React.HTMLProps<HTMLElement>, 'ref'>;
declare function PortalRoot({ innerRef, className, style, children, ...rest }: PortalRootProps): JSX.Element;
export declare function getOrCreatePortalElement(id: string): HTMLElement | null;
export default PortalRoot;
