@orbat-mapper/control-measures 0.2.0-alpha.0

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.
@@ -0,0 +1,1354 @@
1
+ import { Feature, FeatureCollection, Geometry, LineString, MultiLineString, MultiPolygon, Point, Polygon, Position } from "geojson";
2
+
3
+ //#region src/internal/api-utils.d.ts
4
+ type ValidationMode = "silent" | "warn" | "throw";
5
+ //#endregion
6
+ //#region src/draw-rules/types.d.ts
7
+ interface AnchorTransformEvent {
8
+ previous: readonly Position[];
9
+ next: readonly Position[];
10
+ activePointIndex?: number;
11
+ }
12
+ interface ControlMeasureDrawRule {
13
+ readonly id: string;
14
+ readonly minimumUserPoints: number;
15
+ readonly canonicalPointCount?: number;
16
+ /**
17
+ * Number of raw (clicked + rubber-band) points at which `derive` can already
18
+ * produce a renderable canonical shape, so the draw controller renders a live
19
+ * symbol preview instead of the bare vertex-marker outline. Lets a measure
20
+ * show feedback before the full `minimumUserPoints` commit threshold is
21
+ * reached — e.g. Area21 pads two points (first click + cursor) up to its
22
+ * three-point search-area shape. Must be <= `minimumUserPoints`. Defaults to
23
+ * `minimumUserPoints` (no early preview).
24
+ */
25
+ readonly minimumPreviewPoints?: number;
26
+ /**
27
+ * Number of trailing slots in the canonical control-point array that are
28
+ * NOT user-clicked spine vertices. For Axis1, this is 1 (the width handle
29
+ * at index N-1). Drives four behaviors in TacticalDraw:
30
+ * 1. New clicks insert at `length - trailingFixedSlots` (not appended).
31
+ * 2. Midpoint handles render only between segments inside
32
+ * [0 .. length - 1 - trailingFixedSlots].
33
+ * 3. The "click the last added point to commit" hit test uses
34
+ * `committed[length - 1 - trailingFixedSlots]`.
35
+ * 4. `canCommit` evaluates `length - trailingFixedSlots >= minimumUserPoints`.
36
+ * Defaults to 0 (the entire array is user-clicked spine). See ADR-0008.
37
+ */
38
+ readonly trailingFixedSlots?: number;
39
+ derive(points: readonly Position[]): Position[];
40
+ transform(event: AnchorTransformEvent): Position[];
41
+ }
42
+ //#endregion
43
+ //#region src/metadata.d.ts
44
+ type ControlMeasureGeometryType = Geometry["type"];
45
+ type ControlMeasureGeometry = "point" | "line" | "area";
46
+ declare const DRAW_RULE_IDS: readonly ["Area1", "Area7", "Area8", "Area11", "Area12", "Area15", "Area21", "Axis1", "Line1", "Line3", "Line9", "Line10", "Line23", "Line24", "Line29", "Point12"];
47
+ type DrawRuleId = (typeof DRAW_RULE_IDS)[number];
48
+ interface BaseParamDescriptor {
49
+ key: string;
50
+ label: string;
51
+ description?: string;
52
+ visibleWhen?: (opts: Record<string, unknown>) => boolean;
53
+ }
54
+ interface NumberParamDescriptor extends BaseParamDescriptor {
55
+ type: "number";
56
+ min?: number;
57
+ max?: number;
58
+ step?: number;
59
+ unit?: string;
60
+ }
61
+ interface BooleanParamDescriptor extends BaseParamDescriptor {
62
+ type: "boolean";
63
+ }
64
+ interface ColorParamDescriptor extends BaseParamDescriptor {
65
+ type: "color";
66
+ }
67
+ interface EnumParamDescriptor extends BaseParamDescriptor {
68
+ type: "enum";
69
+ options: readonly {
70
+ label: string;
71
+ value: string | number | boolean;
72
+ }[];
73
+ }
74
+ type ParamDescriptor = NumberParamDescriptor | BooleanParamDescriptor | ColorParamDescriptor | EnumParamDescriptor;
75
+ interface ControlMeasureMetadata {
76
+ id: string;
77
+ name: string;
78
+ description: string;
79
+ entity: string;
80
+ entityType: string;
81
+ entitySubtype?: string;
82
+ value: string;
83
+ geometry: ControlMeasureGeometry;
84
+ minCoordinates?: number;
85
+ maxCoordinates?: number;
86
+ geometryTypes?: readonly ControlMeasureGeometryType[];
87
+ drawRule?: DrawRuleId;
88
+ /**
89
+ * Resolved draw rule object (anchor contract) attached by the registry when
90
+ * the kind's `drawRule` id has an implementation. Consumed by the
91
+ * `TacticalDraw` façade to drive click accumulation during draw and
92
+ * vertex-snap during edit — see ADR-0005.
93
+ */
94
+ rule?: ControlMeasureDrawRule;
95
+ params?: readonly ParamDescriptor[];
96
+ /**
97
+ * Marks a measure that emits a text label whose pixel size should be captured
98
+ * once at draw-commit time (rather than re-resolved on every zoom). Hosts use
99
+ * this to stamp default label sizing onto the committed measure — see
100
+ * `withCommittedAdapterMeasureOptions` in `tactical-draw`. Keeping it on the
101
+ * definition means adding such a measure stays a one-file change (ADR-0013).
102
+ */
103
+ capturesLabelSize?: boolean;
104
+ }
105
+ //#endregion
106
+ //#region src/define.d.ts
107
+ /**
108
+ * The loosest `FeatureCollection` a control-measure generator may emit: any
109
+ * geometry, with per-feature properties that the renderer normalizes.
110
+ */
111
+ type AnyFeatureCollection = FeatureCollection<Geometry, Record<string, unknown> | null>;
112
+ /**
113
+ * A generator's call signature, constrained only by its inputs and output. The
114
+ * options parameter is typed `never` so that a generator with *any* concrete
115
+ * options type satisfies the bound — function parameters are contravariant, so
116
+ * `(o: BlockOptions) => …` is assignable to `(o: never) => …`. The actual
117
+ * options type is recovered covariantly via {@link OptsOf}, never through this
118
+ * bound. See ADR-0013.
119
+ */
120
+ type ControlMeasureGenerator = (controlPoints: Position[], options: never) => AnyFeatureCollection;
121
+ /**
122
+ * Everything that defines one control measure, co-located with its generator.
123
+ * `registry.ts` collects these into the single `DEFINITIONS` map, from which
124
+ * the `ControlMeasureId` union, `OptionsByKind`, the generator dispatch, the
125
+ * default options, and rule resolution are all derived rather than maintained
126
+ * as parallel tables. See ADR-0013.
127
+ */
128
+ interface ControlMeasureDefinition<Id extends string, G extends ControlMeasureGenerator> {
129
+ /** Catalog metadata; `id` is pinned to the record's literal key. */
130
+ metadata: ControlMeasureMetadata & {
131
+ id: Id;
132
+ };
133
+ /** Pure generator: control points (+ options) → GeoJSON features. */
134
+ generator: G;
135
+ /** Default options, tied to the generator's own options parameter. */
136
+ defaultOptions: NonNullable<Parameters<G>[1]>;
137
+ /**
138
+ * Resolved draw-rule object, merged back onto metadata by the registry. The
139
+ * doctrinal `drawRule` spec id stays on `metadata` (ADR-0005); the registry
140
+ * guards that `rule` agrees with it. See ADR-0013.
141
+ */
142
+ rule?: ControlMeasureDrawRule;
143
+ }
144
+ /**
145
+ * Extracts a definition's options type covariantly from its generator's
146
+ * (optional) second parameter — robust where inferring through the
147
+ * contravariant parameter position is not. See ADR-0013.
148
+ */
149
+ type OptsOf<D> = D extends {
150
+ generator: (points: Position[], options?: infer O) => unknown;
151
+ } ? O : never;
152
+ //#endregion
153
+ //#region src/generators/cm14-maneuver-lines/principalDirectionOfFire.d.ts
154
+ /**
155
+ * Configuration options for the Principal Direction of Fire tactical symbol.
156
+ */
157
+ interface PrincipalDirectionOfFireOptions {
158
+ /** Arrowhead length relative to each arm's own length (default: 0.07) */
159
+ hSize?: number;
160
+ /** Arrowhead wing spread relative to the arrowhead length (default: 0.67) */
161
+ hWidth?: number;
162
+ }
163
+ declare const DEFAULT_PRINCIPAL_DIRECTION_OF_FIRE_OPTIONS: Required<PrincipalDirectionOfFireOptions>;
164
+ /**
165
+ * Generates a GeoJSON FeatureCollection for a PRINCIPAL DIRECTION OF FIRE
166
+ * tactical symbol: a "V" of arms from the vertex out to the (independent) tips,
167
+ * each ending in an open arrowhead.
168
+ *
169
+ * Renders one arm per tip, so two points (vertex + one tip) draws the single
170
+ * arm being placed — the live feedback after PT 1 — and three points draws the
171
+ * full V. Points beyond the third are ignored (input contract, ADR-0014).
172
+ *
173
+ * @param coordinates - [PT 1 (vertex), PT 2 (tip), PT 3 (tip)]
174
+ * @param options - Arrowhead sizing parameters
175
+ */
176
+ declare function createPrincipalDirectionOfFire(coordinates: Position[], options?: PrincipalDirectionOfFireOptions): FeatureCollection<MultiLineString, Record<string, never>>;
177
+ //#endregion
178
+ //#region src/generators/cm14-maneuver-lines/finalProtectiveFire.d.ts
179
+ /**
180
+ * Configuration options for the Final Protective Fire tactical symbols.
181
+ *
182
+ * Identical to Principal Direction of Fire (arrowhead sizing), plus a filled
183
+ * "blade" running along the inside of one arm.
184
+ */
185
+ interface FinalProtectiveFireOptions {
186
+ /** Arrowhead length relative to each arm's own length (default: 0.07) */
187
+ hSize?: number;
188
+ /** Arrowhead wing spread relative to the arrowhead length (default: 0.67) */
189
+ hWidth?: number;
190
+ /**
191
+ * Blade height (its perpendicular reach into the inside of the V) relative
192
+ * to the bladed arm's own length (default: 0.03).
193
+ */
194
+ bladeHeight?: number;
195
+ }
196
+ declare const DEFAULT_FINAL_PROTECTIVE_FIRE_OPTIONS: Required<FinalProtectiveFireOptions>;
197
+ type FpfProps = {
198
+ part?: string;
199
+ fill?: true;
200
+ };
201
+ declare function createFinalProtectiveFireLeft(coordinates: Position[], options?: FinalProtectiveFireOptions): FeatureCollection<MultiLineString | Polygon, FpfProps>;
202
+ declare function createFinalProtectiveFireRight(coordinates: Position[], options?: FinalProtectiveFireOptions): FeatureCollection<MultiLineString | Polygon, FpfProps>;
203
+ //#endregion
204
+ //#region src/projection.d.ts
205
+ type Point2D = [number, number];
206
+ /**
207
+ * Project WGS84 (Lon/Lat) to Web Mercator (Meters).
208
+ */
209
+ declare const project: (lon: number, lat: number) => Point2D;
210
+ /**
211
+ * Unproject Web Mercator (Meters) back to WGS84 (Lon/Lat).
212
+ */
213
+ declare const unproject: (x: number, y: number) => Position;
214
+ //#endregion
215
+ //#region src/attack-utils.d.ts
216
+ interface AttackOptions {
217
+ shaftWidthRatio?: number;
218
+ roundedBends?: boolean;
219
+ bendSegments?: number;
220
+ }
221
+ /**
222
+ * Calculates the relative metrics (longitudinal and lateral) of the width point
223
+ * relative to the Tip-Neck axis.
224
+ *
225
+ * @param pts - Array of positions [Tip, Neck, ..., WidthPoint]
226
+ * @returns { longitudinal: number, lateral: number } | null
227
+ */
228
+ declare function calculateMetrics(pts: Position[]): {
229
+ longitudinal: number;
230
+ lateral: number;
231
+ } | null;
232
+ /**
233
+ * Computes an initial Width Point based on the Tip and Neck positions.
234
+ * It places the point perpendicular to the neck at a default distance relative to the length.
235
+ *
236
+ * @param tip - Tip position (Lon/Lat)
237
+ * @param neck - Neck position (Lon/Lat)
238
+ * @returns Width Point position (Lon/Lat)
239
+ */
240
+ declare function computeInitialWidthPoint(tip: Position, neck: Position): Position;
241
+ //#endregion
242
+ //#region src/generators/cm15-maneuver-areas/mainAttack.d.ts
243
+ declare const DEFAULT_MAIN_ATTACK_OPTIONS: Required<AttackOptions>;
244
+ type MainAttackOptions = AttackOptions;
245
+ /**
246
+ * Generates a GeoJSON FeatureCollection for a Main Attack tactical symbol.
247
+ *
248
+ * The symbol consists of a single MultiLineString feature containing:
249
+ * 1. **Arrowhead**: A line forming a "chevron" or "roof" shape.
250
+ * 2. **Shaft**: Two parallel lines behind the arrow.
251
+ *
252
+ * The shaft is calculated to terminate exactly where it touches the inner walls
253
+ * of the arrowhead, creating a seamless connection.
254
+ *
255
+ * @param coordinates - An array of GeoJSON Positions (Lon/Lat).
256
+ * Minimum 3 points required.
257
+ * **Order matters:** * - Index 0: **Tip** (The sharp point of the arrow)
258
+ * - Index 1 to N-2: **Spine** (The path the shaft follows)
259
+ * - Index N-1: **Width Control** (Determines the width of the arrowhead)
260
+ * @param options - Configuration for ratios and properties.
261
+ * @returns A GeoJSON FeatureCollection containing a single MultiLineString.
262
+ */
263
+ declare function createMainAttack(coordinates: Position[], options?: MainAttackOptions): FeatureCollection<MultiLineString>;
264
+ //#endregion
265
+ //#region src/generators/cm15-maneuver-areas/supportingAttack.d.ts
266
+ type SupportingAttackOptions = AttackOptions;
267
+ declare const DEFAULT_SUPPORTING_ATTACK_OPTIONS: Required<SupportingAttackOptions>;
268
+ /**
269
+ * Generates a GeoJSON FeatureCollection for a Supporting Attack tactical symbol.
270
+ *
271
+ * The symbol differs from Main Attack in that it is a single LineString
272
+ * outlining the arrow shape, rather than a filled Polygon header + Shaft lines.
273
+ *
274
+ * @param coordinates - An array of GeoJSON Positions.
275
+ * @param options - Configuration options.
276
+ * @returns A GeoJSON FeatureCollection<LineString>.
277
+ */
278
+ declare function createSupportingAttack(coordinates: Position[], options?: SupportingAttackOptions): FeatureCollection<LineString>;
279
+ //#endregion
280
+ //#region src/generators/cm15-maneuver-areas/airborneAttack.d.ts
281
+ type AirborneAttackOptions = AttackOptions;
282
+ declare const DEFAULT_AIRBORNE_ATTACK_OPTIONS: Required<AirborneAttackOptions>;
283
+ /**
284
+ * Generates a GeoJSON FeatureCollection for an Airborne Attack tactical symbol.
285
+ *
286
+ * The symbol is similar to Supporting Attack but features a crossover point
287
+ * between the shaft and the head (Points 1 and 2/Neck).
288
+ *
289
+ * @param coordinates - An array of GeoJSON Positions.
290
+ * @param options - Configuration options.
291
+ * @returns A GeoJSON FeatureCollection<LineString>.
292
+ */
293
+ declare function createAirborneAttack(coordinates: Position[], options?: AirborneAttackOptions): FeatureCollection<LineString>;
294
+ //#endregion
295
+ //#region src/generators/cm15-maneuver-areas/attackHelicopter.d.ts
296
+ interface AttackHelicopterOptions extends AttackOptions {
297
+ symbolHeightRatio?: number;
298
+ triangleSizeRatio?: number;
299
+ bottomBarWidthRatio?: number;
300
+ bowtieWidthRatio?: number;
301
+ }
302
+ declare const DEFAULT_ATTACK_HELICOPTER_OPTIONS: Required<AttackHelicopterOptions>;
303
+ /**
304
+ * Generates a GeoJSON FeatureCollection for an Attack Helicopter tactical symbol.
305
+ *
306
+ * The symbol is based on the Airborne Attack (bow tie) geometry but features
307
+ * an additional symbol (vertical line + triangle) at the crossover point.
308
+ *
309
+ * @param coordinates - An array of GeoJSON Positions.
310
+ * @param options - Configuration options.
311
+ * @returns A GeoJSON FeatureCollection containing the main graphic and the symbol.
312
+ */
313
+ declare function createAttackHelicopter(coordinates: Position[], options?: AttackHelicopterOptions): FeatureCollection<LineString | Polygon>;
314
+ //#endregion
315
+ //#region src/generators/cm15-maneuver-areas/supportByFire.d.ts
316
+ interface SupportByFireOptions {
317
+ arrowTipWidthRatio?: number;
318
+ backLineLengthRatio?: number;
319
+ backLineAngle?: number;
320
+ }
321
+ declare const DEFAULT_SUPPORT_BY_FIRE_OPTIONS: Required<SupportByFireOptions>;
322
+ /**
323
+ * Generates a GeoJSON FeatureCollection for a Support By Fire tactical graphic.
324
+ *
325
+ * Input:
326
+ * - PT1: Left Base
327
+ * - PT2: Right Base
328
+ * - PT3: Left Tip
329
+ * - PT4: Right Tip
330
+ */
331
+ declare function createSupportByFire(coordinates: Position[], options?: SupportByFireOptions): FeatureCollection<LineString>;
332
+ //#endregion
333
+ //#region src/generators/cm15-maneuver-areas/attackByFire.d.ts
334
+ interface AttackByFireOptions {
335
+ arrowTipWidthRatio?: number;
336
+ backLineLengthRatio?: number;
337
+ backLineAngle?: number;
338
+ }
339
+ declare const DEFAULT_ATTACK_BY_FIRE_OPTIONS: Required<AttackByFireOptions>;
340
+ /**
341
+ * Generates a GeoJSON FeatureCollection for an Attack By Fire tactical graphic.
342
+ *
343
+ * Input:
344
+ * - PT1: Arrow Tip (Target)
345
+ * - PT2: Left Base
346
+ * - PT3: Right Base
347
+ *
348
+ * Logic:
349
+ * - Shaft: Midpoint(PT2, PT3) -> PT1
350
+ * - Base Line: PT2 -> PT3
351
+ * - Wings: Splayed out from PT2 and PT3
352
+ */
353
+ declare function createAttackByFire(coordinates: Position[], options?: AttackByFireOptions): FeatureCollection<LineString>;
354
+ //#endregion
355
+ //#region src/generators/cm14-maneuver-lines/flot.d.ts
356
+ /**
357
+ * Configuration options for the FLOT (Forward Line of Own Troops) geometry.
358
+ */
359
+ interface FLOTOptions {
360
+ /**
361
+ * The radius of the semicircular arcs in meters.
362
+ * Semicircles are placed tangent to each other (diameter = 2 * radius).
363
+ * This is ignored if radiusPixels is provided along with metersPerPixel.
364
+ * @default 50
365
+ */
366
+ radius?: number;
367
+ /**
368
+ * The radius of the semi-circular arcs in pixels.
369
+ * When provided along with metersPerPixel, the actual meter radius is calculated
370
+ * dynamically to maintain consistent visual size on screen.
371
+ * Takes precedence over radius when metersPerPixel is also provided.
372
+ * @default 10
373
+ */
374
+ radiusPixels?: number;
375
+ /**
376
+ * The meters-per-pixel ratio at the current zoom level and latitude.
377
+ * Required when using radiusPixels for zoom-aware sizing.
378
+ * Can be obtained from the map view's resolution or calculated using getMetersPerPixel().
379
+ */
380
+ metersPerPixel?: number;
381
+ /**
382
+ * The number of points used to render each individual semi-circle.
383
+ * Higher values create smoother arcs.
384
+ * @default 16
385
+ */
386
+ resolution?: number;
387
+ }
388
+ /**
389
+ * Default options for the FLOT graphic.
390
+ */
391
+ declare const DEFAULT_FLOT_OPTIONS: Required<Omit<FLOTOptions, "metersPerPixel">>;
392
+ /**
393
+ * Creates a FLOT (Forward Line of Own Troops) tactical graphic.
394
+ *
395
+ * Generates a scalloped/arc line representing the forward edge of friendly forces.
396
+ * The line consists of semi-circular arcs that bulge perpendicular to the base path,
397
+ * creating a distinctive visual pattern used in military tactical graphics.
398
+ *
399
+ * @param positions - Array of GeoJSON positions defining the base path
400
+ * @param options - Configuration options for the graphic
401
+ * @returns A GeoJSON FeatureCollection containing the scalloped LineString
402
+ *
403
+ * @example
404
+ * ```typescript
405
+ * const flot = createFLOT(
406
+ * [[-122.4194, 37.7749], [-122.4100, 37.7800], [-122.4000, 37.7750]],
407
+ * { radius: 100, resolution: 20 }
408
+ * );
409
+ * ```
410
+ */
411
+ declare function createFLOT(positions: Position[], options?: FLOTOptions): FeatureCollection<LineString>;
412
+ //#endregion
413
+ //#region src/generators/cm34-mission-tasks/block.d.ts
414
+ interface BlockMissionTaskOptions {
415
+ /** Gap for the 'B' label as a ratio of the front length (default: 0.2) */
416
+ labelGapRatio?: number;
417
+ /** Label height in CSS pixels at the draw/reference zoom. */
418
+ labelSizePixels?: number;
419
+ /** Map zoom at which labelSizePixels was captured. */
420
+ labelSizeZoom?: number;
421
+ /** Map resolution at which labelSizePixels was captured. */
422
+ labelSizeResolution?: number;
423
+ }
424
+ declare const DEFAULT_BLOCK_MISSION_TASK_OPTIONS: Required<Omit<BlockMissionTaskOptions, "labelSizePixels" | "labelSizeZoom" | "labelSizeResolution">>;
425
+ /**
426
+ * Generates a GeoJSON FeatureCollection for a BLOCK mission task symbol (340100).
427
+ *
428
+ * Uses the same T-shape geometry as the protection-area Block symbol, with a
429
+ * "B" label centered on the shaft.
430
+ *
431
+ * @param coordinates - [PT. 1, PT. 2, optional PT. 3] as Position arrays
432
+ * @param options - Configuration options
433
+ * @returns GeoJSON FeatureCollection containing MultiLineString and Point features
434
+ */
435
+ declare function createBlockMissionTaskSymbol(coordinates: Position[], options?: BlockMissionTaskOptions): FeatureCollection<MultiLineString | Point>;
436
+ //#endregion
437
+ //#region src/generators/cm34-mission-tasks/breach.d.ts
438
+ /**
439
+ * Configuration options for the BREACH tactical symbol.
440
+ */
441
+ interface BreachOptions {
442
+ /** Tick mark length ratio relative to front opening (default: 0.15) */
443
+ tickLengthRatio?: number;
444
+ /** Tick mark angle in degrees from perpendicular (default: 45) */
445
+ tickAngle?: number;
446
+ /** Gap for the 'B' label as a ratio of the front length (default: 0.2) */
447
+ labelGapRatio?: number;
448
+ /** Label height in CSS pixels at the draw/reference zoom. */
449
+ labelSizePixels?: number;
450
+ /** Map zoom at which labelSizePixels was captured. */
451
+ labelSizeZoom?: number;
452
+ /** Map resolution at which labelSizePixels was captured. */
453
+ labelSizeResolution?: number;
454
+ }
455
+ /**
456
+ * Default options for the BREACH symbol.
457
+ */
458
+ declare const DEFAULT_BREACH_OPTIONS: Required<Omit<BreachOptions, "labelSizePixels" | "labelSizeZoom" | "labelSizeResolution">>;
459
+ /**
460
+ * Generates a GeoJSON FeatureCollection for a BREACH mission task symbol (340200).
461
+ *
462
+ * A three-sided bracket (see {@link createBracketSymbol}) whose front opening
463
+ * endpoints terminate in tick marks pointing **outward** (away from the rear
464
+ * "B" line).
465
+ *
466
+ * @param coordinates - [PT. 1, PT. 2, PT. 3] as Position arrays
467
+ * @param options - Configuration options
468
+ * @returns GeoJSON FeatureCollection containing MultiLineString and Point features
469
+ */
470
+ declare function createBreachSymbol(coordinates: Position[], options?: BreachOptions): FeatureCollection<MultiLineString | Point>;
471
+ //#endregion
472
+ //#region src/generators/cm34-mission-tasks/bypass.d.ts
473
+ /**
474
+ * Configuration options for the BYPASS tactical symbol.
475
+ */
476
+ interface BypassOptions {
477
+ /** Arrowhead length ratio relative to front opening (default: 0.2) */
478
+ arrowHeadLengthRatio?: number;
479
+ /** Gap for the 'B' label as a ratio of the front length (default: 0.2) */
480
+ labelGapRatio?: number;
481
+ /** Label height in CSS pixels at the draw/reference zoom. */
482
+ labelSizePixels?: number;
483
+ /** Map zoom at which labelSizePixels was captured. */
484
+ labelSizeZoom?: number;
485
+ /** Map resolution at which labelSizePixels was captured. */
486
+ labelSizeResolution?: number;
487
+ }
488
+ /**
489
+ * Default options for the BYPASS symbol.
490
+ */
491
+ declare const DEFAULT_BYPASS_OPTIONS: Required<Omit<BypassOptions, "labelSizePixels" | "labelSizeZoom" | "labelSizeResolution">>;
492
+ /**
493
+ * Generates a GeoJSON FeatureCollection for a BYPASS mission task symbol (340300).
494
+ *
495
+ * A three-sided bracket (see {@link createBracketSymbol}) with a "B" label on
496
+ * the rear line, whose front opening endpoints terminate in outward-flaring
497
+ * chevron arrowheads instead of tick marks.
498
+ *
499
+ * @param coordinates - [PT. 1, PT. 2, PT. 3] as Position arrays
500
+ * @param options - Configuration options
501
+ * @returns GeoJSON FeatureCollection containing MultiLineString and Point features
502
+ */
503
+ declare function createBypassSymbol(coordinates: Position[], options?: BypassOptions): FeatureCollection<MultiLineString | Point>;
504
+ //#endregion
505
+ //#region src/generators/cm34-mission-tasks/canalize.d.ts
506
+ /**
507
+ * Configuration options for the CANALIZE tactical symbol.
508
+ */
509
+ interface CanalizeOptions {
510
+ /** Tick mark length ratio relative to front opening (default: 0.15) */
511
+ tickLengthRatio?: number;
512
+ /** Tick mark angle in degrees from perpendicular (default: 45) */
513
+ tickAngle?: number;
514
+ /** Gap for the 'C' label as a ratio of the front length (default: 0.2) */
515
+ labelGapRatio?: number;
516
+ /** Label height in CSS pixels at the draw/reference zoom. */
517
+ labelSizePixels?: number;
518
+ /** Map zoom at which labelSizePixels was captured. */
519
+ labelSizeZoom?: number;
520
+ /** Map resolution at which labelSizePixels was captured. */
521
+ labelSizeResolution?: number;
522
+ }
523
+ /**
524
+ * Default options for the CANALIZE symbol.
525
+ */
526
+ declare const DEFAULT_CANALIZE_OPTIONS: Required<Omit<CanalizeOptions, "labelSizePixels" | "labelSizeZoom" | "labelSizeResolution">>;
527
+ /**
528
+ * Generates a GeoJSON FeatureCollection for a CANALIZE mission task symbol (340400).
529
+ *
530
+ * A three-sided bracket (see {@link createBracketSymbol}) whose front opening
531
+ * endpoints terminate in tick marks pointing **inward** (toward the rear "C"
532
+ * line), opposite BREACH's outward-facing ticks.
533
+ *
534
+ * @param coordinates - [PT. 1, PT. 2, PT. 3] as Position arrays
535
+ * @param options - Configuration options
536
+ * @returns GeoJSON FeatureCollection containing MultiLineString and Point features
537
+ */
538
+ declare function createCanalizeSymbol(coordinates: Position[], options?: CanalizeOptions): FeatureCollection<MultiLineString | Point>;
539
+ //#endregion
540
+ //#region src/generators/cm34-mission-tasks/clear.d.ts
541
+ /**
542
+ * Configuration options for the CLEAR tactical mission task symbol.
543
+ */
544
+ interface ClearOptions {
545
+ /**
546
+ * Padding between the vertical line's endpoints and the outer arrows, as a
547
+ * ratio of the symbol height. Insets the top and bottom arrows so they sit
548
+ * clear of PT. 1 / PT. 2 (default: 0.15).
549
+ */
550
+ arrowInsetRatio?: number;
551
+ /** Arrowhead depth (toward the rear) as a ratio of the symbol height (default: 0.15). */
552
+ arrowheadLengthRatio?: number;
553
+ /** Arrowhead width (along the vertical line) as a ratio of the symbol height (default: 0.2). */
554
+ arrowheadWidthRatio?: number;
555
+ /** Gap for the 'C' label as a ratio of the shaft length (default: 0.2). */
556
+ labelGapRatio?: number;
557
+ /** Label height in CSS pixels at the draw/reference zoom. */
558
+ labelSizePixels?: number;
559
+ /** Map zoom at which labelSizePixels was captured. */
560
+ labelSizeZoom?: number;
561
+ /** Map resolution at which labelSizePixels was captured. */
562
+ labelSizeResolution?: number;
563
+ }
564
+ /**
565
+ * Default options for the CLEAR symbol.
566
+ */
567
+ declare const DEFAULT_CLEAR_OPTIONS: Required<Omit<ClearOptions, "labelSizePixels" | "labelSizeZoom" | "labelSizeResolution">>;
568
+ /**
569
+ * Generates a GeoJSON FeatureCollection for a CLEAR mission task symbol (340500).
570
+ *
571
+ * A vertical line (PT. 1 → PT. 2) with three arrows pointing at it,
572
+ * perpendicular to the line. The arrows come from the rear — the side PT. 3
573
+ * sits on — and their tips touch the vertical line; each carries a shaft
574
+ * reaching back to the rear. The arrows are evenly spaced along the line, so
575
+ * the middle arrow's tip sits at the midpoint of the vertical line and its
576
+ * shaft carries the 'C' glyph. The arrows stay perpendicular to the vertical
577
+ * line at any rotation.
578
+ *
579
+ * Input Points:
580
+ * - PT. 1: Top endpoint of the vertical line
581
+ * - PT. 2: Bottom endpoint of the vertical line — defines height with PT. 1
582
+ * - PT. 3: Rear point — defines the shaft length (and which side the arrows
583
+ * come from)
584
+ *
585
+ * @param coordinates - [PT. 1, PT. 2, PT. 3] as Position arrays
586
+ * @param options - Configuration options
587
+ * @returns GeoJSON FeatureCollection containing MultiLineString and Point features
588
+ */
589
+ declare function createClearSymbol(coordinates: Position[], options?: ClearOptions): FeatureCollection<MultiLineString | Point>;
590
+ //#endregion
591
+ //#region src/generators/cm34-mission-tasks/delay.d.ts
592
+ interface DelayOptions {
593
+ /** Arrowhead depth as a ratio of the straight-line length (default: 0.12). */
594
+ arrowheadLengthRatio?: number;
595
+ /** Arrowhead width as a ratio of the straight-line length (default: 0.12). */
596
+ arrowheadWidthRatio?: number;
597
+ /** Gap for the 'D' label as a ratio of the straight-line length (default: 0.18). */
598
+ labelGapRatio?: number;
599
+ /** Number of segments used to approximate the 180-degree arc (default: 32). */
600
+ arcSegments?: number;
601
+ /** Label height in CSS pixels at the draw/reference zoom. */
602
+ labelSizePixels?: number;
603
+ /** Map zoom at which labelSizePixels was captured. */
604
+ labelSizeZoom?: number;
605
+ /** Map resolution at which labelSizePixels was captured. */
606
+ labelSizeResolution?: number;
607
+ }
608
+ declare const DEFAULT_DELAY_OPTIONS: Required<Omit<DelayOptions, "labelSizePixels" | "labelSizeZoom" | "labelSizeResolution">>;
609
+ declare function createDelaySymbol(coordinates: Position[], options?: DelayOptions): FeatureCollection<MultiLineString | Point>;
610
+ //#endregion
611
+ //#region src/generators/cm34-mission-tasks/isolate.d.ts
612
+ /**
613
+ * Configuration options for the ISOLATE tactical mission task symbol.
614
+ */
615
+ interface IsolateOptions {
616
+ /** Angular size of the opening on the friendly side, in degrees (default: 30). */
617
+ openingDegrees?: number;
618
+ /** Number of inward-pointing arrowhead barbs spaced around the closed arc (default: 9). */
619
+ barbCount?: number;
620
+ /** Barb length as a ratio of the symbol radius (default: 0.18). */
621
+ barbLengthRatio?: number;
622
+ }
623
+ /**
624
+ * Generates a GeoJSON FeatureCollection for an ISOLATE mission task symbol (341500).
625
+ *
626
+ * A near-complete circle centered on PT. 1 whose radius reaches PT. 2. The arc
627
+ * starts (bare) at PT. 2's bearing and sweeps clockwise around the closed
628
+ * portion to a single arrow tip at the far end; the wedge-shaped gap (default
629
+ * 30°) between that arrow tip and PT. 2 is the opening — the "friendly side".
630
+ * Inward-pointing arrowhead barbs are spaced along the closed arc, set in from
631
+ * both ends so they never touch PT. 2 or the arrow tip, conveying the
632
+ * sealing-off of the enclosed force. Unlike the bracket mission tasks, isolate
633
+ * carries no glyph label.
634
+ *
635
+ * Input Points:
636
+ * - PT. 1: Center point
637
+ * - PT. 2: Start point — fixes the radius and the bearing of the opening
638
+ *
639
+ * @param coordinates - [PT. 1, PT. 2] as Position arrays
640
+ * @param options - Configuration options
641
+ * @returns GeoJSON FeatureCollection containing a single MultiLineString feature
642
+ */
643
+ declare function createIsolateSymbol(coordinates: Position[], options?: IsolateOptions): FeatureCollection<MultiLineString>;
644
+ //#endregion
645
+ //#region src/generators/cm29-protection-lines/antitankDitch.d.ts
646
+ interface AntitankDitchOptions {
647
+ /**
648
+ * The tooth depth in meters. Target tooth spacing is roughly 1.15x this depth.
649
+ * Ignored when toothHeightPixels is provided with metersPerPixel.
650
+ * @default 50
651
+ */
652
+ toothHeight?: number;
653
+ /**
654
+ * The tooth depth in pixels. When provided with metersPerPixel, the meter
655
+ * size is calculated dynamically to maintain a consistent visual size.
656
+ * @default 10
657
+ */
658
+ toothHeightPixels?: number;
659
+ /**
660
+ * The target base span of each triangular tooth as a multiple of tooth depth.
661
+ * Lower values make sharper, denser teeth; higher values make flatter teeth.
662
+ * @default 1.15
663
+ */
664
+ toothWidthRatio?: number;
665
+ /**
666
+ * The meters-per-pixel ratio at the current zoom level and latitude. Required
667
+ * when using toothHeightPixels for zoom-aware sizing.
668
+ */
669
+ metersPerPixel?: number;
670
+ }
671
+ declare const DEFAULT_ANTITANK_DITCH_OPTIONS: Required<Omit<AntitankDitchOptions, "metersPerPixel">>;
672
+ declare function createAntitankDitchUnderConstruction(positions: Position[], options?: AntitankDitchOptions): FeatureCollection<MultiLineString, {
673
+ part: "ditch";
674
+ }>;
675
+ declare function createAntitankDitchCompleted(positions: Position[], options?: AntitankDitchOptions): FeatureCollection<MultiPolygon, {
676
+ part: "teeth";
677
+ fill: boolean;
678
+ }>;
679
+ //#endregion
680
+ //#region src/generators/cm29-protection-lines/antitankWall.d.ts
681
+ interface AntitankWallOptions extends AntitankDitchOptions {
682
+ /**
683
+ * The total gap between consecutive tooth bases as a multiple of tooth base
684
+ * width. Use 0 for touching teeth; higher values create wider gaps.
685
+ * @default 1.35
686
+ */
687
+ toothSpacingRatio?: number;
688
+ }
689
+ declare const DEFAULT_ANTITANK_WALL_OPTIONS: Required<Omit<AntitankWallOptions, "metersPerPixel">>;
690
+ declare function createAntitankWall(positions: Position[], options?: AntitankWallOptions): FeatureCollection<MultiLineString, {
691
+ part: "wall";
692
+ }>;
693
+ //#endregion
694
+ //#region src/generators/cm29-protection-lines/fortifiedLine.d.ts
695
+ /**
696
+ * Configuration options for the Fortified Line geometry.
697
+ */
698
+ interface FortifiedLineOptions {
699
+ /**
700
+ * The size of the square teeth in meters.
701
+ * This controls both the width and height of the castellated pattern.
702
+ * This is ignored if sizePixels is provided along with metersPerPixel.
703
+ * @default 50
704
+ */
705
+ size?: number;
706
+ /**
707
+ * The size of the square teeth in pixels.
708
+ * When provided along with metersPerPixel, the actual meter size is calculated
709
+ * dynamically to maintain consistent visual size on screen.
710
+ * Takes precedence over size when metersPerPixel is also provided.
711
+ * @default 10
712
+ */
713
+ sizePixels?: number;
714
+ /**
715
+ * The meters-per-pixel ratio at the current zoom level and latitude.
716
+ * Required when using sizePixels for zoom-aware sizing.
717
+ */
718
+ metersPerPixel?: number;
719
+ }
720
+ /**
721
+ * Default options for the Fortified Line graphic.
722
+ */
723
+ declare const DEFAULT_FORTIFIED_LINE_OPTIONS: Required<Omit<FortifiedLineOptions, "metersPerPixel">>;
724
+ /**
725
+ * Creates a Fortified Line tactical graphic.
726
+ *
727
+ * Generates a castellated/square-wave line representing a fortified line.
728
+ * The line consists of square "teeth" that project perpendicular to the base path.
729
+ *
730
+ * @param positions - Array of GeoJSON positions defining the base path
731
+ * @param options - Configuration options for the graphic
732
+ * @returns A GeoJSON FeatureCollection containing the castellated LineString
733
+ */
734
+ declare function createFortifiedLine(positions: Position[], options?: FortifiedLineOptions): FeatureCollection<LineString>;
735
+ //#endregion
736
+ //#region src/generators/cm15-maneuver-areas/fortifiedArea.d.ts
737
+ /**
738
+ * Configuration options for the Fortified Area are the same as Fortified Line.
739
+ */
740
+ type FortifiedAreaOptions = FortifiedLineOptions;
741
+ declare const DEFAULT_FORTIFIED_AREA_OPTIONS: Required<Omit<FortifiedLineOptions, "metersPerPixel">>;
742
+ /**
743
+ * Creates a Fortified Area tactical graphic.
744
+ *
745
+ * Generates a polygon with a castellated/square-wave boundary representing a fortified area.
746
+ * The boundary consists of square "teeth" that project perpendicular to the path.
747
+ *
748
+ * @param positions - Array of GeoJSON positions defining the area boundary.
749
+ * The first and last positions should match to close the polygon,
750
+ * or it will be closed automatically.
751
+ * @param options - Configuration options for the graphic
752
+ * @returns A GeoJSON FeatureCollection containing the castellated Polygon
753
+ */
754
+ declare function createFortifiedArea(positions: Position[], options?: FortifiedAreaOptions): FeatureCollection<Polygon>;
755
+ //#endregion
756
+ //#region src/generators/cm27-protection-areas/block.d.ts
757
+ type BlockOptions = Record<never, never>;
758
+ declare const DEFAULT_BLOCK_OPTIONS: BlockOptions;
759
+ /**
760
+ * Generates a GeoJSON FeatureCollection for a "Block" tactical symbol (T-shape).
761
+ *
762
+ * @param coordinates - An array of GeoJSON Positions (Lon/Lat).
763
+ * Expects exactly 3 points:
764
+ * - PT1 & PT2: Endpoints of the vertical line.
765
+ * - PT3: Defines the endpoint of the horizontal line (stem).
766
+ * @param options - Configuration options.
767
+ * @returns A GeoJSON FeatureCollection containing a LineString.
768
+ */
769
+ declare function createBlock(coordinates: Position[], _options?: BlockOptions): FeatureCollection<LineString>;
770
+ //#endregion
771
+ //#region src/generators/cm27-protection-areas/disrupt.d.ts
772
+ interface DisruptOptions {
773
+ middleArrowLengthRatio?: number;
774
+ bottomArrowLengthRatio?: number;
775
+ shaftLengthRatio?: number;
776
+ arrowHeadLengthRatio?: number;
777
+ arrowHeadWidthRatio?: number;
778
+ }
779
+ declare const DEFAULT_DISRUPT_OPTIONS: Required<DisruptOptions>;
780
+ /**
781
+ * Generates a GeoJSON FeatureCollection for a DISRUPT tactical symbol.
782
+ *
783
+ * Input:
784
+ * - PT1: Top endpoint of the vertical spine
785
+ * - PT2: Bottom endpoint of the vertical spine
786
+ * - PT3: Reference point used to determine the longest-arrow offset
787
+ *
788
+ * Geometry:
789
+ * - Spine: PT1 -> PT2
790
+ * - PT2 -> PT1 defines the baseline orientation; arrow direction is constrained to its perpendicular axis
791
+ * - PT3 is decomposed and projected onto the perpendicular axis through PT1 to derive a valid longest-arrow tip
792
+ * - Three arrows placed at PT1, midpoint(PT1, PT2), and PT2
793
+ * - Center shaft extends opposite arrow direction from midpoint with the same length as the middle arrow
794
+ * - Top arrow is longest
795
+ * - Middle and bottom arrows are proportional to the longest arrow
796
+ * - Arrow heads are returned as filled triangle polygons
797
+ */
798
+ declare function createDisrupt(coordinates: Position[], options?: DisruptOptions): FeatureCollection<MultiLineString | MultiPolygon>;
799
+ //#endregion
800
+ //#region src/generators/cm27-protection-areas/fix.d.ts
801
+ interface FixOptions {
802
+ arrowHeadAngle?: number;
803
+ arrowHeadSizeRatio?: number;
804
+ endSegmentRatio?: number;
805
+ }
806
+ declare const DEFAULT_FIX_OPTIONS: Required<FixOptions>;
807
+ /**
808
+ * Generates a GeoJSON FeatureCollection for a FIX tactical symbol.
809
+ *
810
+ * Input:
811
+ * - PT1: Arrow tip end
812
+ * - PT2: Opposite end
813
+ *
814
+ * Notes:
815
+ * - Requires exactly two points.
816
+ * - Produces one MultiLineString feature containing the zigzag body and open arrowhead wings.
817
+ */
818
+ declare function createFix(coordinates: Position[], options?: FixOptions): FeatureCollection<MultiLineString>;
819
+ //#endregion
820
+ //#region src/generators/cm27-protection-areas/turn.d.ts
821
+ interface TurnOptions {
822
+ arrowHeadLengthRatio?: number;
823
+ arrowHeadWidthRatio?: number;
824
+ arcSegments?: number;
825
+ }
826
+ declare const DEFAULT_TURN_OPTIONS: Required<TurnOptions>;
827
+ /**
828
+ * Generates a quarter-circle shaft from PT2 (rear) to the arrowhead base.
829
+ * The arrowhead continues tangent to the arc and places its tip at PT1.
830
+ * PT3 selects which side of the PT2 -> PT1 chord contains the arc.
831
+ */
832
+ declare function createTurn(coordinates: Position[], options?: TurnOptions): FeatureCollection<MultiLineString | MultiPolygon>;
833
+ //#endregion
834
+ //#region src/generators/cm27-protection-areas/obstacleBypassEasy.d.ts
835
+ interface ObstacleBypassEasyOptions {
836
+ arrowHeadLengthRatio?: number;
837
+ arrowHeadWidthRatio?: number;
838
+ defaultLengthRatio?: number;
839
+ }
840
+ declare const DEFAULT_OBSTACLE_BYPASS_EASY_OPTIONS: Required<ObstacleBypassEasyOptions>;
841
+ /**
842
+ * Generates a GeoJSON FeatureCollection for an "Obstacle Bypass Easy" symbol.
843
+ *
844
+ * Input:
845
+ * - PT1 and PT2 define the tips of the two arrowheads (opening and symbol height)
846
+ * - PT3 defines signed symbol length along the perpendicular axis through midpoint(PT1, PT2)
847
+ *
848
+ * Geometry:
849
+ * - Rear line is parallel to opening(PT1-PT2) and has equal length
850
+ * - Two side rails run from rear endpoints to the arrowheads and are parallel to each other
851
+ * - Rear line is perpendicular to both side rails
852
+ * - Arrow heads are filled triangle polygons at PT1 and PT2
853
+ */
854
+ declare function createObstacleBypassEasy(coordinates: Position[], options?: ObstacleBypassEasyOptions): FeatureCollection<MultiLineString | MultiPolygon>;
855
+ //#endregion
856
+ //#region src/generators/cm27-protection-areas/obstacleBypassDifficult.d.ts
857
+ interface ObstacleBypassDifficultOptions {
858
+ arrowHeadLengthRatio?: number;
859
+ arrowHeadWidthRatio?: number;
860
+ defaultLengthRatio?: number;
861
+ zigzagAmplitudeRatio?: number;
862
+ zigzagSpacingRatio?: number;
863
+ }
864
+ declare const DEFAULT_OBSTACLE_BYPASS_DIFFICULT_OPTIONS: Required<ObstacleBypassDifficultOptions>;
865
+ declare function createObstacleBypassDifficult(coordinates: Position[], options?: ObstacleBypassDifficultOptions): FeatureCollection<MultiLineString | MultiPolygon>;
866
+ //#endregion
867
+ //#region src/generators/cm27-protection-areas/obstacleBypassImpossible.d.ts
868
+ interface ObstacleBypassImpossibleOptions {
869
+ arrowHeadLengthRatio?: number;
870
+ arrowHeadWidthRatio?: number;
871
+ defaultLengthRatio?: number;
872
+ rearBarLengthRatio?: number;
873
+ rearGapRatio?: number;
874
+ }
875
+ declare const DEFAULT_OBSTACLE_BYPASS_IMPOSSIBLE_OPTIONS: Required<ObstacleBypassImpossibleOptions>;
876
+ /**
877
+ * Generates a GeoJSON FeatureCollection for an "Obstacle Bypass Impossible" symbol.
878
+ *
879
+ * Input:
880
+ * - PT1 and PT2 define the tips of the two arrowheads (opening and symbol height)
881
+ * - PT3 defines signed symbol length along the perpendicular axis through midpoint(PT1, PT2)
882
+ *
883
+ * Geometry:
884
+ * - Same base as obstacle bypass easy
885
+ * - Rear line has two short perpendicular bars on the rear side
886
+ */
887
+ declare function createObstacleBypassImpossible(coordinates: Position[], options?: ObstacleBypassImpossibleOptions): FeatureCollection<MultiLineString | MultiPolygon>;
888
+ //#endregion
889
+ //#region src/registry.d.ts
890
+ /**
891
+ * The single source of truth for the catalog: one **control measure
892
+ * definition** record per measure, co-located with its generator and collected
893
+ * here. The `ControlMeasureId` union, `OptionsByKind`, the generator dispatch,
894
+ * the default options, and rule resolution are all *derived* from this map
895
+ * rather than maintained as parallel tables. Adding a measure is a one-file
896
+ * change plus one line here. See ADR-0013.
897
+ */
898
+ declare const DEFINITIONS: {
899
+ ambush: ControlMeasureDefinition<"ambush", (controlPoints: import("geojson").Position[], options?: AmbushOptions) => import("geojson").FeatureCollection<import("geojson").MultiLineString, Record<string, never>>>;
900
+ "principal-direction-of-fire": ControlMeasureDefinition<"principal-direction-of-fire", typeof createPrincipalDirectionOfFire>;
901
+ "final-protective-fire-left": ControlMeasureDefinition<"final-protective-fire-left", typeof createFinalProtectiveFireLeft>;
902
+ "final-protective-fire-right": ControlMeasureDefinition<"final-protective-fire-right", typeof createFinalProtectiveFireRight>;
903
+ "search-area": ControlMeasureDefinition<"search-area", (controlPoints: import("geojson").Position[], options?: TacticalArrowOptions) => import("geojson").FeatureCollection<import("geojson").MultiLineString | import("geojson").MultiPolygon, {
904
+ part: "shaft" | "head";
905
+ fill?: boolean;
906
+ }>>;
907
+ "main-attack": ControlMeasureDefinition<"main-attack", typeof createMainAttack>;
908
+ "supporting-attack": ControlMeasureDefinition<"supporting-attack", typeof createSupportingAttack>;
909
+ "airborne-attack": ControlMeasureDefinition<"airborne-attack", typeof createAirborneAttack>;
910
+ "attack-helicopter": ControlMeasureDefinition<"attack-helicopter", typeof createAttackHelicopter>;
911
+ "support-by-fire": ControlMeasureDefinition<"support-by-fire", typeof createSupportByFire>;
912
+ "attack-by-fire": ControlMeasureDefinition<"attack-by-fire", typeof createAttackByFire>;
913
+ flot: ControlMeasureDefinition<"flot", typeof createFLOT>;
914
+ "block-mission-task": ControlMeasureDefinition<"block-mission-task", typeof createBlockMissionTaskSymbol>;
915
+ breach: ControlMeasureDefinition<"breach", typeof createBreachSymbol>;
916
+ bypass: ControlMeasureDefinition<"bypass", typeof createBypassSymbol>;
917
+ canalize: ControlMeasureDefinition<"canalize", typeof createCanalizeSymbol>;
918
+ clear: ControlMeasureDefinition<"clear", typeof createClearSymbol>;
919
+ delay: ControlMeasureDefinition<"delay", typeof createDelaySymbol>;
920
+ isolate: ControlMeasureDefinition<"isolate", typeof createIsolateSymbol>;
921
+ "antitank-ditch-under-construction": ControlMeasureDefinition<"antitank-ditch-under-construction", typeof createAntitankDitchUnderConstruction>;
922
+ "antitank-ditch-completed": ControlMeasureDefinition<"antitank-ditch-completed", typeof createAntitankDitchCompleted>;
923
+ "antitank-wall": ControlMeasureDefinition<"antitank-wall", typeof createAntitankWall>;
924
+ "fortified-line": ControlMeasureDefinition<"fortified-line", typeof createFortifiedLine>;
925
+ "fortified-area": ControlMeasureDefinition<"fortified-area", typeof createFortifiedArea>;
926
+ block: ControlMeasureDefinition<"block", typeof createBlock>;
927
+ disrupt: ControlMeasureDefinition<"disrupt", typeof createDisrupt>;
928
+ fix: ControlMeasureDefinition<"fix", typeof createFix>;
929
+ turn: ControlMeasureDefinition<"turn", typeof createTurn>;
930
+ "obstacle-bypass-easy": ControlMeasureDefinition<"obstacle-bypass-easy", typeof createObstacleBypassEasy>;
931
+ "obstacle-bypass-difficult": ControlMeasureDefinition<"obstacle-bypass-difficult", typeof createObstacleBypassDifficult>;
932
+ "obstacle-bypass-impossible": ControlMeasureDefinition<"obstacle-bypass-impossible", typeof createObstacleBypassImpossible>;
933
+ };
934
+ type Definitions = typeof DEFINITIONS;
935
+ /** Stable string id of a control measure — the keys of {@link DEFINITIONS}. */
936
+ type ControlMeasureId = keyof Definitions;
937
+ /**
938
+ * The discriminant for {@link ControlMeasure}. Identical to
939
+ * {@link ControlMeasureId}; kept as a distinct name for the `<K extends
940
+ * ControlMeasureKind>` generics threaded through rendering and edit sessions.
941
+ */
942
+ type ControlMeasureKind = ControlMeasureId;
943
+ /** Strips the internal `validationMode` knob from a public options surface. */
944
+ type PublicOptions<T> = Omit<T, "validationMode">;
945
+ /**
946
+ * The per-kind public options map, derived covariantly from each definition's
947
+ * generator (see {@link OptsOf}). Empty-options kinds resolve to `{}` — exactly
948
+ * as loose as the former hand-written table. See ADR-0013.
949
+ */
950
+ type OptionsByKind = { [K in keyof Definitions]: PublicOptions<OptsOf<Definitions[K]>> };
951
+ /** Insertion-ordered list of every control-measure id. */
952
+ declare const CONTROL_MEASURE_IDS: readonly ControlMeasureId[];
953
+ declare const CONTROL_MEASURE_METADATA: Readonly<Record<ControlMeasureId, ControlMeasureMetadata>>;
954
+ declare function listControlMeasureMetadata(): readonly ControlMeasureMetadata[];
955
+ declare function getControlMeasureMetadata(id: ControlMeasureId): ControlMeasureMetadata;
956
+ declare function getControlMeasureMetadataByValue(value: string): ControlMeasureMetadata | undefined;
957
+ declare function getDefaultOptions<K extends ControlMeasureKind>(kind: K): OptionsByKind[K];
958
+ //#endregion
959
+ //#region src/style.d.ts
960
+ /**
961
+ * Framework-agnostic style hints attached to a `ControlMeasure`.
962
+ *
963
+ * Mirrors the per-feature subset of what map adapters render. The renderer
964
+ * fans these into each emitted feature's `properties.style` ([[StyleHints]]).
965
+ * Adapters merge them over their layer-level style; generator-emitted hints
966
+ * on individual features win over both.
967
+ */
968
+ interface ControlMeasureStyle {
969
+ /**
970
+ * The single symbol color. Control measures are monocolor: one color paints
971
+ * every part, stroked or filled. Input-only — resolved into concrete
972
+ * `strokeColor` / `fillColor` per feature by the renderer and never emitted
973
+ * on output. `strokeColor` / `fillColor` act as optional per-channel
974
+ * overrides. See ADR-0011.
975
+ */
976
+ color?: string;
977
+ strokeColor?: string;
978
+ strokeWidth?: number;
979
+ strokeDash?: number[];
980
+ fillColor?: string;
981
+ }
982
+ //#endregion
983
+ //#region src/instance.d.ts
984
+ interface ControlMeasure<K extends ControlMeasureKind = ControlMeasureKind> {
985
+ id: string;
986
+ kind: K;
987
+ controlPoints: Position[];
988
+ options?: OptionsByKind[K];
989
+ style?: ControlMeasureStyle;
990
+ properties?: Record<string, unknown>;
991
+ schemaVersion?: 1;
992
+ }
993
+ declare function isKind<K extends ControlMeasureKind>(cm: ControlMeasure, kind: K): cm is ControlMeasure<K>;
994
+ /**
995
+ * Deep-clone a `ControlMeasure` so held references survive mutations to the
996
+ * original (and vice versa). Used by the session façade to build the
997
+ * `measure` half of `ControlMeasureSnapshot`. Nested values inside
998
+ * `options`, `style`, and `properties` are cloned too — `properties` is
999
+ * `Record<string, unknown>` and may carry arbitrary host metadata, so a
1000
+ * shallow copy would leak shared references.
1001
+ *
1002
+ * Backed by `structuredClone`: only structured-cloneable values are
1003
+ * supported (no functions, DOM nodes, class instances). Absent optional
1004
+ * fields stay absent on the clone.
1005
+ */
1006
+ declare function cloneControlMeasure<K extends ControlMeasureKind>(cm: ControlMeasure<K>): ControlMeasure<K>;
1007
+ //#endregion
1008
+ //#region src/rendered.d.ts
1009
+ /**
1010
+ * Per-feature style hints carried on `properties.style`.
1011
+ *
1012
+ * These are *resolved*: `renderControlMeasure` cascades `graphicsStyle` →
1013
+ * `cm.style` → any generator pattern hint, then expands the monocolor `color`
1014
+ * into concrete `strokeColor` / `fillColor` per feature (see ADR-0011 and
1015
+ * `resolveSymbolColor`). Output therefore carries concrete colors, never the
1016
+ * input-only `color` key, and a `fillColor` only on parts the generator
1017
+ * marked filled.
1018
+ *
1019
+ * Generators contribute paint *role* and *pattern* (a part is filled; a
1020
+ * sub-line is dashed regardless of the user's stroke), never a hue. Adapters
1021
+ * merge the resulting `StyleHints` over their layer-level style at draw time.
1022
+ */
1023
+ interface StyleHints extends ControlMeasureStyle {}
1024
+ /**
1025
+ * Per-feature properties emitted by `renderControlMeasure`.
1026
+ *
1027
+ * Stable-id contract — every feature produced by the renderer has:
1028
+ * - `feature.id` of the form `${cmId}:${part}:${index}`
1029
+ * - `properties.part` matching the `part` segment of the id
1030
+ * - `properties.index` matching the `index` segment of the id
1031
+ *
1032
+ * Adapters rely on this contract to diff renders in place without keeping
1033
+ * their own bookkeeping. Use `controlMeasureIdFromFeature` to recover the
1034
+ * `cmId` from a picked feature.
1035
+ */
1036
+ interface FeaturePartProps {
1037
+ part: string;
1038
+ index: number;
1039
+ style?: StyleHints;
1040
+ /** Label text emitted by generators (e.g. breach "B"). */
1041
+ text?: string;
1042
+ /** Label rotation in radians, emitted by generators. */
1043
+ rotation?: number;
1044
+ /** Label size in CSS pixels at the draw/reference zoom. */
1045
+ textSizePixels?: number;
1046
+ /** Map zoom at which textSizePixels was captured. */
1047
+ textSizeZoom?: number;
1048
+ /** Map resolution at which textSizePixels was captured. */
1049
+ textSizeResolution?: number;
1050
+ }
1051
+ /**
1052
+ * Output of `renderControlMeasure`. A GeoJSON `FeatureCollection` whose
1053
+ * features satisfy the `FeaturePartProps` stable-id contract. See ADR-0010.
1054
+ */
1055
+ type ControlMeasureRender = FeatureCollection<Geometry, FeaturePartProps>;
1056
+ /**
1057
+ * A `ControlMeasure` paired with its `Render` at a single point in time.
1058
+ *
1059
+ * The unit delivered to `EditChangeEvent` listeners (as `measure` and
1060
+ * `previous`) and resolved from `TacticalDraw.draw()` / `.edit()`. The
1061
+ * `measure` half is a defensive clone (see `cloneControlMeasure`) so held
1062
+ * references remain valid after the originating session has closed.
1063
+ *
1064
+ * See ADR-0010.
1065
+ */
1066
+ interface ControlMeasureSnapshot<K extends ControlMeasureKind = ControlMeasureKind> {
1067
+ measure: ControlMeasure<K>;
1068
+ render: ControlMeasureRender;
1069
+ }
1070
+ /**
1071
+ * Recover the originating control measure id (`cmId`) from a feature emitted
1072
+ * by `renderControlMeasure`. The feature id must match the stable-id contract
1073
+ * `${cmId}:${part}:${index}`; otherwise this throws.
1074
+ */
1075
+ declare function controlMeasureIdFromFeature(feature: Feature<Geometry, FeaturePartProps> | {
1076
+ id?: string | number;
1077
+ }): string;
1078
+ //#endregion
1079
+ //#region src/renderControlMeasure.d.ts
1080
+ interface RenderOptions {
1081
+ validationMode?: ValidationMode;
1082
+ /**
1083
+ * Façade-level default style (third / lowest-priority layer). Merged
1084
+ * shallowly under `cm.style` and any per-feature generator hint. When
1085
+ * omitted, style resolution matches the prior two-layer behavior.
1086
+ */
1087
+ graphicsStyle?: ControlMeasureStyle;
1088
+ }
1089
+ /**
1090
+ * Pure render: `ControlMeasure` → `ControlMeasureRender` (a
1091
+ * `FeatureCollection` of `FeaturePartProps`-typed features). Per-feature
1092
+ * stable ids follow `${cm.id}:${part}:${index}`. Style is resolved from the
1093
+ * three layers (graphicsStyle, cm.style, generator hint) and stamped on
1094
+ * `properties.style` when non-empty.
1095
+ */
1096
+ declare function renderControlMeasure<K extends ControlMeasureKind>(cm: ControlMeasure<K>, opts?: RenderOptions): ControlMeasureRender;
1097
+ //#endregion
1098
+ //#region src/styleResolver.d.ts
1099
+ /**
1100
+ * Three-layer style precedence for `renderControlMeasure`.
1101
+ *
1102
+ * Lower-priority → higher-priority: `graphicsStyle` (façade default) →
1103
+ * `measureStyle` (`cm.style`) → `generatorStyle` (per-feature hint emitted
1104
+ * by a generator). Merge is shallow and per-property; higher-priority layers
1105
+ * win key by key. Explicit `null` / `undefined` in a higher-priority layer
1106
+ * is treated as "no opinion" and does not clear a lower-priority key.
1107
+ *
1108
+ * Returns `undefined` when all three layers are absent so the renderer can
1109
+ * omit `properties.style` entirely — keeps the no-style case byte-identical
1110
+ * to a property-less feature.
1111
+ *
1112
+ * Pure function: inputs are never mutated; the returned object is always a
1113
+ * fresh allocation when defined.
1114
+ */
1115
+ declare function resolveStyleHints(graphicsStyle: ControlMeasureStyle | undefined, measureStyle: ControlMeasureStyle | undefined, generatorStyle: StyleHints | undefined): StyleHints | undefined;
1116
+ //#endregion
1117
+ //#region src/toSimpleStyle.d.ts
1118
+ /**
1119
+ * simplestyle-spec properties (the subset this library can express), flat on
1120
+ * `properties`. All keys are optional.
1121
+ *
1122
+ * @see https://github.com/mapbox/simplestyle-spec
1123
+ */
1124
+ interface SimpleStyleProps extends FeaturePartProps {
1125
+ stroke?: string;
1126
+ "stroke-width"?: number;
1127
+ "stroke-opacity"?: number;
1128
+ fill?: string;
1129
+ "fill-opacity"?: number;
1130
+ }
1131
+ /**
1132
+ * A `FeatureCollection` whose features carry simplestyle-spec keys instead of
1133
+ * the nested `properties.style` slot. The `FeaturePartProps` stable-id
1134
+ * contract (`part`, `index`, `feature.id`) is preserved.
1135
+ */
1136
+ type SimpleStyleRender = FeatureCollection<Geometry, SimpleStyleProps>;
1137
+ /**
1138
+ * Lossy interop transform: `ControlMeasureRender` → a `FeatureCollection`
1139
+ * whose features carry simplestyle-spec keys. Operates on the already-resolved
1140
+ * per-feature `style`, so it composes after `renderControlMeasure`'s
1141
+ * three-layer merge and stays a pure post-processing step.
1142
+ *
1143
+ * Lossy mapping, by design:
1144
+ * - `strokeDash` has no simplestyle equivalent and is dropped — dashed
1145
+ * doctrinal sub-lines render solid in simplestyle consumers.
1146
+ * - colors must be hex or `rgb()/rgba()`; alpha becomes `*-opacity`. Other
1147
+ * color forms (named, `hsl()`) are omitted rather than guessed.
1148
+ */
1149
+ declare function toSimpleStyle(render: ControlMeasureRender): SimpleStyleRender;
1150
+ //#endregion
1151
+ //#region src/internal/graphics-utils.d.ts
1152
+ /**
1153
+ * Small value used to avoid division by zero and floating-point precision issues.
1154
+ */
1155
+ declare const EPSILON = 0.000001;
1156
+ /**
1157
+ * Rounds a number to a specified number of decimal places.
1158
+ */
1159
+ declare const roundToFixed: (v: number, precision?: number) => number;
1160
+ /**
1161
+ * Calculates the meters-per-pixel ratio at a given latitude and zoom level.
1162
+ *
1163
+ * This is essential for maintaining consistent visual sizes on the map
1164
+ * regardless of zoom level. The formula accounts for:
1165
+ * - The Web Mercator projection's tile-based structure
1166
+ * - The latitude-dependent scale distortion in Mercator projection
1167
+ *
1168
+ * @param latitude - The latitude in degrees (affects scale due to projection)
1169
+ * @param zoomLevel - The current map zoom level
1170
+ * @returns The number of meters represented by one pixel at the given location and zoom
1171
+ *
1172
+ * @example
1173
+ * ```typescript
1174
+ * // At zoom 10, latitude 45°
1175
+ * const mpp = getMetersPerPixel(45, 10);
1176
+ * // To get a 20-pixel radius in meters:
1177
+ * const radiusMeters = 20 * mpp;
1178
+ * ```
1179
+ */
1180
+ declare const getMetersPerPixel: (latitude: number, zoomLevel: number) => number;
1181
+ //#endregion
1182
+ //#region src/draw-rules/baseline-frame.d.ts
1183
+ type BaselineFrameOrigin = "p1" | "p2" | "midpoint";
1184
+ type BaselineFrameNormal = "right" | "left";
1185
+ interface BaselineFrameOptions {
1186
+ origin?: BaselineFrameOrigin;
1187
+ normal?: BaselineFrameNormal;
1188
+ }
1189
+ interface BaselineFrame {
1190
+ readonly p1: Point2D;
1191
+ readonly p2: Point2D;
1192
+ readonly origin: Point2D;
1193
+ readonly direction: Point2D;
1194
+ readonly normal: Point2D;
1195
+ readonly length: number;
1196
+ signedNormalDistance(point: Position): number;
1197
+ pointAtNormalDistance(distance: number): Position | null;
1198
+ }
1199
+ declare function createBaselineFrame(p1: Position, p2: Position, options?: BaselineFrameOptions): BaselineFrame | null;
1200
+ //#endregion
1201
+ //#region src/draw-rules/midpoint-perpendicular.d.ts
1202
+ interface MidpointPerpendicularDrawRuleOptions {
1203
+ id: string;
1204
+ defaultDistanceRatio?: number;
1205
+ /** User clicks required to commit. Defaults to `2` (the third point is auto-derived). */
1206
+ minimumUserPoints?: number;
1207
+ /** Raw points at which a live preview can be derived. See {@link ControlMeasureDrawRule}. */
1208
+ minimumPreviewPoints?: number;
1209
+ /**
1210
+ * Index of the slot whose point is constrained to the perpendicular axis
1211
+ * through the configured origin of the other two ("baseline") slots. Must be
1212
+ * `0` or `2`. Defaults to `2`.
1213
+ *
1214
+ * Area11 (Block) and Point12 (obstacle-bypass) use `2`: P1/P2 are the free
1215
+ * baseline endpoints and P3 is constrained. Area7 (Attack-By-Fire) uses `0`:
1216
+ * P1 is the constrained arrowhead tip and P2/P3 are the free back-line
1217
+ * endpoints.
1218
+ */
1219
+ constrainedIndex?: 0 | 2;
1220
+ /** Frame origin for the perpendicular axis. Defaults to `"midpoint"`. */
1221
+ origin?: BaselineFrameOrigin;
1222
+ /** Side the positive normal points to. Defaults to `"right"`. */
1223
+ normal?: BaselineFrameNormal;
1224
+ }
1225
+ declare function createMidpointPerpendicularDrawRule(options: MidpointPerpendicularDrawRuleOptions): ControlMeasureDrawRule;
1226
+ declare function computeDefaultMidpointPerpendicularPoint(p1: Position, p2: Position, distanceRatio?: number): Position | null;
1227
+ declare function getMidpointPerpendicularSignedDistance(p1: Position, p2: Position, controlPoint: Position): number | null;
1228
+ declare function pointOnMidpointPerpendicularAxis(p1: Position, p2: Position, distance: number | null): Position | null;
1229
+ declare function snapToMidpointPerpendicular(p1: Position, p2: Position, controlPoint: Position): Position | null;
1230
+ //#endregion
1231
+ //#region src/draw-rules/area11.d.ts
1232
+ declare const blockDrawRule: ControlMeasureDrawRule;
1233
+ //#endregion
1234
+ //#region src/draw-rules/area12.d.ts
1235
+ /**
1236
+ * Area12 anchor draw rule for Disrupt.
1237
+ *
1238
+ * P1/P2 are the free spine endpoints. P3 is the longest-arrow tip, constrained
1239
+ * to the perpendicular axis through P1 (not the baseline midpoint).
1240
+ */
1241
+ declare const disruptDrawRule: ControlMeasureDrawRule;
1242
+ //#endregion
1243
+ //#region src/draw-rules/point12.d.ts
1244
+ /**
1245
+ * Point12 anchor draw rule for the obstacle-bypass family.
1246
+ *
1247
+ * Shared by `obstacle-bypass-easy`, `obstacle-bypass-difficult`, and
1248
+ * `obstacle-bypass-impossible`: P1/P2 are the arrowhead tips and define the
1249
+ * opening; P3 is constrained to the perpendicular axis through
1250
+ * `midpoint(P1, P2)` and defines the rear of the symbol. Rear-line decoration
1251
+ * (plain, zigzag, barrier marks) is a generator concern, not a draw-rule one.
1252
+ */
1253
+ declare const point12DrawRule: ControlMeasureDrawRule;
1254
+ //#endregion
1255
+ //#region src/draw-rules/area7.d.ts
1256
+ /**
1257
+ * Area7 anchor draw rule for Attack By Fire.
1258
+ *
1259
+ * P2/P3 are the free back-line endpoints; P1 (slot index 0) is the arrowhead
1260
+ * tip, constrained to the perpendicular axis through `midpoint(P2, P3)`.
1261
+ */
1262
+ declare const attackByFireDrawRule: ControlMeasureDrawRule;
1263
+ //#endregion
1264
+ //#region src/draw-rules/line29.d.ts
1265
+ /**
1266
+ * Line29 anchor draw rule for Ambush.
1267
+ *
1268
+ * P2/P3 are the free back-line endpoints; P1 (slot index 0) is the arrowhead
1269
+ * tip, constrained to the perpendicular axis through `midpoint(P2, P3)`.
1270
+ */
1271
+ declare const ambushDrawRule: ControlMeasureDrawRule;
1272
+ //#endregion
1273
+ //#region src/draw-rules/line1.d.ts
1274
+ declare const line1DrawRule: ControlMeasureDrawRule;
1275
+ //#endregion
1276
+ //#region src/draw-rules/line10.d.ts
1277
+ /**
1278
+ * Line10 — PT1 is the arrow tip, PT2 is the rear, and derived PT3 selects
1279
+ * which side of the PT2 -> PT1 chord contains the 90-degree arc.
1280
+ */
1281
+ declare const turnDrawRule: ControlMeasureDrawRule;
1282
+ //#endregion
1283
+ //#region src/draw-rules/line23.d.ts
1284
+ /**
1285
+ * Line23 anchor draw rule for the Clear mission task.
1286
+ *
1287
+ * P1/P2 are the endpoints of the symbol's vertical line (its height); P3 is
1288
+ * constrained to the perpendicular axis through `midpoint(P1, P2)` and defines
1289
+ * the rear of the symbol (the shaft length). Geometrically identical to the
1290
+ * obstacle-bypass `Point12` rule, but kept as its own spec id to match the
1291
+ * doctrinal draw rule for Clear.
1292
+ */
1293
+ declare const line23DrawRule: ControlMeasureDrawRule;
1294
+ //#endregion
1295
+ //#region src/draw-rules/line24.d.ts
1296
+ /**
1297
+ * Line24 anchor draw rule for the Delay mission task.
1298
+ *
1299
+ * PT. 1 and PT. 2 are the free straight-line endpoints. PT. 3 is constrained to
1300
+ * the perpendicular axis through PT. 2, where its signed distance from PT. 2
1301
+ * defines the semicircular arc diameter and side. Unlike the sibling Line23
1302
+ * (Clear) rule, the third point must be placed explicitly (three user clicks),
1303
+ * with a two-point live preview before commit.
1304
+ */
1305
+ declare const line24DrawRule: ControlMeasureDrawRule;
1306
+ //#endregion
1307
+ //#region src/draw-rules/area8.d.ts
1308
+ declare const supportByFireDrawRule: ControlMeasureDrawRule;
1309
+ //#endregion
1310
+ //#region src/draw-rules/axis1.d.ts
1311
+ declare const axis1DrawRule: ControlMeasureDrawRule;
1312
+ //#endregion
1313
+ //#region src/generators/cm14-maneuver-lines/ambush.d.ts
1314
+ /**
1315
+ * Configuration options for the Ambush tactical symbol.
1316
+ */
1317
+ interface AmbushOptions {
1318
+ /** Number of segments used to draw the quadratic curve (default: 30) */
1319
+ resolution?: number;
1320
+ /** Size of arrowhead relative to chord span (default: 0.15) */
1321
+ hSize?: number;
1322
+ /** Width of arrowhead wings relative to its length (default: 0.5) */
1323
+ hWidth?: number;
1324
+ /** Length of parallel hatches relative to chord span (default: 0.15) */
1325
+ hLen?: number;
1326
+ /** Number of parallel hatches along the curve (default: 5) */
1327
+ hCount?: number;
1328
+ /** Depth of the curve toward PT 1 relative to chord span (default: 0.25) */
1329
+ cDepth?: number;
1330
+ }
1331
+ declare const DEFAULT_AMBUSH_OPTIONS: Required<AmbushOptions>;
1332
+ //#endregion
1333
+ //#region src/generators/cm15-maneuver-areas/searchArea.d.ts
1334
+ /**
1335
+ * Configuration options to tweak the tactical arrow's geometry.
1336
+ */
1337
+ interface TacticalArrowOptions {
1338
+ /** Ratio of arrowhead length to total leg length (default: 0.12) */
1339
+ headSizeRatio?: number;
1340
+ /** Width multiplier for the arrowhead wings (default: 0.5) */
1341
+ headWidthMultiplier?: number;
1342
+ /** Percentage along the leg where the zigzag begins, 0.0-1.0 (default: 0.55) */
1343
+ zigzagStart?: number;
1344
+ /** Percentage along the leg where the zigzag returns, 0.0-1.0 (default: 0.45) */
1345
+ zigzagEnd?: number;
1346
+ /** Perpendicular distance for the lightning "kink", relative to leg length (default: 0.07) */
1347
+ zigzagWidth?: number;
1348
+ }
1349
+ /**
1350
+ * Default options for the tactical arrow.
1351
+ */
1352
+ declare const DEFAULT_TACTICAL_ARROW_OPTIONS: Required<TacticalArrowOptions>;
1353
+ //#endregion
1354
+ export { type AirborneAttackOptions, type AmbushOptions, type AnchorTransformEvent, type AntitankDitchOptions, type AntitankWallOptions, type AttackByFireOptions, type AttackHelicopterOptions, type BaselineFrame, type BaselineFrameNormal, type BaselineFrameOptions, type BaselineFrameOrigin, type BlockMissionTaskOptions, type BlockOptions, type BreachOptions, type BypassOptions, CONTROL_MEASURE_IDS, CONTROL_MEASURE_METADATA, type CanalizeOptions, type ClearOptions, type ControlMeasure, type ControlMeasureDrawRule, type ControlMeasureGeometry, type ControlMeasureGeometryType, type ControlMeasureId, type ControlMeasureKind, type ControlMeasureMetadata, type ControlMeasureRender, type ControlMeasureSnapshot, type ControlMeasureStyle, DEFAULT_AIRBORNE_ATTACK_OPTIONS, DEFAULT_AMBUSH_OPTIONS, DEFAULT_ANTITANK_DITCH_OPTIONS, DEFAULT_ANTITANK_WALL_OPTIONS, DEFAULT_ATTACK_BY_FIRE_OPTIONS, DEFAULT_ATTACK_HELICOPTER_OPTIONS, DEFAULT_BLOCK_MISSION_TASK_OPTIONS, DEFAULT_BLOCK_OPTIONS, DEFAULT_BREACH_OPTIONS, DEFAULT_BYPASS_OPTIONS, DEFAULT_CANALIZE_OPTIONS, DEFAULT_CLEAR_OPTIONS, DEFAULT_DELAY_OPTIONS, DEFAULT_DISRUPT_OPTIONS, DEFAULT_FINAL_PROTECTIVE_FIRE_OPTIONS, DEFAULT_FIX_OPTIONS, DEFAULT_FLOT_OPTIONS, DEFAULT_FORTIFIED_AREA_OPTIONS, DEFAULT_FORTIFIED_LINE_OPTIONS, DEFAULT_MAIN_ATTACK_OPTIONS, DEFAULT_OBSTACLE_BYPASS_DIFFICULT_OPTIONS, DEFAULT_OBSTACLE_BYPASS_EASY_OPTIONS, DEFAULT_OBSTACLE_BYPASS_IMPOSSIBLE_OPTIONS, DEFAULT_PRINCIPAL_DIRECTION_OF_FIRE_OPTIONS, DEFAULT_SUPPORTING_ATTACK_OPTIONS, DEFAULT_SUPPORT_BY_FIRE_OPTIONS, DEFAULT_TACTICAL_ARROW_OPTIONS, DEFAULT_TURN_OPTIONS, type DelayOptions, type DisruptOptions, EPSILON, type FLOTOptions, type FeaturePartProps, type FinalProtectiveFireOptions, type FixOptions, type FortifiedAreaOptions, type FortifiedLineOptions, type MainAttackOptions, type MidpointPerpendicularDrawRuleOptions, type ObstacleBypassDifficultOptions, type ObstacleBypassEasyOptions, type ObstacleBypassImpossibleOptions, type OptionsByKind, type ParamDescriptor, type Point2D, type PrincipalDirectionOfFireOptions, type RenderOptions, type SimpleStyleProps, type SimpleStyleRender, type StyleHints, type SupportByFireOptions, type SupportingAttackOptions, type TacticalArrowOptions, type TurnOptions, ambushDrawRule, attackByFireDrawRule, axis1DrawRule, blockDrawRule, calculateMetrics, cloneControlMeasure, computeDefaultMidpointPerpendicularPoint, computeInitialWidthPoint, controlMeasureIdFromFeature, createBaselineFrame, createMidpointPerpendicularDrawRule, disruptDrawRule, getControlMeasureMetadata, getControlMeasureMetadataByValue, getDefaultOptions, getMetersPerPixel, getMidpointPerpendicularSignedDistance, isKind, line1DrawRule, line23DrawRule, line24DrawRule, listControlMeasureMetadata, point12DrawRule, pointOnMidpointPerpendicularAxis, project, renderControlMeasure, resolveStyleHints, roundToFixed, snapToMidpointPerpendicular, supportByFireDrawRule, toSimpleStyle, turnDrawRule, unproject };