import type { ReadonlyVec } from "@thi.ng/vectors";
import type { IDistance, Metric } from "./api.js";
export declare class Squared<T> implements IDistance<T> {
    readonly metric: Metric<T>;
    constructor(metric: Metric<T>);
    to(x: number): number;
    from(x: number): number;
}
export declare const DIST_SQ: Squared<ReadonlyVec>;
export declare const DIST_SQ1: Squared<number>;
export declare const DIST_SQ2: Squared<ReadonlyVec>;
export declare const DIST_SQ3: Squared<ReadonlyVec>;
//# sourceMappingURL=squared.d.ts.map