import React, { MutableRefObject, Ref } from 'react';
import { Props } from '../../types';
export declare const MODAL_ID = "headlessui-portal-root";
interface PortalRenderPropArg {
}
interface GroupRenderPropArg {
}
export declare let Portal: (<TTag extends React.ElementType<any> = React.ExoticComponent<{
    children?: React.ReactNode;
}>>(props: Props<TTag, PortalRenderPropArg, "1D45E01E-AF44-47C4-988A-19A94EBAF55C">, ref: Ref<HTMLElement>) => React.ReactPortal | null) & {
    displayName: string;
} & {
    Group: (<TTag_1 extends React.ElementType<any> = React.ExoticComponent<{
        children?: React.ReactNode;
    }>>(props: Pick<import("../../types").PropsOf<TTag_1>, Exclude<keyof import("../../types").PropsOf<TTag_1>, "children" | "className" | "as" | "refName">> & {
        as?: TTag_1 | undefined;
        children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: GroupRenderPropArg) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
        refName?: string | undefined;
    } & (true extends (import("../../types").PropsOf<TTag_1> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag_1> ? true : never) ? {
        className?: import("../../types").PropsOf<TTag_1>["className"] | ((bag: GroupRenderPropArg) => string) | undefined;
    } : {}) & {
        target: MutableRefObject<HTMLElement | null>;
    }, ref: Ref<HTMLElement>) => JSX.Element) & {
        displayName: string;
    };
};
export {};
