import { FunctionComponent, PropsWithChildren } from 'react';
export interface PortalProps {
    key?: string;
    target?: string;
    disabled?: boolean;
}
export declare function Portal({ children, target, disabled, key, }: PropsWithChildren<PortalProps>): import('react').ReactNode;
/**
 * Wrap a component onto a portal
 */
export declare function withPortal<Props extends PropsWithChildren>(target: string, Cmp: FunctionComponent<Props>): (props: Props) => import("react/jsx-runtime").JSX.Element;
