/// <reference types="react" />
import { PureComponent } from 'react';
export interface Props {
    mountTo?: HTMLElement;
    boundariesElement?: HTMLElement;
    isOpen?: boolean;
    onOpenChange?: (attrs) => void;
    onItemActivated?: (attrs) => void;
    fitWidth?: number;
    fitHeight?: number;
    items: Array<Object>;
}
export interface State {
    target?: HTMLElement;
    popupPlacement: [string, string];
}
/**
 * Wrapper around @atlaskit/dropdown-menu which uses Popup and Portal to render
 * dropdown-menu outside of "overflow: hidden" containers when needed.
 *
 * Also it controls popper's placement.
 */
export default class DropdownMenuWrapper extends PureComponent<Props, State> {
    constructor(props: Props);
    private handleRef;
    private updatePopupPlacement;
    private renderDropdownMenu();
    render(): JSX.Element;
}
