import React, { RefObject, ReactNode } from 'react';
import { OutsideClickListener } from '../outside-click-listener';
import { AnchorEl } from '../react-popper';
import './popper-dropdown-wrapper.less';
import { DropdownPlacementTypes } from './types';
export type ChildrenWrapperTypes = {
    closeDropdown: () => void;
    isOpen: boolean;
    openedWithKeyboard?: boolean;
    anchorElement?: AnchorEl;
};
export type PopperDropdownWrapperChildren = ((props: ChildrenWrapperTypes) => ReactNode) | ReactNode;
export type PopperDropdownWrapperProps = {
    children: PopperDropdownWrapperChildren;
    closeDropdown: (e?: Event) => void;
    anchorRef?: AnchorEl;
    open: boolean;
    openedWithKeyboard?: boolean;
    contentClassName?: string;
    modifiers?: Array<object>;
    placement?: DropdownPlacementTypes;
    useCloseTransition?: boolean;
    setParentRef?: () => void;
    wrapperContentTestId?: string;
    wrapperContentId?: string;
    forceUpdatePopperAfterOpen?: boolean;
    shouldCloseOnEsc?: boolean;
};
export default class PopperDropdownWrapper extends React.Component<PopperDropdownWrapperProps> {
    defaultPopperModifiers: {
        name: string;
        options: {
            offset: number[];
        };
    }[];
    popper: RefObject<OutsideClickListener>;
    render(): import("react/jsx-runtime").JSX.Element;
}
