import type { IProjectionNode } from "framer-motion"; import type { AnyResolvedKeyframe } from "framer-motion/dom"; export type ScaleCorrector = (latest: AnyResolvedKeyframe, node: IProjectionNode) => AnyResolvedKeyframe; export interface ScaleCorrectorDefinition { correct: ScaleCorrector; applyTo?: string[]; isCSSVariable?: boolean; } export interface ScaleCorrectorMap { [key: string]: ScaleCorrectorDefinition; }