import Vector from '../vector'; export interface Config { segmentLength: number; biasToPerfect: number; randomFactor: number; roundFactor?: number; } export declare function getNextPoint(perfectDirection: Vector, currentDirection: Vector | undefined, fromPoint: Vector, config: Config): Vector; /** * Generates a slightly wobbly path between two coordinates. The amount of * wobbliness can be changed by tweaking the above constants. */ export default function generatePath(points: Vector[], config: Config): Vector[];