import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire"; export declare const protobufPackage = "valhalla"; export interface Isochrone { intervals: Isochrone_Interval[]; } export declare enum Isochrone_metricType { time = 0, distance = 1, UNRECOGNIZED = -1 } export declare function isochrone_metricTypeFromJSON(object: any): Isochrone_metricType; export declare function isochrone_metricTypeToJSON(object: Isochrone_metricType): string; export interface Isochrone_Geometry { coords: number[]; } export interface Isochrone_Contour { /** if polygon first one is outer rest are inners, though this is a problem when we allow multi location isochrones */ geometries: Isochrone_Geometry[]; } export interface Isochrone_Interval { /** time or distance enum */ metric: Isochrone_metricType; /** the target metric, eg 15min */ metricValue: number; contours: Isochrone_Contour[]; } export declare const Isochrone: MessageFns; export declare const Isochrone_Geometry: MessageFns; export declare const Isochrone_Contour: MessageFns; export declare const Isochrone_Interval: MessageFns; type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; export type DeepPartial = T extends Builtin ? T : T extends globalThis.Array ? globalThis.Array> : T extends ReadonlyArray ? ReadonlyArray> : T extends {} ? { [K in keyof T]?: DeepPartial; } : Partial; type KeysOfUnion = T extends T ? keyof T : never; export type Exact = P extends Builtin ? P : P & { [K in keyof P]: Exact; } & { [K in Exclude>]: never; }; export interface MessageFns { encode(message: T, writer?: BinaryWriter): BinaryWriter; decode(input: BinaryReader | Uint8Array, length?: number): T; fromJSON(object: any): T; toJSON(message: T): unknown; create, I>>(base?: I): T; fromPartial, I>>(object: I): T; } export {}; //# sourceMappingURL=isochrone.d.ts.map