/** based on framer-motion@4.1.17, Copyright (c) 2018 Framer B.V. */ import type { BoxDelta, Point2D } from "../../../types/geometry"; import type { ResolvedValues } from "../../types"; import type { LayoutState } from "../../utils/state"; export type BuildProjectionTransform = (box: BoxDelta, treeScale: Point2D, transform?: ResolvedValues) => string; export type BuildProjectionTransformOrigin = (layout: LayoutState) => string; /** * Build a transform style that takes a calculated delta between the element's current * space on screen and projects it into the desired space. */ declare function buildLayoutProjectionTransform({ x, y }: BoxDelta, treeScale: Point2D, latestTransform?: ResolvedValues): string; /** * Take the calculated delta origin and apply it as a transform string. */ declare function buildLayoutProjectionTransformOrigin({ deltaFinal, }: LayoutState): string; declare var identityProjection: string; export { buildLayoutProjectionTransform, buildLayoutProjectionTransformOrigin, identityProjection }; //# sourceMappingURL=build-projection-transform.d.ts.map