@dub/utils 0.1.9 → 0.1.10

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,1261 @@
1
+ type PlanFeature = {
2
+ id?: string;
3
+ text: string;
4
+ footnote?: {
5
+ title: string;
6
+ cta: string;
7
+ href: string;
8
+ };
9
+ };
10
+ declare const PLANS: ({
11
+ name: string;
12
+ tagline: string;
13
+ link: string;
14
+ price: {
15
+ monthly: number;
16
+ yearly: number;
17
+ ids: string[];
18
+ };
19
+ limits: {
20
+ links: number;
21
+ clicks: number;
22
+ sales: number;
23
+ domains: number;
24
+ tags: number;
25
+ users: number;
26
+ ai: number;
27
+ api: number;
28
+ };
29
+ colors: {
30
+ bg: string;
31
+ text: string;
32
+ };
33
+ cta: {
34
+ text: string;
35
+ shortText: string;
36
+ href: string;
37
+ color: string;
38
+ };
39
+ featureTitle: string;
40
+ features: PlanFeature[];
41
+ } | {
42
+ name: string;
43
+ tagline: string;
44
+ price: {
45
+ monthly: number;
46
+ yearly: number;
47
+ ids?: undefined;
48
+ };
49
+ limits: {
50
+ links: number;
51
+ clicks: number;
52
+ domains: number;
53
+ tags: number;
54
+ users: number;
55
+ ai: number;
56
+ api: number;
57
+ };
58
+ colors: {
59
+ bg: string;
60
+ text: string;
61
+ };
62
+ cta: {
63
+ text: string;
64
+ href: string;
65
+ color: string;
66
+ shortText?: undefined;
67
+ };
68
+ featureTitle: string;
69
+ features: PlanFeature[];
70
+ link?: undefined;
71
+ } | {
72
+ name: string;
73
+ tagline: string;
74
+ link: string;
75
+ price: {
76
+ monthly: number;
77
+ yearly: number;
78
+ ids: string[];
79
+ };
80
+ limits: {
81
+ links: number;
82
+ clicks: number;
83
+ domains: number;
84
+ tags: number;
85
+ users: number;
86
+ ai: number;
87
+ api: number;
88
+ };
89
+ colors: {
90
+ bg: string;
91
+ text: string;
92
+ };
93
+ cta: {
94
+ text: string;
95
+ shortText: string;
96
+ href: string;
97
+ color: string;
98
+ };
99
+ featureTitle: string;
100
+ features: PlanFeature[];
101
+ } | {
102
+ name: string;
103
+ tagline: string;
104
+ link: string;
105
+ price: {
106
+ monthly: null;
107
+ yearly: null;
108
+ ids?: undefined;
109
+ };
110
+ limits: {
111
+ links: number;
112
+ clicks: number;
113
+ domains: number;
114
+ tags: number;
115
+ users: number;
116
+ ai: number;
117
+ api: number;
118
+ };
119
+ colors: {
120
+ bg: string;
121
+ text: string;
122
+ };
123
+ cta: {
124
+ text: string;
125
+ href: string;
126
+ color: string;
127
+ shortText?: undefined;
128
+ };
129
+ featureTitle: string;
130
+ features: PlanFeature[];
131
+ })[];
132
+ declare const FREE_PLAN: {
133
+ name: string;
134
+ tagline: string;
135
+ link: string;
136
+ price: {
137
+ monthly: number;
138
+ yearly: number;
139
+ ids: string[];
140
+ };
141
+ limits: {
142
+ links: number;
143
+ clicks: number;
144
+ sales: number;
145
+ domains: number;
146
+ tags: number;
147
+ users: number;
148
+ ai: number;
149
+ api: number;
150
+ };
151
+ colors: {
152
+ bg: string;
153
+ text: string;
154
+ };
155
+ cta: {
156
+ text: string;
157
+ shortText: string;
158
+ href: string;
159
+ color: string;
160
+ };
161
+ featureTitle: string;
162
+ features: PlanFeature[];
163
+ } | {
164
+ name: string;
165
+ tagline: string;
166
+ price: {
167
+ monthly: number;
168
+ yearly: number;
169
+ ids?: undefined;
170
+ };
171
+ limits: {
172
+ links: number;
173
+ clicks: number;
174
+ domains: number;
175
+ tags: number;
176
+ users: number;
177
+ ai: number;
178
+ api: number;
179
+ };
180
+ colors: {
181
+ bg: string;
182
+ text: string;
183
+ };
184
+ cta: {
185
+ text: string;
186
+ href: string;
187
+ color: string;
188
+ shortText?: undefined;
189
+ };
190
+ featureTitle: string;
191
+ features: PlanFeature[];
192
+ link?: undefined;
193
+ } | {
194
+ name: string;
195
+ tagline: string;
196
+ link: string;
197
+ price: {
198
+ monthly: number;
199
+ yearly: number;
200
+ ids: string[];
201
+ };
202
+ limits: {
203
+ links: number;
204
+ clicks: number;
205
+ domains: number;
206
+ tags: number;
207
+ users: number;
208
+ ai: number;
209
+ api: number;
210
+ };
211
+ colors: {
212
+ bg: string;
213
+ text: string;
214
+ };
215
+ cta: {
216
+ text: string;
217
+ shortText: string;
218
+ href: string;
219
+ color: string;
220
+ };
221
+ featureTitle: string;
222
+ features: PlanFeature[];
223
+ } | {
224
+ name: string;
225
+ tagline: string;
226
+ link: string;
227
+ price: {
228
+ monthly: null;
229
+ yearly: null;
230
+ ids?: undefined;
231
+ };
232
+ limits: {
233
+ links: number;
234
+ clicks: number;
235
+ domains: number;
236
+ tags: number;
237
+ users: number;
238
+ ai: number;
239
+ api: number;
240
+ };
241
+ colors: {
242
+ bg: string;
243
+ text: string;
244
+ };
245
+ cta: {
246
+ text: string;
247
+ href: string;
248
+ color: string;
249
+ shortText?: undefined;
250
+ };
251
+ featureTitle: string;
252
+ features: PlanFeature[];
253
+ };
254
+ declare const PRO_PLAN: {
255
+ name: string;
256
+ tagline: string;
257
+ link: string;
258
+ price: {
259
+ monthly: number;
260
+ yearly: number;
261
+ ids: string[];
262
+ };
263
+ limits: {
264
+ links: number;
265
+ clicks: number;
266
+ sales: number;
267
+ domains: number;
268
+ tags: number;
269
+ users: number;
270
+ ai: number;
271
+ api: number;
272
+ };
273
+ colors: {
274
+ bg: string;
275
+ text: string;
276
+ };
277
+ cta: {
278
+ text: string;
279
+ shortText: string;
280
+ href: string;
281
+ color: string;
282
+ };
283
+ featureTitle: string;
284
+ features: PlanFeature[];
285
+ } | {
286
+ name: string;
287
+ tagline: string;
288
+ price: {
289
+ monthly: number;
290
+ yearly: number;
291
+ ids?: undefined;
292
+ };
293
+ limits: {
294
+ links: number;
295
+ clicks: number;
296
+ domains: number;
297
+ tags: number;
298
+ users: number;
299
+ ai: number;
300
+ api: number;
301
+ };
302
+ colors: {
303
+ bg: string;
304
+ text: string;
305
+ };
306
+ cta: {
307
+ text: string;
308
+ href: string;
309
+ color: string;
310
+ shortText?: undefined;
311
+ };
312
+ featureTitle: string;
313
+ features: PlanFeature[];
314
+ link?: undefined;
315
+ } | {
316
+ name: string;
317
+ tagline: string;
318
+ link: string;
319
+ price: {
320
+ monthly: number;
321
+ yearly: number;
322
+ ids: string[];
323
+ };
324
+ limits: {
325
+ links: number;
326
+ clicks: number;
327
+ domains: number;
328
+ tags: number;
329
+ users: number;
330
+ ai: number;
331
+ api: number;
332
+ };
333
+ colors: {
334
+ bg: string;
335
+ text: string;
336
+ };
337
+ cta: {
338
+ text: string;
339
+ shortText: string;
340
+ href: string;
341
+ color: string;
342
+ };
343
+ featureTitle: string;
344
+ features: PlanFeature[];
345
+ } | {
346
+ name: string;
347
+ tagline: string;
348
+ link: string;
349
+ price: {
350
+ monthly: null;
351
+ yearly: null;
352
+ ids?: undefined;
353
+ };
354
+ limits: {
355
+ links: number;
356
+ clicks: number;
357
+ domains: number;
358
+ tags: number;
359
+ users: number;
360
+ ai: number;
361
+ api: number;
362
+ };
363
+ colors: {
364
+ bg: string;
365
+ text: string;
366
+ };
367
+ cta: {
368
+ text: string;
369
+ href: string;
370
+ color: string;
371
+ shortText?: undefined;
372
+ };
373
+ featureTitle: string;
374
+ features: PlanFeature[];
375
+ };
376
+ declare const BUSINESS_PLAN: {
377
+ name: string;
378
+ tagline: string;
379
+ link: string;
380
+ price: {
381
+ monthly: number;
382
+ yearly: number;
383
+ ids: string[];
384
+ };
385
+ limits: {
386
+ links: number;
387
+ clicks: number;
388
+ sales: number;
389
+ domains: number;
390
+ tags: number;
391
+ users: number;
392
+ ai: number;
393
+ api: number;
394
+ };
395
+ colors: {
396
+ bg: string;
397
+ text: string;
398
+ };
399
+ cta: {
400
+ text: string;
401
+ shortText: string;
402
+ href: string;
403
+ color: string;
404
+ };
405
+ featureTitle: string;
406
+ features: PlanFeature[];
407
+ } | {
408
+ name: string;
409
+ tagline: string;
410
+ price: {
411
+ monthly: number;
412
+ yearly: number;
413
+ ids?: undefined;
414
+ };
415
+ limits: {
416
+ links: number;
417
+ clicks: number;
418
+ domains: number;
419
+ tags: number;
420
+ users: number;
421
+ ai: number;
422
+ api: number;
423
+ };
424
+ colors: {
425
+ bg: string;
426
+ text: string;
427
+ };
428
+ cta: {
429
+ text: string;
430
+ href: string;
431
+ color: string;
432
+ shortText?: undefined;
433
+ };
434
+ featureTitle: string;
435
+ features: PlanFeature[];
436
+ link?: undefined;
437
+ } | {
438
+ name: string;
439
+ tagline: string;
440
+ link: string;
441
+ price: {
442
+ monthly: number;
443
+ yearly: number;
444
+ ids: string[];
445
+ };
446
+ limits: {
447
+ links: number;
448
+ clicks: number;
449
+ domains: number;
450
+ tags: number;
451
+ users: number;
452
+ ai: number;
453
+ api: number;
454
+ };
455
+ colors: {
456
+ bg: string;
457
+ text: string;
458
+ };
459
+ cta: {
460
+ text: string;
461
+ shortText: string;
462
+ href: string;
463
+ color: string;
464
+ };
465
+ featureTitle: string;
466
+ features: PlanFeature[];
467
+ } | {
468
+ name: string;
469
+ tagline: string;
470
+ link: string;
471
+ price: {
472
+ monthly: null;
473
+ yearly: null;
474
+ ids?: undefined;
475
+ };
476
+ limits: {
477
+ links: number;
478
+ clicks: number;
479
+ domains: number;
480
+ tags: number;
481
+ users: number;
482
+ ai: number;
483
+ api: number;
484
+ };
485
+ colors: {
486
+ bg: string;
487
+ text: string;
488
+ };
489
+ cta: {
490
+ text: string;
491
+ href: string;
492
+ color: string;
493
+ shortText?: undefined;
494
+ };
495
+ featureTitle: string;
496
+ features: PlanFeature[];
497
+ };
498
+ declare const ENTERPRISE_PLAN: {
499
+ name: string;
500
+ tagline: string;
501
+ link: string;
502
+ price: {
503
+ monthly: number;
504
+ yearly: number;
505
+ ids: string[];
506
+ };
507
+ limits: {
508
+ links: number;
509
+ clicks: number;
510
+ sales: number;
511
+ domains: number;
512
+ tags: number;
513
+ users: number;
514
+ ai: number;
515
+ api: number;
516
+ };
517
+ colors: {
518
+ bg: string;
519
+ text: string;
520
+ };
521
+ cta: {
522
+ text: string;
523
+ shortText: string;
524
+ href: string;
525
+ color: string;
526
+ };
527
+ featureTitle: string;
528
+ features: PlanFeature[];
529
+ } | {
530
+ name: string;
531
+ tagline: string;
532
+ price: {
533
+ monthly: number;
534
+ yearly: number;
535
+ ids?: undefined;
536
+ };
537
+ limits: {
538
+ links: number;
539
+ clicks: number;
540
+ domains: number;
541
+ tags: number;
542
+ users: number;
543
+ ai: number;
544
+ api: number;
545
+ };
546
+ colors: {
547
+ bg: string;
548
+ text: string;
549
+ };
550
+ cta: {
551
+ text: string;
552
+ href: string;
553
+ color: string;
554
+ shortText?: undefined;
555
+ };
556
+ featureTitle: string;
557
+ features: PlanFeature[];
558
+ link?: undefined;
559
+ } | {
560
+ name: string;
561
+ tagline: string;
562
+ link: string;
563
+ price: {
564
+ monthly: number;
565
+ yearly: number;
566
+ ids: string[];
567
+ };
568
+ limits: {
569
+ links: number;
570
+ clicks: number;
571
+ domains: number;
572
+ tags: number;
573
+ users: number;
574
+ ai: number;
575
+ api: number;
576
+ };
577
+ colors: {
578
+ bg: string;
579
+ text: string;
580
+ };
581
+ cta: {
582
+ text: string;
583
+ shortText: string;
584
+ href: string;
585
+ color: string;
586
+ };
587
+ featureTitle: string;
588
+ features: PlanFeature[];
589
+ } | {
590
+ name: string;
591
+ tagline: string;
592
+ link: string;
593
+ price: {
594
+ monthly: null;
595
+ yearly: null;
596
+ ids?: undefined;
597
+ };
598
+ limits: {
599
+ links: number;
600
+ clicks: number;
601
+ domains: number;
602
+ tags: number;
603
+ users: number;
604
+ ai: number;
605
+ api: number;
606
+ };
607
+ colors: {
608
+ bg: string;
609
+ text: string;
610
+ };
611
+ cta: {
612
+ text: string;
613
+ href: string;
614
+ color: string;
615
+ shortText?: undefined;
616
+ };
617
+ featureTitle: string;
618
+ features: PlanFeature[];
619
+ };
620
+ declare const PUBLIC_PLANS: ({
621
+ name: string;
622
+ tagline: string;
623
+ price: {
624
+ monthly: number;
625
+ yearly: number;
626
+ ids?: undefined;
627
+ };
628
+ limits: {
629
+ links: number;
630
+ clicks: number;
631
+ domains: number;
632
+ tags: number;
633
+ users: number;
634
+ ai: number;
635
+ api: number;
636
+ };
637
+ colors: {
638
+ bg: string;
639
+ text: string;
640
+ };
641
+ cta: {
642
+ text: string;
643
+ href: string;
644
+ color: string;
645
+ shortText?: undefined;
646
+ };
647
+ featureTitle: string;
648
+ features: PlanFeature[];
649
+ link?: undefined;
650
+ } | {
651
+ name: string;
652
+ tagline: string;
653
+ link: string;
654
+ price: {
655
+ monthly: number;
656
+ yearly: number;
657
+ ids: string[];
658
+ };
659
+ limits: {
660
+ links: number;
661
+ clicks: number;
662
+ domains: number;
663
+ tags: number;
664
+ users: number;
665
+ ai: number;
666
+ api: number;
667
+ };
668
+ colors: {
669
+ bg: string;
670
+ text: string;
671
+ };
672
+ cta: {
673
+ text: string;
674
+ shortText: string;
675
+ href: string;
676
+ color: string;
677
+ };
678
+ featureTitle: string;
679
+ features: PlanFeature[];
680
+ } | {
681
+ name: string;
682
+ tagline: string;
683
+ link: string;
684
+ price: {
685
+ monthly: null;
686
+ yearly: null;
687
+ ids?: undefined;
688
+ };
689
+ limits: {
690
+ links: number;
691
+ clicks: number;
692
+ domains: number;
693
+ tags: number;
694
+ users: number;
695
+ ai: number;
696
+ api: number;
697
+ };
698
+ colors: {
699
+ bg: string;
700
+ text: string;
701
+ };
702
+ cta: {
703
+ text: string;
704
+ href: string;
705
+ color: string;
706
+ shortText?: undefined;
707
+ };
708
+ featureTitle: string;
709
+ features: PlanFeature[];
710
+ })[];
711
+ declare const SELF_SERVE_PAID_PLANS: ({
712
+ name: string;
713
+ tagline: string;
714
+ link: string;
715
+ price: {
716
+ monthly: number;
717
+ yearly: number;
718
+ ids: string[];
719
+ };
720
+ limits: {
721
+ links: number;
722
+ clicks: number;
723
+ sales: number;
724
+ domains: number;
725
+ tags: number;
726
+ users: number;
727
+ ai: number;
728
+ api: number;
729
+ };
730
+ colors: {
731
+ bg: string;
732
+ text: string;
733
+ };
734
+ cta: {
735
+ text: string;
736
+ shortText: string;
737
+ href: string;
738
+ color: string;
739
+ };
740
+ featureTitle: string;
741
+ features: PlanFeature[];
742
+ } | {
743
+ name: string;
744
+ tagline: string;
745
+ price: {
746
+ monthly: number;
747
+ yearly: number;
748
+ ids?: undefined;
749
+ };
750
+ limits: {
751
+ links: number;
752
+ clicks: number;
753
+ domains: number;
754
+ tags: number;
755
+ users: number;
756
+ ai: number;
757
+ api: number;
758
+ };
759
+ colors: {
760
+ bg: string;
761
+ text: string;
762
+ };
763
+ cta: {
764
+ text: string;
765
+ href: string;
766
+ color: string;
767
+ shortText?: undefined;
768
+ };
769
+ featureTitle: string;
770
+ features: PlanFeature[];
771
+ link?: undefined;
772
+ } | {
773
+ name: string;
774
+ tagline: string;
775
+ link: string;
776
+ price: {
777
+ monthly: number;
778
+ yearly: number;
779
+ ids: string[];
780
+ };
781
+ limits: {
782
+ links: number;
783
+ clicks: number;
784
+ domains: number;
785
+ tags: number;
786
+ users: number;
787
+ ai: number;
788
+ api: number;
789
+ };
790
+ colors: {
791
+ bg: string;
792
+ text: string;
793
+ };
794
+ cta: {
795
+ text: string;
796
+ shortText: string;
797
+ href: string;
798
+ color: string;
799
+ };
800
+ featureTitle: string;
801
+ features: PlanFeature[];
802
+ } | {
803
+ name: string;
804
+ tagline: string;
805
+ link: string;
806
+ price: {
807
+ monthly: null;
808
+ yearly: null;
809
+ ids?: undefined;
810
+ };
811
+ limits: {
812
+ links: number;
813
+ clicks: number;
814
+ domains: number;
815
+ tags: number;
816
+ users: number;
817
+ ai: number;
818
+ api: number;
819
+ };
820
+ colors: {
821
+ bg: string;
822
+ text: string;
823
+ };
824
+ cta: {
825
+ text: string;
826
+ href: string;
827
+ color: string;
828
+ shortText?: undefined;
829
+ };
830
+ featureTitle: string;
831
+ features: PlanFeature[];
832
+ })[];
833
+ declare const FREE_WORKSPACES_LIMIT = 2;
834
+ declare const getPlanFromPriceId: (priceId: string) => {
835
+ name: string;
836
+ tagline: string;
837
+ price: {
838
+ monthly: number;
839
+ yearly: number;
840
+ ids?: undefined;
841
+ };
842
+ limits: {
843
+ links: number;
844
+ clicks: number;
845
+ domains: number;
846
+ tags: number;
847
+ users: number;
848
+ ai: number;
849
+ api: number;
850
+ };
851
+ colors: {
852
+ bg: string;
853
+ text: string;
854
+ };
855
+ cta: {
856
+ text: string;
857
+ href: string;
858
+ color: string;
859
+ shortText?: undefined;
860
+ };
861
+ featureTitle: string;
862
+ features: PlanFeature[];
863
+ link?: undefined;
864
+ } | {
865
+ name: string;
866
+ tagline: string;
867
+ link: string;
868
+ price: {
869
+ monthly: number;
870
+ yearly: number;
871
+ ids: string[];
872
+ };
873
+ limits: {
874
+ links: number;
875
+ clicks: number;
876
+ domains: number;
877
+ tags: number;
878
+ users: number;
879
+ ai: number;
880
+ api: number;
881
+ };
882
+ colors: {
883
+ bg: string;
884
+ text: string;
885
+ };
886
+ cta: {
887
+ text: string;
888
+ shortText: string;
889
+ href: string;
890
+ color: string;
891
+ };
892
+ featureTitle: string;
893
+ features: PlanFeature[];
894
+ } | {
895
+ name: string;
896
+ tagline: string;
897
+ link: string;
898
+ price: {
899
+ monthly: null;
900
+ yearly: null;
901
+ ids?: undefined;
902
+ };
903
+ limits: {
904
+ links: number;
905
+ clicks: number;
906
+ domains: number;
907
+ tags: number;
908
+ users: number;
909
+ ai: number;
910
+ api: number;
911
+ };
912
+ colors: {
913
+ bg: string;
914
+ text: string;
915
+ };
916
+ cta: {
917
+ text: string;
918
+ href: string;
919
+ color: string;
920
+ shortText?: undefined;
921
+ };
922
+ featureTitle: string;
923
+ features: PlanFeature[];
924
+ } | null;
925
+ declare const getPlanDetails: (plan: string) => {
926
+ name: string;
927
+ tagline: string;
928
+ link: string;
929
+ price: {
930
+ monthly: number;
931
+ yearly: number;
932
+ ids: string[];
933
+ };
934
+ limits: {
935
+ links: number;
936
+ clicks: number;
937
+ sales: number;
938
+ domains: number;
939
+ tags: number;
940
+ users: number;
941
+ ai: number;
942
+ api: number;
943
+ };
944
+ colors: {
945
+ bg: string;
946
+ text: string;
947
+ };
948
+ cta: {
949
+ text: string;
950
+ shortText: string;
951
+ href: string;
952
+ color: string;
953
+ };
954
+ featureTitle: string;
955
+ features: PlanFeature[];
956
+ } | {
957
+ name: string;
958
+ tagline: string;
959
+ price: {
960
+ monthly: number;
961
+ yearly: number;
962
+ ids?: undefined;
963
+ };
964
+ limits: {
965
+ links: number;
966
+ clicks: number;
967
+ domains: number;
968
+ tags: number;
969
+ users: number;
970
+ ai: number;
971
+ api: number;
972
+ };
973
+ colors: {
974
+ bg: string;
975
+ text: string;
976
+ };
977
+ cta: {
978
+ text: string;
979
+ href: string;
980
+ color: string;
981
+ shortText?: undefined;
982
+ };
983
+ featureTitle: string;
984
+ features: PlanFeature[];
985
+ link?: undefined;
986
+ } | {
987
+ name: string;
988
+ tagline: string;
989
+ link: string;
990
+ price: {
991
+ monthly: number;
992
+ yearly: number;
993
+ ids: string[];
994
+ };
995
+ limits: {
996
+ links: number;
997
+ clicks: number;
998
+ domains: number;
999
+ tags: number;
1000
+ users: number;
1001
+ ai: number;
1002
+ api: number;
1003
+ };
1004
+ colors: {
1005
+ bg: string;
1006
+ text: string;
1007
+ };
1008
+ cta: {
1009
+ text: string;
1010
+ shortText: string;
1011
+ href: string;
1012
+ color: string;
1013
+ };
1014
+ featureTitle: string;
1015
+ features: PlanFeature[];
1016
+ } | {
1017
+ name: string;
1018
+ tagline: string;
1019
+ link: string;
1020
+ price: {
1021
+ monthly: null;
1022
+ yearly: null;
1023
+ ids?: undefined;
1024
+ };
1025
+ limits: {
1026
+ links: number;
1027
+ clicks: number;
1028
+ domains: number;
1029
+ tags: number;
1030
+ users: number;
1031
+ ai: number;
1032
+ api: number;
1033
+ };
1034
+ colors: {
1035
+ bg: string;
1036
+ text: string;
1037
+ };
1038
+ cta: {
1039
+ text: string;
1040
+ href: string;
1041
+ color: string;
1042
+ shortText?: undefined;
1043
+ };
1044
+ featureTitle: string;
1045
+ features: PlanFeature[];
1046
+ };
1047
+ declare const getCurrentPlan: (plan: string) => {
1048
+ name: string;
1049
+ tagline: string;
1050
+ price: {
1051
+ monthly: number;
1052
+ yearly: number;
1053
+ ids?: undefined;
1054
+ };
1055
+ limits: {
1056
+ links: number;
1057
+ clicks: number;
1058
+ domains: number;
1059
+ tags: number;
1060
+ users: number;
1061
+ ai: number;
1062
+ api: number;
1063
+ };
1064
+ colors: {
1065
+ bg: string;
1066
+ text: string;
1067
+ };
1068
+ cta: {
1069
+ text: string;
1070
+ href: string;
1071
+ color: string;
1072
+ shortText?: undefined;
1073
+ };
1074
+ featureTitle: string;
1075
+ features: PlanFeature[];
1076
+ link?: undefined;
1077
+ } | {
1078
+ name: string;
1079
+ tagline: string;
1080
+ link: string;
1081
+ price: {
1082
+ monthly: number;
1083
+ yearly: number;
1084
+ ids: string[];
1085
+ };
1086
+ limits: {
1087
+ links: number;
1088
+ clicks: number;
1089
+ domains: number;
1090
+ tags: number;
1091
+ users: number;
1092
+ ai: number;
1093
+ api: number;
1094
+ };
1095
+ colors: {
1096
+ bg: string;
1097
+ text: string;
1098
+ };
1099
+ cta: {
1100
+ text: string;
1101
+ shortText: string;
1102
+ href: string;
1103
+ color: string;
1104
+ };
1105
+ featureTitle: string;
1106
+ features: PlanFeature[];
1107
+ } | {
1108
+ name: string;
1109
+ tagline: string;
1110
+ link: string;
1111
+ price: {
1112
+ monthly: null;
1113
+ yearly: null;
1114
+ ids?: undefined;
1115
+ };
1116
+ limits: {
1117
+ links: number;
1118
+ clicks: number;
1119
+ domains: number;
1120
+ tags: number;
1121
+ users: number;
1122
+ ai: number;
1123
+ api: number;
1124
+ };
1125
+ colors: {
1126
+ bg: string;
1127
+ text: string;
1128
+ };
1129
+ cta: {
1130
+ text: string;
1131
+ href: string;
1132
+ color: string;
1133
+ shortText?: undefined;
1134
+ };
1135
+ featureTitle: string;
1136
+ features: PlanFeature[];
1137
+ };
1138
+ declare const getNextPlan: (plan?: string | null) => {
1139
+ name: string;
1140
+ tagline: string;
1141
+ link: string;
1142
+ price: {
1143
+ monthly: number;
1144
+ yearly: number;
1145
+ ids: string[];
1146
+ };
1147
+ limits: {
1148
+ links: number;
1149
+ clicks: number;
1150
+ sales: number;
1151
+ domains: number;
1152
+ tags: number;
1153
+ users: number;
1154
+ ai: number;
1155
+ api: number;
1156
+ };
1157
+ colors: {
1158
+ bg: string;
1159
+ text: string;
1160
+ };
1161
+ cta: {
1162
+ text: string;
1163
+ shortText: string;
1164
+ href: string;
1165
+ color: string;
1166
+ };
1167
+ featureTitle: string;
1168
+ features: PlanFeature[];
1169
+ } | {
1170
+ name: string;
1171
+ tagline: string;
1172
+ price: {
1173
+ monthly: number;
1174
+ yearly: number;
1175
+ ids?: undefined;
1176
+ };
1177
+ limits: {
1178
+ links: number;
1179
+ clicks: number;
1180
+ domains: number;
1181
+ tags: number;
1182
+ users: number;
1183
+ ai: number;
1184
+ api: number;
1185
+ };
1186
+ colors: {
1187
+ bg: string;
1188
+ text: string;
1189
+ };
1190
+ cta: {
1191
+ text: string;
1192
+ href: string;
1193
+ color: string;
1194
+ shortText?: undefined;
1195
+ };
1196
+ featureTitle: string;
1197
+ features: PlanFeature[];
1198
+ link?: undefined;
1199
+ } | {
1200
+ name: string;
1201
+ tagline: string;
1202
+ link: string;
1203
+ price: {
1204
+ monthly: number;
1205
+ yearly: number;
1206
+ ids: string[];
1207
+ };
1208
+ limits: {
1209
+ links: number;
1210
+ clicks: number;
1211
+ domains: number;
1212
+ tags: number;
1213
+ users: number;
1214
+ ai: number;
1215
+ api: number;
1216
+ };
1217
+ colors: {
1218
+ bg: string;
1219
+ text: string;
1220
+ };
1221
+ cta: {
1222
+ text: string;
1223
+ shortText: string;
1224
+ href: string;
1225
+ color: string;
1226
+ };
1227
+ featureTitle: string;
1228
+ features: PlanFeature[];
1229
+ } | {
1230
+ name: string;
1231
+ tagline: string;
1232
+ link: string;
1233
+ price: {
1234
+ monthly: null;
1235
+ yearly: null;
1236
+ ids?: undefined;
1237
+ };
1238
+ limits: {
1239
+ links: number;
1240
+ clicks: number;
1241
+ domains: number;
1242
+ tags: number;
1243
+ users: number;
1244
+ ai: number;
1245
+ api: number;
1246
+ };
1247
+ colors: {
1248
+ bg: string;
1249
+ text: string;
1250
+ };
1251
+ cta: {
1252
+ text: string;
1253
+ href: string;
1254
+ color: string;
1255
+ shortText?: undefined;
1256
+ };
1257
+ featureTitle: string;
1258
+ features: PlanFeature[];
1259
+ };
1260
+
1261
+ export { BUSINESS_PLAN as B, ENTERPRISE_PLAN as E, FREE_PLAN as F, PlanFeature as P, SELF_SERVE_PAID_PLANS as S, PLANS as a, PRO_PLAN as b, PUBLIC_PLANS as c, FREE_WORKSPACES_LIMIT as d, getPlanDetails as e, getCurrentPlan as f, getPlanFromPriceId as g, getNextPlan as h };