import { type CSSProperties, type ReactElement, type RefObject } from "react";
import { xy } from "@synnaxlabs/x";
import { Align } from '../../align';
import { type OptionalControl } from '../../input/types';
export interface ContainerProps extends Omit<Align.SpaceProps, "onChange">, Partial<OptionalControl<xy.XY>> {
    dragEnabled?: boolean;
}
type CSSPosition = Partial<Pick<CSSProperties, "left" | "right" | "top" | "bottom" | "display">>;
export declare const intelligentPosition: (pos: xy.XY, ref: RefObject<HTMLDivElement>) => CSSPosition;
export declare const Container: import("react").MemoExoticComponent<({ className, value, onChange, style, draggable, ...props }: ContainerProps) => ReactElement | null>;
export {};
