export interface ClientPos { clientX: number; clientY: number; } export interface ArrayLike { readonly length: number; [index: number]: T; } export declare function average(touches: ArrayLike): ClientPos; export declare function distance(a: ClientPos, b: ClientPos): number; /** * Passing the midpoint and two points will yield the same result as distance between those two, * so this is an extension of the usual panzoom approach that should work with any number * of contact points. */ export declare function totalDistance(center: ClientPos, others: ArrayLike): number; //# sourceMappingURL=vector.d.ts.map