import type { Double } from "@apple/cktool.core"; /** * An object that represents a location field value. * * API schema: CKDBLocation * API version: 1.3.2 */ export interface CKDBLocation { /** * The latitude of the coordinate point. */ latitude: Double; /** * The longitude of the coordinate point. */ longitude: Double; /** * The altitude measured in meters. */ altitude?: Double; /** * The radius of uncertainty for the location measured in meters. */ horizontalAccuracy?: Double; /** * The validity of the altitude values and their estimated uncertainty measured in meters. */ verticalAccuracy?: Double; /** * The direction in which the device is traveling. */ course?: Double; /** * The instantaneous speed of the device in meters per second. */ speed?: Double; /** * The time at which this location was determined. */ timestamp?: Date; } /** * An object the provides the functions that * transform {@link CKDBLocation } to and from JSON. */ export declare const jsonCodecCKDBLocationOwnProperties: { /** * Get an encoder that transforms {@link CKDBLocation }'s * own properties to JSON. */ readonly getEncoder: () => { readonly timestamp: (value: import("@apple/cktool.core").ConvertibleToDate | import("fp-ts/lib/Option").Option | null | undefined) => import("@apple/cktool.core").ValidatedNEA>; readonly latitude: (value: import("@apple/cktool.core").ConvertibleToFloatOrDouble) => import("@apple/cktool.core").ValidatedNEA; readonly longitude: (value: import("@apple/cktool.core").ConvertibleToFloatOrDouble) => import("@apple/cktool.core").ValidatedNEA; readonly altitude: (value: import("@apple/cktool.core").ConvertibleToFloatOrDouble | import("fp-ts/lib/Option").Option | null | undefined) => import("@apple/cktool.core").ValidatedNEA>; readonly horizontalAccuracy: (value: import("@apple/cktool.core").ConvertibleToFloatOrDouble | import("fp-ts/lib/Option").Option | null | undefined) => import("@apple/cktool.core").ValidatedNEA>; readonly verticalAccuracy: (value: import("@apple/cktool.core").ConvertibleToFloatOrDouble | import("fp-ts/lib/Option").Option | null | undefined) => import("@apple/cktool.core").ValidatedNEA>; readonly course: (value: import("@apple/cktool.core").ConvertibleToFloatOrDouble | import("fp-ts/lib/Option").Option | null | undefined) => import("@apple/cktool.core").ValidatedNEA>; readonly speed: (value: import("@apple/cktool.core").ConvertibleToFloatOrDouble | import("fp-ts/lib/Option").Option | null | undefined) => import("@apple/cktool.core").ValidatedNEA>; }; /** * Get a decoder that transforms {@link CKDBLocation }'s * own properties from JSON. */ readonly getDecoder: () => { readonly timestamp: (value: string | import("fp-ts/lib/Option").Option | null | undefined) => import("@apple/cktool.core").ValidatedNEA>; readonly latitude: (value: import("@apple/cktool.core").ConvertibleToFloatOrDouble) => import("@apple/cktool.core").ValidatedNEA; readonly longitude: (value: import("@apple/cktool.core").ConvertibleToFloatOrDouble) => import("@apple/cktool.core").ValidatedNEA; readonly altitude: (value: import("@apple/cktool.core").ConvertibleToFloatOrDouble | import("fp-ts/lib/Option").Option | null | undefined) => import("@apple/cktool.core").ValidatedNEA>; readonly horizontalAccuracy: (value: import("@apple/cktool.core").ConvertibleToFloatOrDouble | import("fp-ts/lib/Option").Option | null | undefined) => import("@apple/cktool.core").ValidatedNEA>; readonly verticalAccuracy: (value: import("@apple/cktool.core").ConvertibleToFloatOrDouble | import("fp-ts/lib/Option").Option | null | undefined) => import("@apple/cktool.core").ValidatedNEA>; readonly course: (value: import("@apple/cktool.core").ConvertibleToFloatOrDouble | import("fp-ts/lib/Option").Option | null | undefined) => import("@apple/cktool.core").ValidatedNEA>; readonly speed: (value: import("@apple/cktool.core").ConvertibleToFloatOrDouble | import("fp-ts/lib/Option").Option | null | undefined) => import("@apple/cktool.core").ValidatedNEA>; }; };