import { MutableRefObject } from 'react';
import { MenuDirection } from '../types';
import { getPositionHelpers } from './getPositionHelpers';
export interface placeLeftorRightParams {
    anchorRect: DOMRect;
    placeLeftorRightY: number;
    placeLeftX: number;
    placeRightX: number;
    arrowRef: MutableRefObject<HTMLElement | null>;
    arrow?: boolean;
    direction: MenuDirection;
    position: 'auto' | 'anchor' | 'initial';
}
export declare const placeLeftorRight: (props: ReturnType<typeof getPositionHelpers> & placeLeftorRightParams) => {
    arrowY: number | undefined;
    x: number;
    y: number;
    computedDirection: MenuDirection;
};
