/**
 * SPDX-FileCopyrightText: © 2019 Liferay, Inc. <https://liferay.com>
 * SPDX-License-Identifier: BSD-3-Clause
 */
import React from 'react';
export interface IBaseProps {
    /**
     * Class to add to the root element
     */
    className?: string;
    /**
     * Id fof the root element
     */
    id?: string;
}
interface IProps extends IBaseProps {
    children: React.ReactElement | Array<React.ReactElement>;
    /**
     * Ref of element to render portal into.
     */
    containerRef?: React.RefObject<Element>;
    /**
     * Ref of element to render nested portals into.
     */
    subPortalRef?: React.RefObject<Element>;
}
export declare const ClayPortal: ({ children, className, containerRef, id, subPortalRef, }: IProps) => JSX.Element;
export {};
