import React from 'react';
import type { CommonProps } from '../../internal/CommonWrapper/index.js';
import type { TGetRootNode } from '../../lib/rootNode/index.js';
export interface FocusTrapProps extends CommonProps {
    children: React.ReactElement<any>;
    onBlur?: (event: FocusEvent) => void;
}
export declare class FocusTrap extends React.PureComponent<FocusTrapProps> {
    static __KONTUR_REACT_UI__: string;
    static displayName: string;
    getRootNode: TGetRootNode;
    private setRootNode;
    private globalObject;
    private focusOutsideListenerToken;
    componentWillUnmount(): void;
    render(): React.JSX.Element;
    private onClickOutside;
    private attachListeners;
    private detachListeners;
    private handleNativeDocClick;
}
