import type { Sprite } from "../entities/widgets/Sprite"; import type { Point } from "../pathing/PathingMap"; export declare const distanceBetweenPoints: ({ x: x1, y: y1 }: Point, { x: x2, y: y2 }: Point) => number; export declare const pathDistance: (points: Point[]) => number; export declare type PathTweener = { (progress: number): { x: number; y: number; }; readonly remaining: number; step: (deltaProgress: number) => Point; distance: number; radialStepBack: (distance: number) => Point; target: Point; readonly points: Point[]; }; export declare const shortenPath: (points: Point[], amount: number) => Point[]; export declare const tweenPoints: (points: Point[]) => PathTweener; export declare const calcAndTweenShortenedPath: (entity: Sprite, target: Point | Sprite, distanceToShorten: number) => PathTweener;