UNPKG

@cloudbase/js-sdk

Version:
20 lines (19 loc) 551 B
import { ISerializedPoint } from './interface'; export declare class Point { readonly latitude: number; readonly longitude: number; constructor(longitude: number, latitude: number); parse(key: any): { [x: number]: { type: string; coordinates: number[]; }; }; toJSON(): { type: string; coordinates: number[]; }; toReadableString(): string; static validate(point: ISerializedPoint): boolean; get _internalType(): import("../utils/symbol").InternalSymbol; }