import React, { ReactNode, Ref } from 'react';
export declare const PortalContext: React.Context<HTMLElement | undefined>;
declare type LayerProps = {
    /**
     * Content of the `Layer`.
     */
    children: ReactNode;
    /**
     * @ignore
     */
    className?: string;
    /**
     * @ignore
     */
    baseClassName?: string;
    /**
     * @ignore
     */
    innerRef?: Ref<HTMLDivElement>;
    /**
     * Level.
     */
    level?: number;
};
/**
 * `Layer` component.
 */
declare const Layer: ({ baseClassName, className, children, innerRef, level, ...props }: LayerProps) => React.ReactPortal;
export default Layer;
