@arenarium/maps 1.0.175 → 1.0.176

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 CHANGED
@@ -495,6 +495,40 @@ declare const mapMarkerSchema: z.ZodObject<{
495
495
  } | undefined;
496
496
  }>;
497
497
  export type MapMarker = z.infer<typeof mapMarkerSchema>;
498
+ declare const mapTooltipStateSchema: z.ZodTuple<[
499
+ z.ZodNumber,
500
+ z.ZodArray<z.ZodTuple<[
501
+ z.ZodNumber,
502
+ z.ZodNumber
503
+ ], null>, "many">
504
+ ], null>;
505
+ declare const mapTooltipStateInputSchema: z.ZodObject<{
506
+ id: z.ZodString;
507
+ rank: z.ZodNumber;
508
+ lat: z.ZodNumber;
509
+ lng: z.ZodNumber;
510
+ width: z.ZodNumber;
511
+ height: z.ZodNumber;
512
+ margin: z.ZodNumber;
513
+ }, "strip", z.ZodTypeAny, {
514
+ lat: number;
515
+ lng: number;
516
+ id: string;
517
+ rank: number;
518
+ width: number;
519
+ height: number;
520
+ margin: number;
521
+ }, {
522
+ lat: number;
523
+ lng: number;
524
+ id: string;
525
+ rank: number;
526
+ width: number;
527
+ height: number;
528
+ margin: number;
529
+ }>;
530
+ export type MapTooltipState = z.infer<typeof mapTooltipStateSchema>;
531
+ export type MapTooltipStateInput = z.infer<typeof mapTooltipStateInputSchema>;
498
532
  export declare class MapManager {
499
533
  private provider;
500
534
  private statesApiUrl;
@@ -632,6 +666,8 @@ export declare const GoogleMapDarkStyle: ({
632
666
  lightness: number;
633
667
  }[];
634
668
  })[];
669
+ export declare function getStates(parameters: MapProviderParameters, data: Array<MapTooltipStateInput>): MapTooltipState[];
670
+ export declare function testStates(parameters: MapProviderParameters, inputs: MapTooltipStateInput[], states: MapTooltipState[]): void;
635
671
 
636
672
  export as namespace arenarium;
637
673