/** based on framer-motion@4.1.17, Copyright (c) 2018 Framer B.V. */ import type { Axis, AxisBox2D } from "../../../types/geometry"; interface WithLayoutId { getLayoutId: () => undefined | string; } /** based on framer-motion@4.1.11, Copyright (c) 2018 Framer B.V. */ import "../../../utils/fix-process-env"; declare function tweenAxis(target: Axis, prev: Axis, next: Axis, p: number): void; declare function calcRelativeOffsetAxis(parent: Axis, child: Axis): { min: number; max: number; }; declare function calcRelativeOffset(parent: AxisBox2D, child: AxisBox2D): { x: { min: number; max: number; }; y: { min: number; max: number; }; }; declare function checkIfParentHasChanged(prev: WithLayoutId, next: WithLayoutId): boolean; declare const animateLayout: { track: (fn: (...args: A) => R) => (...args: A) => R; }; export { calcRelativeOffset, calcRelativeOffsetAxis, checkIfParentHasChanged, tweenAxis, animateLayout, }; //# sourceMappingURL=utils.d.ts.map