export type Transform = {
    x: number;
    y: number;
    scaleX: number;
    scaleY: number;
};
type Rect = Pick<DOMRect, 'top' | 'left' | 'right' | 'bottom' | 'width' | 'height'>;
export declare function restrictToBoundingRect(transform: Transform, rect: Rect, boundingRect: Rect): Transform;
export {};
//# sourceMappingURL=restrict-to-bounding-rect.d.ts.map