import React from 'react';
import type { CommonProps } from '../CommonWrapper';
import type { TGetRootNode } from '../../lib/rootNode';
import type { Nullable } from '../../typings/utility-types';
export interface RenderLayerProps extends CommonProps {
    children: JSX.Element;
    onClickOutside?: (e: Event) => void;
    onFocusOutside?: (e: Event) => void;
    active?: boolean;
    getAnchorElement?: () => Nullable<Element>;
}
type DefaultProps = Required<Pick<RenderLayerProps, 'active'>>;
export declare class RenderLayer extends React.Component<RenderLayerProps> {
    static __KONTUR_REACT_UI__: string;
    static displayName: string;
    static defaultProps: DefaultProps;
    private getProps;
    private focusOutsideListenerToken;
    getRootNode: TGetRootNode;
    private setRootNode;
    componentDidMount(): void;
    componentDidUpdate(prevProps: RenderLayerProps): void;
    componentWillUnmount(): void;
    render(): React.JSX.Element;
    private getAnchorNode;
    private attachListeners;
    private detachListeners;
    private handleFocusOutside;
    private handleNativeDocClick;
}
export {};
