import { ReactNode } from 'react';
import { Overflow } from './boxTypes';
import { Role } from './LegacyContents';
import { Indexable } from './zIndex';
type OwnProps = {
    accessibilityLabel?: string;
    anchor: HTMLElement;
    bgColor: 'blue' | 'darkGray' | 'white';
    border?: boolean;
    caret?: boolean;
    children?: ReactNode;
    onKeyDown?: (arg1: {
        event: React.KeyboardEvent<HTMLElement>;
    }) => void;
    id?: string | null | undefined;
    idealDirection?: 'up' | 'right' | 'down' | 'left' | 'forceDown';
    onDismiss: () => void;
    positionRelativeToAnchor: boolean;
    role?: Role | null | undefined;
    rounding?: 2 | 4;
    shouldFocus?: boolean;
    size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl' | number | null;
    __dangerouslyIgnoreScrollBoundaryContainerSize?: boolean;
    zIndex?: Indexable;
    overflow?: Extract<Overflow, 'auto' | 'hidden' | 'visible'>;
};
declare function WrappedLegacyController(props: OwnProps): import("react/jsx-runtime").JSX.Element;
export default WrappedLegacyController;
