import Vec2 from './type' export default squaredLength declare function squaredLength(vector: Vec2): number