import type { WidgetPosition } from '../types';
export declare const getPositionClasses: (position: WidgetPosition) => string;
export declare const getCornerInlineStyle: (position: WidgetPosition, offsetPx?: number) => {
    top?: string;
    right?: string;
    bottom?: string;
    left?: string;
};
export declare const getNearestCorner: (x: number, y: number, bounds: {
    left: number;
    top: number;
    width: number;
    height: number;
}) => WidgetPosition;
/** Anchor top-left of widget (px) for a corner, given viewport and widget size. */
export declare const getAnchorTopLeft: (position: WidgetPosition, vw: number, vh: number, w: number, h: number) => {
    x: number;
    y: number;
};
/** Delta (dx, dy) that would place widget center at the given corner center. */
export declare const getDeltaToCorner: (position: WidgetPosition, corner: WidgetPosition, vw: number, vh: number, w: number, h: number) => {
    dx: number;
    dy: number;
};
/** Nearest corner by translation distance (for velocity-based snap, Next.js style). */
export declare const getNearestCornerByTranslation: (translation: {
    dx: number;
    dy: number;
}, position: WidgetPosition, vw: number, vh: number, w: number, h: number) => WidgetPosition;
//# sourceMappingURL=widgetPositioning.d.ts.map