@rise-maritime/keelson-js 0.6.0-alpha.282.dev.2 → 0.6.0-alpha.307.dev.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +31 -31
- package/dist/interfaces/ContainerControl.d.ts +7 -0
- package/dist/interfaces/ContainerControl.js +18 -1
- package/dist/interfaces/ContainerHost.d.ts +45 -0
- package/dist/interfaces/ContainerHost.js +332 -1
- package/dist/interfaces/NavigationRiskControl.d.ts +161 -0
- package/dist/interfaces/NavigationRiskControl.js +1007 -0
- package/dist/interfaces/ReplayControl.d.ts +49 -1
- package/dist/interfaces/ReplayControl.js +274 -1
- package/dist/interfaces/Route.d.ts +3 -0
- package/dist/interfaces/serviceRegistry.d.ts +33 -33
- package/dist/interfaces/serviceRegistry.js +2 -2
- package/dist/interfaces.json +1 -1
- package/dist/payloads/AdviceDisposition.d.ts +20 -5
- package/dist/payloads/AdviceDisposition.js +7 -0
- package/dist/payloads/ContainerHost.d.ts +48 -0
- package/dist/payloads/ContainerHost.js +341 -1
- package/dist/payloads/NavigationAdvice.d.ts +24 -0
- package/dist/payloads/NavigationAdvice.js +91 -1
- package/dist/payloads/NavigationRisk.d.ts +341 -0
- package/dist/payloads/NavigationRisk.js +2530 -0
- package/dist/payloads/NavigationState.d.ts +0 -46
- package/dist/payloads/NavigationState.js +1 -252
- package/dist/payloads/Route.d.ts +3 -0
- package/dist/payloads/index.keelson.d.ts +1 -0
- package/dist/payloads/index.keelson.js +1 -0
- package/dist/subjects.json +1 -0
- package/package.json +1 -1
- package/dist/interfaces/NavigationControl.d.ts +0 -169
- package/dist/interfaces/NavigationControl.js +0 -806
- package/dist/interfaces/NavigationState.d.ts +0 -132
- package/dist/interfaces/NavigationState.js +0 -615
- package/dist/interfaces/OperationalAuthority.d.ts +0 -217
- package/dist/interfaces/OperationalAuthority.js +0 -807
- package/dist/interfaces/VesselType.d.ts +0 -133
- package/dist/interfaces/VesselType.js +0 -726
- package/dist/interfaces/Voyage.d.ts +0 -151
- package/dist/interfaces/Voyage.js +0 -855
|
@@ -0,0 +1,341 @@
|
|
|
1
|
+
import { BinaryReader, BinaryWriter } from "@bufbuild/protobuf/wire";
|
|
2
|
+
/**
|
|
3
|
+
* One navigation risk assessment of own ship, at one instant.
|
|
4
|
+
*
|
|
5
|
+
* The assessment is a set of independent dimensions, each of which is either measured — with a
|
|
6
|
+
* risk in [0, 1] and the provenance of the evidence it rests on — or NOT MEASURABLE, with the
|
|
7
|
+
* reason. The second case is why this is a message and not a handful of floats: a missing risk
|
|
8
|
+
* read as zero is the most dangerous thing a consumer of this subject could do.
|
|
9
|
+
*/
|
|
10
|
+
export interface NavigationRisk {
|
|
11
|
+
$type: "keelson.NavigationRisk";
|
|
12
|
+
/** The instant assessed: the end of the interval the inputs were aggregated over. */
|
|
13
|
+
timestamp: Date | undefined;
|
|
14
|
+
/** When the assessment was computed. */
|
|
15
|
+
evaluatedAt: Date | undefined;
|
|
16
|
+
model: NavigationRisk_Model | undefined;
|
|
17
|
+
combined: NavigationRisk_CombinedRisk | undefined;
|
|
18
|
+
gates: NavigationRisk_Gates | undefined;
|
|
19
|
+
dimensions: NavigationRisk_DimensionRisk[];
|
|
20
|
+
targets: NavigationRisk_TargetRisk[];
|
|
21
|
+
inputs: NavigationRisk_Inputs | undefined;
|
|
22
|
+
}
|
|
23
|
+
/** NOT ordinal: LEVEL_NOT_ASSESSED sorts after LEVEL_HIGH. Compare by name, never with < or >. */
|
|
24
|
+
export declare enum NavigationRisk_Level {
|
|
25
|
+
LEVEL_UNSPECIFIED = 0,
|
|
26
|
+
LEVEL_LOW = 1,
|
|
27
|
+
LEVEL_MEDIUM = 2,
|
|
28
|
+
LEVEL_HIGH = 3,
|
|
29
|
+
LEVEL_NOT_ASSESSED = 4,
|
|
30
|
+
UNRECOGNIZED = -1
|
|
31
|
+
}
|
|
32
|
+
export declare function navigationRisk_LevelFromJSON(object: any): NavigationRisk_Level;
|
|
33
|
+
export declare function navigationRisk_LevelToJSON(object: NavigationRisk_Level): string;
|
|
34
|
+
export declare enum NavigationRisk_Dimension {
|
|
35
|
+
DIMENSION_UNSPECIFIED = 0,
|
|
36
|
+
/** DIMENSION_COLLISION - §4.1 */
|
|
37
|
+
DIMENSION_COLLISION = 1,
|
|
38
|
+
/** DIMENSION_GROUNDING - §4.3 */
|
|
39
|
+
DIMENSION_GROUNDING = 2,
|
|
40
|
+
/** DIMENSION_MANOEUVRE - §4.5 manoeuvring margin */
|
|
41
|
+
DIMENSION_MANOEUVRE = 3,
|
|
42
|
+
/** DIMENSION_FAIRWAY - §4.6 reachable fairway */
|
|
43
|
+
DIMENSION_FAIRWAY = 4,
|
|
44
|
+
/** DIMENSION_DETECTABILITY - §4.4 */
|
|
45
|
+
DIMENSION_DETECTABILITY = 5,
|
|
46
|
+
UNRECOGNIZED = -1
|
|
47
|
+
}
|
|
48
|
+
export declare function navigationRisk_DimensionFromJSON(object: any): NavigationRisk_Dimension;
|
|
49
|
+
export declare function navigationRisk_DimensionToJSON(object: NavigationRisk_Dimension): string;
|
|
50
|
+
export declare enum NavigationRisk_Provenance {
|
|
51
|
+
PROVENANCE_UNSPECIFIED = 0,
|
|
52
|
+
/** PROVENANCE_MEASURED - own ship's own sensors */
|
|
53
|
+
PROVENANCE_MEASURED = 1,
|
|
54
|
+
/** PROVENANCE_AIS - a third party's report */
|
|
55
|
+
PROVENANCE_AIS = 2,
|
|
56
|
+
/** PROVENANCE_DERIVED - computed from other fields present */
|
|
57
|
+
PROVENANCE_DERIVED = 3,
|
|
58
|
+
/** PROVENANCE_SYNTHESISED - a model standing in for this vessel */
|
|
59
|
+
PROVENANCE_SYNTHESISED = 4,
|
|
60
|
+
/** PROVENANCE_ASSUMED - a documented constant */
|
|
61
|
+
PROVENANCE_ASSUMED = 5,
|
|
62
|
+
/** PROVENANCE_ABSENT - nothing — the dimension is not measurable */
|
|
63
|
+
PROVENANCE_ABSENT = 6,
|
|
64
|
+
UNRECOGNIZED = -1
|
|
65
|
+
}
|
|
66
|
+
export declare function navigationRisk_ProvenanceFromJSON(object: any): NavigationRisk_Provenance;
|
|
67
|
+
export declare function navigationRisk_ProvenanceToJSON(object: NavigationRisk_Provenance): string;
|
|
68
|
+
export declare enum NavigationRisk_OmissionReason {
|
|
69
|
+
OMISSION_REASON_UNSPECIFIED = 0,
|
|
70
|
+
OMISSION_REASON_CAPACITY = 1,
|
|
71
|
+
OMISSION_REASON_STALE = 2,
|
|
72
|
+
/** OMISSION_REASON_OUT_OF_RANGE - counted in Inputs.targets_out_of_range, not listed */
|
|
73
|
+
OMISSION_REASON_OUT_OF_RANGE = 3,
|
|
74
|
+
UNRECOGNIZED = -1
|
|
75
|
+
}
|
|
76
|
+
export declare function navigationRisk_OmissionReasonFromJSON(object: any): NavigationRisk_OmissionReason;
|
|
77
|
+
export declare function navigationRisk_OmissionReasonToJSON(object: NavigationRisk_OmissionReason): string;
|
|
78
|
+
export declare enum NavigationRisk_SurveillanceState {
|
|
79
|
+
SURVEILLANCE_STATE_UNSPECIFIED = 0,
|
|
80
|
+
SURVEILLANCE_STATE_NO_FEED = 1,
|
|
81
|
+
SURVEILLANCE_STATE_SILENT = 2,
|
|
82
|
+
SURVEILLANCE_STATE_PARTIAL = 3,
|
|
83
|
+
SURVEILLANCE_STATE_LIVE_EMPTY = 4,
|
|
84
|
+
SURVEILLANCE_STATE_LIVE_TARGETS = 5,
|
|
85
|
+
UNRECOGNIZED = -1
|
|
86
|
+
}
|
|
87
|
+
export declare function navigationRisk_SurveillanceStateFromJSON(object: any): NavigationRisk_SurveillanceState;
|
|
88
|
+
export declare function navigationRisk_SurveillanceStateToJSON(object: NavigationRisk_SurveillanceState): string;
|
|
89
|
+
export declare enum NavigationRisk_FeedHealthState {
|
|
90
|
+
FEED_HEALTH_STATE_UNSPECIFIED = 0,
|
|
91
|
+
FEED_HEALTH_STATE_LIVE = 1,
|
|
92
|
+
FEED_HEALTH_STATE_SILENT = 2,
|
|
93
|
+
FEED_HEALTH_STATE_NEVER_HEARD = 3,
|
|
94
|
+
UNRECOGNIZED = -1
|
|
95
|
+
}
|
|
96
|
+
export declare function navigationRisk_FeedHealthStateFromJSON(object: any): NavigationRisk_FeedHealthState;
|
|
97
|
+
export declare function navigationRisk_FeedHealthStateToJSON(object: NavigationRisk_FeedHealthState): string;
|
|
98
|
+
export declare enum NavigationRisk_FeedState {
|
|
99
|
+
FEED_STATE_UNSPECIFIED = 0,
|
|
100
|
+
FEED_STATE_LIVE = 1,
|
|
101
|
+
FEED_STATE_SILENT = 2,
|
|
102
|
+
UNRECOGNIZED = -1
|
|
103
|
+
}
|
|
104
|
+
export declare function navigationRisk_FeedStateFromJSON(object: any): NavigationRisk_FeedState;
|
|
105
|
+
export declare function navigationRisk_FeedStateToJSON(object: NavigationRisk_FeedState): string;
|
|
106
|
+
export declare enum NavigationRisk_ChartState {
|
|
107
|
+
CHART_STATE_UNSPECIFIED = 0,
|
|
108
|
+
CHART_STATE_ABSENT = 1,
|
|
109
|
+
CHART_STATE_CONNECTING = 2,
|
|
110
|
+
CHART_STATE_CONNECTED = 3,
|
|
111
|
+
CHART_STATE_FAILED = 4,
|
|
112
|
+
UNRECOGNIZED = -1
|
|
113
|
+
}
|
|
114
|
+
export declare function navigationRisk_ChartStateFromJSON(object: any): NavigationRisk_ChartState;
|
|
115
|
+
export declare function navigationRisk_ChartStateToJSON(object: NavigationRisk_ChartState): string;
|
|
116
|
+
export interface NavigationRisk_Model {
|
|
117
|
+
$type: "keelson.NavigationRisk.Model";
|
|
118
|
+
/** e.g. "navrisk" */
|
|
119
|
+
package: string;
|
|
120
|
+
version: string;
|
|
121
|
+
}
|
|
122
|
+
/** Method §6.2: weighted noisy-OR over the measurable dimensions. */
|
|
123
|
+
export interface NavigationRisk_CombinedRisk {
|
|
124
|
+
$type: "keelson.NavigationRisk.CombinedRisk";
|
|
125
|
+
riskCombined: number;
|
|
126
|
+
/** Weighted share of the dimensions that were measurable. Never read risk_combined without it. */
|
|
127
|
+
scoredCoverage: number;
|
|
128
|
+
/** The highest risk_combined attainable with the dimensions that were measurable. */
|
|
129
|
+
ceiling: number;
|
|
130
|
+
/** risk_combined / ceiling — what the level is banded on. */
|
|
131
|
+
riskFraction: number;
|
|
132
|
+
level: NavigationRisk_Level;
|
|
133
|
+
/** True when the level was held below HIGH because coverage was too low to earn it. */
|
|
134
|
+
levelCoverageCapped: boolean;
|
|
135
|
+
}
|
|
136
|
+
/** Method §6.4: per-dimension acceptance limits, applied only where a dimension was measurable. */
|
|
137
|
+
export interface NavigationRisk_Gates {
|
|
138
|
+
$type: "keelson.NavigationRisk.Gates";
|
|
139
|
+
applied: number;
|
|
140
|
+
notApplied: NavigationRisk_Dimension[];
|
|
141
|
+
/** All applied gates passed. False when none could be applied: nothing measured is not a pass. */
|
|
142
|
+
pass: boolean;
|
|
143
|
+
}
|
|
144
|
+
export interface NavigationRisk_DimensionRisk {
|
|
145
|
+
$type: "keelson.NavigationRisk.DimensionRisk";
|
|
146
|
+
dimension: NavigationRisk_Dimension;
|
|
147
|
+
measurable: boolean;
|
|
148
|
+
/** Present only when measurable. Absent is NOT zero. */
|
|
149
|
+
risk?: number | undefined;
|
|
150
|
+
/** Method §2.5: the weakest provenance of any input the figure rests on. */
|
|
151
|
+
provenance: NavigationRisk_Provenance;
|
|
152
|
+
/** Why not measurable, or what was synthesised. */
|
|
153
|
+
note: string;
|
|
154
|
+
evaluatedAt: Date | undefined;
|
|
155
|
+
/** A result from a slower loop (the chart dimensions) older than the producer accepts. */
|
|
156
|
+
stale: boolean;
|
|
157
|
+
}
|
|
158
|
+
/** Method §4.1 per target. */
|
|
159
|
+
export interface NavigationRisk_TargetRisk {
|
|
160
|
+
$type: "keelson.NavigationRisk.TargetRisk";
|
|
161
|
+
targetId: string;
|
|
162
|
+
measurable: boolean;
|
|
163
|
+
risk?: number | undefined;
|
|
164
|
+
/** A particular (length, beam, draught) was not transmitted and a documented bound stood in. */
|
|
165
|
+
synthesised: boolean;
|
|
166
|
+
dcpaM?: number | undefined;
|
|
167
|
+
tcpaS?: number | undefined;
|
|
168
|
+
rangeM?: number | undefined;
|
|
169
|
+
note: string;
|
|
170
|
+
presentSeparation: NavigationRisk_PresentSeparation | undefined;
|
|
171
|
+
encounterContext: NavigationRisk_EncounterContext | undefined;
|
|
172
|
+
/**
|
|
173
|
+
* NAV-005: consequence for the more vulnerable vessel (scored), and the
|
|
174
|
+
* pre-NAV-005 ULCC-normalised figure (not scored), for comparison.
|
|
175
|
+
*/
|
|
176
|
+
consequence?: number | undefined;
|
|
177
|
+
consequenceLegacy?: number | undefined;
|
|
178
|
+
/** outside the studied envelope, if any */
|
|
179
|
+
applicability: string[];
|
|
180
|
+
/** The target's MMSI; 0 when unknown. Lets a consumer join a target without parsing target_id. */
|
|
181
|
+
mmsi: number;
|
|
182
|
+
/**
|
|
183
|
+
* The traffic feed whose reports this assessment used, as "entity_id/source_id". A target heard
|
|
184
|
+
* on two feeds is assessed from one of them only — two reporters interleaved into one track
|
|
185
|
+
* produce a false speed.
|
|
186
|
+
*/
|
|
187
|
+
feed: string;
|
|
188
|
+
/**
|
|
189
|
+
* The producer's band for this target's risk, on the same scale as CombinedRisk.level. Absent
|
|
190
|
+
* when not measurable. The producer owns the banding, so no consumer invents thresholds.
|
|
191
|
+
*/
|
|
192
|
+
level?: NavigationRisk_Level | undefined;
|
|
193
|
+
}
|
|
194
|
+
/**
|
|
195
|
+
* Present geometry is independent of TargetRisk.measurable (future CPA).
|
|
196
|
+
* Nullable checks distinguish unknown from false; no accident probability.
|
|
197
|
+
*/
|
|
198
|
+
export interface NavigationRisk_PresentSeparation {
|
|
199
|
+
$type: "keelson.NavigationRisk.PresentSeparation";
|
|
200
|
+
rangeM?: number | undefined;
|
|
201
|
+
domainRadiusM?: number | undefined;
|
|
202
|
+
domainIntrusion?: boolean | undefined;
|
|
203
|
+
intrusionFraction?: number | undefined;
|
|
204
|
+
hullClearanceM?: number | undefined;
|
|
205
|
+
hullContact?: boolean | undefined;
|
|
206
|
+
/** modelled, not a measured safe-distance limit */
|
|
207
|
+
domainBasis: string;
|
|
208
|
+
/** supplied_clearance or unavailable */
|
|
209
|
+
hullBasis: string;
|
|
210
|
+
note: string;
|
|
211
|
+
/**
|
|
212
|
+
* Estimated bound from range and hull diagonals; valid for any position
|
|
213
|
+
* reference on or inside each hull. Not measured clearance.
|
|
214
|
+
*/
|
|
215
|
+
hullClearanceLowerM?: number | undefined;
|
|
216
|
+
hullClearanceUpperM?: number | undefined;
|
|
217
|
+
/** false: cannot be excluded, not contact */
|
|
218
|
+
hullContactExcluded?: boolean | undefined;
|
|
219
|
+
/** range_minus_hull_diagonals or unavailable */
|
|
220
|
+
clearanceBoundBasis: string;
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* Where the encounter is, from the charts (NAV-002). A diagnostic, never a
|
|
224
|
+
* score input, and not hull clearance: charts hold no vessels. Only derived
|
|
225
|
+
* flags leave the chart — no geometry or feature names (charts may be restricted).
|
|
226
|
+
*/
|
|
227
|
+
export interface NavigationRisk_EncounterContext {
|
|
228
|
+
$type: "keelson.NavigationRisk.EncounterContext";
|
|
229
|
+
ownShip: NavigationRisk_ChartedSetting | undefined;
|
|
230
|
+
target: NavigationRisk_ChartedSetting | undefined;
|
|
231
|
+
}
|
|
232
|
+
/** Unset fields are unknown (no coverage, layer absent, query failed or not assessed). */
|
|
233
|
+
export interface NavigationRisk_ChartedSetting {
|
|
234
|
+
$type: "keelson.NavigationRisk.ChartedSetting";
|
|
235
|
+
covered?: boolean | undefined;
|
|
236
|
+
inFairway?: boolean | undefined;
|
|
237
|
+
inTssLane?: boolean | undefined;
|
|
238
|
+
inTssZone?: boolean | undefined;
|
|
239
|
+
inHarbour?: boolean | undefined;
|
|
240
|
+
inAnchorage?: boolean | undefined;
|
|
241
|
+
/** nearest berth/pontoon/mooring within berth_radius_m */
|
|
242
|
+
berthDistanceM?: number | undefined;
|
|
243
|
+
berthRadiusM?: number | undefined;
|
|
244
|
+
chartScale?: number | undefined;
|
|
245
|
+
note: string;
|
|
246
|
+
}
|
|
247
|
+
/** Input health, so a reader can tell "nothing nearby" from "no feed". */
|
|
248
|
+
export interface NavigationRisk_Inputs {
|
|
249
|
+
$type: "keelson.NavigationRisk.Inputs";
|
|
250
|
+
targetsTracked: number;
|
|
251
|
+
aisFeed: NavigationRisk_FeedState;
|
|
252
|
+
chart: NavigationRisk_ChartState;
|
|
253
|
+
resampleS: number;
|
|
254
|
+
/** NAV-003: selection is by hazard priority; every in-range candidate not assessed is listed. */
|
|
255
|
+
targetsCandidate: number;
|
|
256
|
+
targetCapacity: number;
|
|
257
|
+
/** targets_candidate > target_capacity */
|
|
258
|
+
overloaded: boolean;
|
|
259
|
+
omittedTargets: NavigationRisk_OmittedTarget[];
|
|
260
|
+
surveillance: NavigationRisk_Surveillance | undefined;
|
|
261
|
+
/** undecodable or unusable, since start */
|
|
262
|
+
rejectedMessages?: number | undefined;
|
|
263
|
+
/**
|
|
264
|
+
* NAV-004: seconds between the interval assessed and the one just closed; beyond the
|
|
265
|
+
* producer's limit the record is LEVEL_NOT_ASSESSED.
|
|
266
|
+
*/
|
|
267
|
+
ownFixAgeS?: number | undefined;
|
|
268
|
+
/** target SOG smoothing: 8 rows, in seconds */
|
|
269
|
+
smoothingSpanS?: number | undefined;
|
|
270
|
+
/**
|
|
271
|
+
* 13 is left for the own ship's turn envelope (navrisk NAV-006), proposed separately.
|
|
272
|
+
* Targets heard beyond the producer's range limit, counted and NOT listed in omitted_targets.
|
|
273
|
+
* A shore AIS feed carries thousands of vessels; listing each would make every record huge.
|
|
274
|
+
*/
|
|
275
|
+
targetsOutOfRange: number;
|
|
276
|
+
}
|
|
277
|
+
/**
|
|
278
|
+
* A target heard but not assessed: CAPACITY, or STALE within range. Out-of-range targets are
|
|
279
|
+
* counted in Inputs.targets_out_of_range instead. For CAPACITY the ranking proxy is given; it
|
|
280
|
+
* is an ordering aid (flat-earth, two-fix velocity), not a published CPA.
|
|
281
|
+
*/
|
|
282
|
+
export interface NavigationRisk_OmittedTarget {
|
|
283
|
+
$type: "keelson.NavigationRisk.OmittedTarget";
|
|
284
|
+
targetId: string;
|
|
285
|
+
mmsi: number;
|
|
286
|
+
reason: NavigationRisk_OmissionReason;
|
|
287
|
+
reports: number;
|
|
288
|
+
rangeM?: number | undefined;
|
|
289
|
+
dcpaM?: number | undefined;
|
|
290
|
+
tcpaS?: number | undefined;
|
|
291
|
+
}
|
|
292
|
+
/**
|
|
293
|
+
* What the traffic feeds can say. LIVE_EMPTY is not clear water: AIS observes
|
|
294
|
+
* transponder-carrying vessels only (scope).
|
|
295
|
+
*/
|
|
296
|
+
export interface NavigationRisk_Surveillance {
|
|
297
|
+
$type: "keelson.NavigationRisk.Surveillance";
|
|
298
|
+
state: NavigationRisk_SurveillanceState;
|
|
299
|
+
feeds: NavigationRisk_FeedHealth[];
|
|
300
|
+
scope: string;
|
|
301
|
+
}
|
|
302
|
+
export interface NavigationRisk_FeedHealth {
|
|
303
|
+
$type: "keelson.NavigationRisk.FeedHealth";
|
|
304
|
+
/** entity/source */
|
|
305
|
+
feed: string;
|
|
306
|
+
state: NavigationRisk_FeedHealthState;
|
|
307
|
+
lastMessageAgeS?: number | undefined;
|
|
308
|
+
}
|
|
309
|
+
export declare const NavigationRisk: MessageFns<NavigationRisk, "keelson.NavigationRisk">;
|
|
310
|
+
export declare const NavigationRisk_Model: MessageFns<NavigationRisk_Model, "keelson.NavigationRisk.Model">;
|
|
311
|
+
export declare const NavigationRisk_CombinedRisk: MessageFns<NavigationRisk_CombinedRisk, "keelson.NavigationRisk.CombinedRisk">;
|
|
312
|
+
export declare const NavigationRisk_Gates: MessageFns<NavigationRisk_Gates, "keelson.NavigationRisk.Gates">;
|
|
313
|
+
export declare const NavigationRisk_DimensionRisk: MessageFns<NavigationRisk_DimensionRisk, "keelson.NavigationRisk.DimensionRisk">;
|
|
314
|
+
export declare const NavigationRisk_TargetRisk: MessageFns<NavigationRisk_TargetRisk, "keelson.NavigationRisk.TargetRisk">;
|
|
315
|
+
export declare const NavigationRisk_PresentSeparation: MessageFns<NavigationRisk_PresentSeparation, "keelson.NavigationRisk.PresentSeparation">;
|
|
316
|
+
export declare const NavigationRisk_EncounterContext: MessageFns<NavigationRisk_EncounterContext, "keelson.NavigationRisk.EncounterContext">;
|
|
317
|
+
export declare const NavigationRisk_ChartedSetting: MessageFns<NavigationRisk_ChartedSetting, "keelson.NavigationRisk.ChartedSetting">;
|
|
318
|
+
export declare const NavigationRisk_Inputs: MessageFns<NavigationRisk_Inputs, "keelson.NavigationRisk.Inputs">;
|
|
319
|
+
export declare const NavigationRisk_OmittedTarget: MessageFns<NavigationRisk_OmittedTarget, "keelson.NavigationRisk.OmittedTarget">;
|
|
320
|
+
export declare const NavigationRisk_Surveillance: MessageFns<NavigationRisk_Surveillance, "keelson.NavigationRisk.Surveillance">;
|
|
321
|
+
export declare const NavigationRisk_FeedHealth: MessageFns<NavigationRisk_FeedHealth, "keelson.NavigationRisk.FeedHealth">;
|
|
322
|
+
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
323
|
+
type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
324
|
+
[K in Exclude<keyof T, "$type">]?: DeepPartial<T[K]>;
|
|
325
|
+
} : Partial<T>;
|
|
326
|
+
type KeysOfUnion<T> = T extends T ? keyof T : never;
|
|
327
|
+
type Exact<P, I extends P> = P extends Builtin ? P : P & {
|
|
328
|
+
[K in keyof P]: Exact<P[K], I[K]>;
|
|
329
|
+
} & {
|
|
330
|
+
[K in Exclude<keyof I, KeysOfUnion<P> | "$type">]: never;
|
|
331
|
+
};
|
|
332
|
+
interface MessageFns<T, V extends string> {
|
|
333
|
+
readonly $type: V;
|
|
334
|
+
encode(message: T, writer?: BinaryWriter): BinaryWriter;
|
|
335
|
+
decode(input: BinaryReader | Uint8Array, length?: number): T;
|
|
336
|
+
fromJSON(object: any): T;
|
|
337
|
+
toJSON(message: T): unknown;
|
|
338
|
+
create<I extends Exact<DeepPartial<T>, I>>(base?: I): T;
|
|
339
|
+
fromPartial<I extends Exact<DeepPartial<T>, I>>(object: I): T;
|
|
340
|
+
}
|
|
341
|
+
export {};
|