export interface Span { start: number; end: number; } /** * Implements linear interpolation (lerp). * * Calculates such a linear mapping `R -> R` that `from.start` will be mapped * into `to.start`, and `from.end` will be mapped to `to.end`. Then applies * this mapping to `value`. * @param from Interpolation domain * @param to Interpolation target * @param value Value from domain * @returns Value from target */ export declare function lerp(from: Span, to: Span, value: number): number; /** * Calculates a lerp scale coefficient * @param from Interpolation domain * @param to Interpolation target * @returns Scale coefficient */ export declare function getLerpCoeff(from: Span, to: Span): number;