@closerepo/radar-contracts 2.3.0 → 2.5.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.
package/dist/index.d.ts CHANGED
@@ -471,11 +471,11 @@ declare const radarResetAnalysisV1Schema: z.ZodObject<{
471
471
  banked_reset: "banked_reset";
472
472
  }>;
473
473
  dimension: z.ZodEnum<{
474
+ month: "month";
474
475
  weekday: "weekday";
475
476
  weekday_group: "weekday_group";
476
477
  hour: "hour";
477
478
  six_hour_block: "six_hour_block";
478
- month: "month";
479
479
  day_of_month: "day_of_month";
480
480
  week_of_month: "week_of_month";
481
481
  weekday_hour: "weekday_hour";
@@ -493,11 +493,11 @@ declare const radarResetAnalysisV1Schema: z.ZodObject<{
493
493
  banked_reset: "banked_reset";
494
494
  }>;
495
495
  dimension: z.ZodEnum<{
496
+ month: "month";
496
497
  weekday: "weekday";
497
498
  weekday_group: "weekday_group";
498
499
  hour: "hour";
499
500
  six_hour_block: "six_hour_block";
500
- month: "month";
501
501
  day_of_month: "day_of_month";
502
502
  week_of_month: "week_of_month";
503
503
  weekday_hour: "weekday_hour";
@@ -586,10 +586,10 @@ declare const radarResetAnalysisV1Schema: z.ZodObject<{
586
586
  }>;
587
587
  timeZone: z.ZodString;
588
588
  dimension: z.ZodEnum<{
589
+ month: "month";
589
590
  weekday: "weekday";
590
591
  hour: "hour";
591
592
  six_hour_block: "six_hour_block";
592
- month: "month";
593
593
  }>;
594
594
  key: z.ZodString;
595
595
  eventCount: z.ZodNumber;
@@ -689,8 +689,8 @@ declare const radarResetPublicationTimingSchema: z.ZodObject<{
689
689
  range: "range";
690
690
  }>>;
691
691
  relation: z.ZodNullable<z.ZodEnum<{
692
- instant: "instant";
693
692
  unbounded: "unbounded";
693
+ instant: "instant";
694
694
  interval: "interval";
695
695
  deadline: "deadline";
696
696
  not_before: "not_before";
@@ -737,8 +737,8 @@ declare const radarResetPendingActionV1Schema: z.ZodObject<{
737
737
  range: "range";
738
738
  }>>;
739
739
  relation: z.ZodNullable<z.ZodEnum<{
740
- instant: "instant";
741
740
  unbounded: "unbounded";
741
+ instant: "instant";
742
742
  interval: "interval";
743
743
  deadline: "deadline";
744
744
  not_before: "not_before";
@@ -749,8 +749,8 @@ declare const radarResetPendingActionV1Schema: z.ZodObject<{
749
749
  }, z.core.$strict>>;
750
750
  }, z.core.$strict>>;
751
751
  noticeTimeline: z.ZodArray<z.ZodObject<{
752
- sourceUrl: z.ZodString;
753
752
  authoredAt: z.ZodISODateTime;
753
+ sourceUrl: z.ZodString;
754
754
  sourceText: z.ZodString;
755
755
  contentCompleteness: z.ZodEnum<{
756
756
  verified_full_text: "verified_full_text";
@@ -1212,11 +1212,11 @@ declare const radarResetExportV1Schema: z.ZodObject<{
1212
1212
  banked_reset: "banked_reset";
1213
1213
  }>;
1214
1214
  dimension: z.ZodEnum<{
1215
+ month: "month";
1215
1216
  weekday: "weekday";
1216
1217
  weekday_group: "weekday_group";
1217
1218
  hour: "hour";
1218
1219
  six_hour_block: "six_hour_block";
1219
- month: "month";
1220
1220
  day_of_month: "day_of_month";
1221
1221
  week_of_month: "week_of_month";
1222
1222
  weekday_hour: "weekday_hour";
@@ -1234,11 +1234,11 @@ declare const radarResetExportV1Schema: z.ZodObject<{
1234
1234
  banked_reset: "banked_reset";
1235
1235
  }>;
1236
1236
  dimension: z.ZodEnum<{
1237
+ month: "month";
1237
1238
  weekday: "weekday";
1238
1239
  weekday_group: "weekday_group";
1239
1240
  hour: "hour";
1240
1241
  six_hour_block: "six_hour_block";
1241
- month: "month";
1242
1242
  day_of_month: "day_of_month";
1243
1243
  week_of_month: "week_of_month";
1244
1244
  weekday_hour: "weekday_hour";
@@ -1327,10 +1327,10 @@ declare const radarResetExportV1Schema: z.ZodObject<{
1327
1327
  }>;
1328
1328
  timeZone: z.ZodString;
1329
1329
  dimension: z.ZodEnum<{
1330
+ month: "month";
1330
1331
  weekday: "weekday";
1331
1332
  hour: "hour";
1332
1333
  six_hour_block: "six_hour_block";
1333
- month: "month";
1334
1334
  }>;
1335
1335
  key: z.ZodString;
1336
1336
  eventCount: z.ZodNumber;
@@ -1453,8 +1453,8 @@ declare const radarResetExportV1Schema: z.ZodObject<{
1453
1453
  range: "range";
1454
1454
  }>>;
1455
1455
  relation: z.ZodNullable<z.ZodEnum<{
1456
- instant: "instant";
1457
1456
  unbounded: "unbounded";
1457
+ instant: "instant";
1458
1458
  interval: "interval";
1459
1459
  deadline: "deadline";
1460
1460
  not_before: "not_before";
@@ -1465,8 +1465,8 @@ declare const radarResetExportV1Schema: z.ZodObject<{
1465
1465
  }, z.core.$strict>>;
1466
1466
  }, z.core.$strict>>;
1467
1467
  noticeTimeline: z.ZodArray<z.ZodObject<{
1468
- sourceUrl: z.ZodString;
1469
1468
  authoredAt: z.ZodISODateTime;
1469
+ sourceUrl: z.ZodString;
1470
1470
  sourceText: z.ZodString;
1471
1471
  contentCompleteness: z.ZodEnum<{
1472
1472
  verified_full_text: "verified_full_text";
@@ -3707,8 +3707,8 @@ declare const radarResetSourceTranslationsSchema: z.ZodObject<{
3707
3707
  }, z.core.$strict>;
3708
3708
  /** Full official-post evidence shared by previews and the internal feed records. */
3709
3709
  declare const radarResetKindNoticeV2Schema: z.ZodObject<{
3710
- sourceUrl: z.ZodString;
3711
3710
  authoredAt: z.ZodISODateTime;
3711
+ sourceUrl: z.ZodString;
3712
3712
  sourceText: z.ZodString;
3713
3713
  contentCompleteness: z.ZodEnum<{
3714
3714
  verified_full_text: "verified_full_text";
@@ -3738,8 +3738,8 @@ declare const radarResetKindNoticeV2Schema: z.ZodObject<{
3738
3738
  declare const radarResetActionDetailV2Schema: z.ZodObject<{
3739
3739
  contractVersion: z.ZodLiteral<2>;
3740
3740
  noticeTimeline: z.ZodArray<z.ZodObject<{
3741
- sourceUrl: z.ZodString;
3742
3741
  authoredAt: z.ZodISODateTime;
3742
+ sourceUrl: z.ZodString;
3743
3743
  sourceText: z.ZodString;
3744
3744
  phase: z.ZodEnum<{
3745
3745
  preview: "preview";
@@ -3813,8 +3813,8 @@ declare const radarResetActionDetailV2Schema: z.ZodObject<{
3813
3813
  }, z.core.$strict>;
3814
3814
  declare const radarResetPendingActionV2Schema: z.ZodObject<{
3815
3815
  noticeTimeline: z.ZodArray<z.ZodObject<{
3816
- sourceUrl: z.ZodString;
3817
3816
  authoredAt: z.ZodISODateTime;
3817
+ sourceUrl: z.ZodString;
3818
3818
  sourceText: z.ZodString;
3819
3819
  contentCompleteness: z.ZodEnum<{
3820
3820
  verified_full_text: "verified_full_text";
@@ -3877,8 +3877,8 @@ declare const radarResetPendingActionV2Schema: z.ZodObject<{
3877
3877
  range: "range";
3878
3878
  }>>;
3879
3879
  relation: z.ZodNullable<z.ZodEnum<{
3880
- instant: "instant";
3881
3880
  unbounded: "unbounded";
3881
+ instant: "instant";
3882
3882
  interval: "interval";
3883
3883
  deadline: "deadline";
3884
3884
  not_before: "not_before";
@@ -3894,8 +3894,8 @@ declare const radarResetExportV2Schema: z.ZodObject<{
3894
3894
  actions: z.ZodArray<z.ZodObject<{
3895
3895
  contractVersion: z.ZodLiteral<2>;
3896
3896
  noticeTimeline: z.ZodArray<z.ZodObject<{
3897
- sourceUrl: z.ZodString;
3898
3897
  authoredAt: z.ZodISODateTime;
3898
+ sourceUrl: z.ZodString;
3899
3899
  sourceText: z.ZodString;
3900
3900
  phase: z.ZodEnum<{
3901
3901
  preview: "preview";
@@ -3969,8 +3969,8 @@ declare const radarResetExportV2Schema: z.ZodObject<{
3969
3969
  }, z.core.$strict>>;
3970
3970
  pendingResetActions: z.ZodArray<z.ZodObject<{
3971
3971
  noticeTimeline: z.ZodArray<z.ZodObject<{
3972
- sourceUrl: z.ZodString;
3973
3972
  authoredAt: z.ZodISODateTime;
3973
+ sourceUrl: z.ZodString;
3974
3974
  sourceText: z.ZodString;
3975
3975
  contentCompleteness: z.ZodEnum<{
3976
3976
  verified_full_text: "verified_full_text";
@@ -4033,8 +4033,8 @@ declare const radarResetExportV2Schema: z.ZodObject<{
4033
4033
  range: "range";
4034
4034
  }>>;
4035
4035
  relation: z.ZodNullable<z.ZodEnum<{
4036
- instant: "instant";
4037
4036
  unbounded: "unbounded";
4037
+ instant: "instant";
4038
4038
  interval: "interval";
4039
4039
  deadline: "deadline";
4040
4040
  not_before: "not_before";
@@ -4482,11 +4482,11 @@ declare const radarResetExportV2Schema: z.ZodObject<{
4482
4482
  banked_reset: "banked_reset";
4483
4483
  }>;
4484
4484
  dimension: z.ZodEnum<{
4485
+ month: "month";
4485
4486
  weekday: "weekday";
4486
4487
  weekday_group: "weekday_group";
4487
4488
  hour: "hour";
4488
4489
  six_hour_block: "six_hour_block";
4489
- month: "month";
4490
4490
  day_of_month: "day_of_month";
4491
4491
  week_of_month: "week_of_month";
4492
4492
  weekday_hour: "weekday_hour";
@@ -4504,11 +4504,11 @@ declare const radarResetExportV2Schema: z.ZodObject<{
4504
4504
  banked_reset: "banked_reset";
4505
4505
  }>;
4506
4506
  dimension: z.ZodEnum<{
4507
+ month: "month";
4507
4508
  weekday: "weekday";
4508
4509
  weekday_group: "weekday_group";
4509
4510
  hour: "hour";
4510
4511
  six_hour_block: "six_hour_block";
4511
- month: "month";
4512
4512
  day_of_month: "day_of_month";
4513
4513
  week_of_month: "week_of_month";
4514
4514
  weekday_hour: "weekday_hour";
@@ -4597,10 +4597,10 @@ declare const radarResetExportV2Schema: z.ZodObject<{
4597
4597
  }>;
4598
4598
  timeZone: z.ZodString;
4599
4599
  dimension: z.ZodEnum<{
4600
+ month: "month";
4600
4601
  weekday: "weekday";
4601
4602
  hour: "hour";
4602
4603
  six_hour_block: "six_hour_block";
4603
- month: "month";
4604
4604
  }>;
4605
4605
  key: z.ZodString;
4606
4606
  eventCount: z.ZodNumber;
@@ -4999,12 +4999,12 @@ declare function projectRadarResetExportV1FromV2(value: RadarResetExportV2): {
4999
4999
  share: number;
5000
5000
  timeZone: string;
5001
5001
  series: "all" | "hard_reset" | "banked_reset";
5002
- dimension: "weekday" | "weekday_group" | "hour" | "six_hour_block" | "month" | "day_of_month" | "week_of_month" | "weekday_hour" | "minute_of_hour" | "five_minute_bucket" | "half_hour_slot" | "time_of_day_minute";
5002
+ dimension: "month" | "weekday" | "weekday_group" | "hour" | "six_hour_block" | "day_of_month" | "week_of_month" | "weekday_hour" | "minute_of_hour" | "five_minute_bucket" | "half_hour_slot" | "time_of_day_minute";
5003
5003
  }[];
5004
5004
  calendarConcentrations: {
5005
5005
  timeZone: string;
5006
5006
  series: "all" | "hard_reset" | "banked_reset";
5007
- dimension: "weekday" | "weekday_group" | "hour" | "six_hour_block" | "month" | "day_of_month" | "week_of_month" | "weekday_hour" | "minute_of_hour" | "five_minute_bucket" | "half_hour_slot" | "time_of_day_minute";
5007
+ dimension: "month" | "weekday" | "weekday_group" | "hour" | "six_hour_block" | "day_of_month" | "week_of_month" | "weekday_hour" | "minute_of_hour" | "five_minute_bucket" | "half_hour_slot" | "time_of_day_minute";
5008
5008
  categoryCount: number;
5009
5009
  nonZeroCategoryCount: number;
5010
5010
  maxShare: number;
@@ -5064,7 +5064,7 @@ declare function projectRadarResetExportV1FromV2(value: RadarResetExportV2): {
5064
5064
  category: "incident_compensation" | "user_milestone" | "celebration";
5065
5065
  series: "all" | "hard_reset" | "banked_reset";
5066
5066
  timeZone: string;
5067
- dimension: "weekday" | "hour" | "six_hour_block" | "month";
5067
+ dimension: "month" | "weekday" | "hour" | "six_hour_block";
5068
5068
  key: string;
5069
5069
  eventCount: number;
5070
5070
  reasonEventCount: number;
@@ -5136,15 +5136,15 @@ declare function projectRadarResetExportV1FromV2(value: RadarResetExportV2): {
5136
5136
  resolution: "resolved" | "unbounded" | "unresolved";
5137
5137
  evidence: string | null;
5138
5138
  precision: "exact" | "approximate" | "range" | null;
5139
- relation: "instant" | "unbounded" | "interval" | "deadline" | "not_before" | null;
5139
+ relation: "unbounded" | "instant" | "interval" | "deadline" | "not_before" | null;
5140
5140
  effectiveWindow: {
5141
5141
  earliestAt: string;
5142
5142
  latestAt: string;
5143
5143
  } | null;
5144
5144
  } | null;
5145
5145
  noticeTimeline: {
5146
- sourceUrl: string;
5147
5146
  authoredAt: string;
5147
+ sourceUrl: string;
5148
5148
  sourceText: string;
5149
5149
  contentCompleteness: "verified_full_text" | "verified_excerpt";
5150
5150
  sourceTextZh: string | null;
@@ -5156,6 +5156,258 @@ declare function projectRadarResetExportV1FromV2(value: RadarResetExportV2): {
5156
5156
  }[];
5157
5157
  };
5158
5158
  //#endregion
5159
+ //#region src/reset-export-v3.d.ts
5160
+ /** Selected per-effect counting records; the backend owns confirmation eligibility. */
5161
+ declare const radarResetStatisticsV1Schema: z.ZodObject<{
5162
+ timeBasis: z.ZodLiteral<"confirmation_priority">;
5163
+ startAt: z.ZodISODateTime;
5164
+ total: z.ZodNumber;
5165
+ hardResetCount: z.ZodNumber;
5166
+ bankedResetCount: z.ZodNumber;
5167
+ unknownCount: z.ZodNumber;
5168
+ records: z.ZodArray<z.ZodObject<{
5169
+ resetActionId: z.ZodString;
5170
+ effect: z.ZodNullable<z.ZodEnum<{
5171
+ hard_reset: "hard_reset";
5172
+ banked_reset: "banked_reset";
5173
+ }>>;
5174
+ at: z.ZodISODateTime;
5175
+ basis: z.ZodEnum<{
5176
+ announcement: "announcement";
5177
+ execution_confirmation: "execution_confirmation";
5178
+ }>;
5179
+ sourceUrl: z.ZodString;
5180
+ }, z.core.$strict>>;
5181
+ intervalSummary: z.ZodNullable<z.ZodObject<{
5182
+ mean: z.ZodNumber;
5183
+ max: z.ZodNumber;
5184
+ }, z.core.$strict>>;
5185
+ }, z.core.$strict>;
5186
+ /** V3 replaces the V1 analysis; V2 action and pending invariants stay unchanged. */
5187
+ declare const radarResetExportV3Schema: z.ZodObject<{
5188
+ generatedAt: z.ZodISODateTime;
5189
+ actions: z.ZodArray<z.ZodObject<{
5190
+ contractVersion: z.ZodLiteral<2>;
5191
+ noticeTimeline: z.ZodArray<z.ZodObject<{
5192
+ authoredAt: z.ZodISODateTime;
5193
+ sourceUrl: z.ZodString;
5194
+ sourceText: z.ZodString;
5195
+ phase: z.ZodEnum<{
5196
+ preview: "preview";
5197
+ executed: "executed";
5198
+ }>;
5199
+ contentCompleteness: z.ZodEnum<{
5200
+ verified_full_text: "verified_full_text";
5201
+ verified_excerpt: "verified_excerpt";
5202
+ }>;
5203
+ sourceAccount: z.ZodObject<{
5204
+ displayName: z.ZodString;
5205
+ }, z.core.$strict>;
5206
+ sourceTranslations: z.ZodObject<{
5207
+ "zh-Hans": z.ZodNullable<z.ZodString>;
5208
+ "zh-Hant": z.ZodNullable<z.ZodString>;
5209
+ ja: z.ZodNullable<z.ZodString>;
5210
+ ko: z.ZodNullable<z.ZodString>;
5211
+ }, z.core.$strict>;
5212
+ }, z.core.$strict>>;
5213
+ resetActionId: z.ZodString;
5214
+ firstAnnouncedAt: z.ZodISODateTime;
5215
+ effectiveAt: z.ZodNullable<z.ZodISODateTime>;
5216
+ resetEffects: z.ZodDiscriminatedUnion<[z.ZodObject<{
5217
+ state: z.ZodLiteral<"known">;
5218
+ values: z.ZodArray<z.ZodEnum<{
5219
+ hard_reset: "hard_reset";
5220
+ banked_reset: "banked_reset";
5221
+ }>>;
5222
+ }, z.core.$strict>, z.ZodObject<{
5223
+ state: z.ZodLiteral<"unknown">;
5224
+ values: z.ZodTuple<[], null>;
5225
+ }, z.core.$strict>], "state">;
5226
+ actionScope: z.ZodObject<{
5227
+ products: z.ZodArray<z.ZodEnum<{
5228
+ codex: "codex";
5229
+ chatgpt_work: "chatgpt_work";
5230
+ }>>;
5231
+ audienceClaims: z.ZodArray<z.ZodObject<{
5232
+ audience: z.ZodEnum<{
5233
+ all_users: "all_users";
5234
+ paid_users: "paid_users";
5235
+ named_plans: "named_plans";
5236
+ affected_subset: "affected_subset";
5237
+ }>;
5238
+ plans: z.ZodArray<z.ZodEnum<{
5239
+ plus: "plus";
5240
+ pro: "pro";
5241
+ }>>;
5242
+ subsetSummary: z.ZodNullable<z.ZodString>;
5243
+ }, z.core.$strict>>;
5244
+ }, z.core.$strict>;
5245
+ noticeCount: z.ZodNumber;
5246
+ reasons: z.ZodArray<z.ZodObject<{
5247
+ category: z.ZodEnum<{
5248
+ incident_compensation: "incident_compensation";
5249
+ user_milestone: "user_milestone";
5250
+ celebration: "celebration";
5251
+ }>;
5252
+ summary: z.ZodString;
5253
+ basis: z.ZodEnum<{
5254
+ unknown: "unknown";
5255
+ explicit_in_reset_post: "explicit_in_reset_post";
5256
+ explicit_in_related_source: "explicit_in_related_source";
5257
+ contextual_inference: "contextual_inference";
5258
+ }>;
5259
+ evidence: z.ZodArray<z.ZodObject<{
5260
+ excerpt: z.ZodString;
5261
+ sourceUrl: z.ZodString;
5262
+ }, z.core.$strict>>;
5263
+ }, z.core.$strict>>;
5264
+ }, z.core.$strict>>;
5265
+ pendingResetActions: z.ZodArray<z.ZodObject<{
5266
+ noticeTimeline: z.ZodArray<z.ZodObject<{
5267
+ authoredAt: z.ZodISODateTime;
5268
+ sourceUrl: z.ZodString;
5269
+ sourceText: z.ZodString;
5270
+ contentCompleteness: z.ZodEnum<{
5271
+ verified_full_text: "verified_full_text";
5272
+ verified_excerpt: "verified_excerpt";
5273
+ }>;
5274
+ sourceAccount: z.ZodObject<{
5275
+ displayName: z.ZodString;
5276
+ }, z.core.$strict>;
5277
+ sourceTranslations: z.ZodObject<{
5278
+ "zh-Hans": z.ZodNullable<z.ZodString>;
5279
+ "zh-Hant": z.ZodNullable<z.ZodString>;
5280
+ ja: z.ZodNullable<z.ZodString>;
5281
+ ko: z.ZodNullable<z.ZodString>;
5282
+ }, z.core.$strict>;
5283
+ kinds: z.ZodArray<z.ZodEnum<{
5284
+ preview: "preview";
5285
+ executed: "executed";
5286
+ schedule_change: "schedule_change";
5287
+ scope_change: "scope_change";
5288
+ cancel_preview: "cancel_preview";
5289
+ delivery_issue: "delivery_issue";
5290
+ make_up: "make_up";
5291
+ repair: "repair";
5292
+ update: "update";
5293
+ }>>;
5294
+ }, z.core.$strict>>;
5295
+ resetActionId: z.ZodString;
5296
+ state: z.ZodEnum<{
5297
+ preview: "preview";
5298
+ executed: "executed";
5299
+ }>;
5300
+ resetEffects: z.ZodDiscriminatedUnion<[z.ZodObject<{
5301
+ state: z.ZodLiteral<"known">;
5302
+ values: z.ZodArray<z.ZodEnum<{
5303
+ hard_reset: "hard_reset";
5304
+ banked_reset: "banked_reset";
5305
+ }>>;
5306
+ }, z.core.$strict>, z.ZodObject<{
5307
+ state: z.ZodLiteral<"unknown">;
5308
+ values: z.ZodTuple<[], null>;
5309
+ }, z.core.$strict>], "state">;
5310
+ executedEffects: z.ZodArray<z.ZodEnum<{
5311
+ hard_reset: "hard_reset";
5312
+ banked_reset: "banked_reset";
5313
+ }>>;
5314
+ pendingEffects: z.ZodArray<z.ZodEnum<{
5315
+ hard_reset: "hard_reset";
5316
+ banked_reset: "banked_reset";
5317
+ }>>;
5318
+ plannedTiming: z.ZodNullable<z.ZodObject<{
5319
+ resolution: z.ZodEnum<{
5320
+ resolved: "resolved";
5321
+ unbounded: "unbounded";
5322
+ unresolved: "unresolved";
5323
+ }>;
5324
+ evidence: z.ZodNullable<z.ZodString>;
5325
+ precision: z.ZodNullable<z.ZodEnum<{
5326
+ exact: "exact";
5327
+ approximate: "approximate";
5328
+ range: "range";
5329
+ }>>;
5330
+ relation: z.ZodNullable<z.ZodEnum<{
5331
+ unbounded: "unbounded";
5332
+ instant: "instant";
5333
+ interval: "interval";
5334
+ deadline: "deadline";
5335
+ not_before: "not_before";
5336
+ }>>;
5337
+ effectiveWindow: z.ZodNullable<z.ZodObject<{
5338
+ earliestAt: z.ZodISODateTime;
5339
+ latestAt: z.ZodISODateTime;
5340
+ }, z.core.$strict>>;
5341
+ }, z.core.$strict>>;
5342
+ }, z.core.$strict>>;
5343
+ contractVersion: z.ZodLiteral<3>;
5344
+ statistics: z.ZodObject<{
5345
+ timeBasis: z.ZodLiteral<"confirmation_priority">;
5346
+ startAt: z.ZodISODateTime;
5347
+ total: z.ZodNumber;
5348
+ hardResetCount: z.ZodNumber;
5349
+ bankedResetCount: z.ZodNumber;
5350
+ unknownCount: z.ZodNumber;
5351
+ records: z.ZodArray<z.ZodObject<{
5352
+ resetActionId: z.ZodString;
5353
+ effect: z.ZodNullable<z.ZodEnum<{
5354
+ hard_reset: "hard_reset";
5355
+ banked_reset: "banked_reset";
5356
+ }>>;
5357
+ at: z.ZodISODateTime;
5358
+ basis: z.ZodEnum<{
5359
+ announcement: "announcement";
5360
+ execution_confirmation: "execution_confirmation";
5361
+ }>;
5362
+ sourceUrl: z.ZodString;
5363
+ }, z.core.$strict>>;
5364
+ intervalSummary: z.ZodNullable<z.ZodObject<{
5365
+ mean: z.ZodNumber;
5366
+ max: z.ZodNumber;
5367
+ }, z.core.$strict>>;
5368
+ }, z.core.$strict>;
5369
+ }, z.core.$strict>;
5370
+ /** Standard Core response pinned to the same accepted source watermark as V2 capture. */
5371
+ declare const radarResetStatisticsResponseV3Schema: z.ZodObject<{
5372
+ contractVersion: z.ZodLiteral<1>;
5373
+ data: z.ZodObject<{
5374
+ sourceWatermark: z.ZodString;
5375
+ statistics: z.ZodObject<{
5376
+ timeBasis: z.ZodLiteral<"confirmation_priority">;
5377
+ startAt: z.ZodISODateTime;
5378
+ total: z.ZodNumber;
5379
+ hardResetCount: z.ZodNumber;
5380
+ bankedResetCount: z.ZodNumber;
5381
+ unknownCount: z.ZodNumber;
5382
+ records: z.ZodArray<z.ZodObject<{
5383
+ resetActionId: z.ZodString;
5384
+ effect: z.ZodNullable<z.ZodEnum<{
5385
+ hard_reset: "hard_reset";
5386
+ banked_reset: "banked_reset";
5387
+ }>>;
5388
+ at: z.ZodISODateTime;
5389
+ basis: z.ZodEnum<{
5390
+ announcement: "announcement";
5391
+ execution_confirmation: "execution_confirmation";
5392
+ }>;
5393
+ sourceUrl: z.ZodString;
5394
+ }, z.core.$strict>>;
5395
+ intervalSummary: z.ZodNullable<z.ZodObject<{
5396
+ mean: z.ZodNumber;
5397
+ max: z.ZodNumber;
5398
+ }, z.core.$strict>>;
5399
+ }, z.core.$strict>;
5400
+ }, z.core.$strict>;
5401
+ meta: z.ZodObject<{
5402
+ observedAt: z.ZodISODateTime;
5403
+ }, z.core.$strict>;
5404
+ }, z.core.$strict>;
5405
+ type RadarResetStatisticsV1 = z.infer<typeof radarResetStatisticsV1Schema>;
5406
+ type RadarResetExportV3 = z.infer<typeof radarResetExportV3Schema>;
5407
+ type RadarResetStatisticsResponseV3 = z.infer<typeof radarResetStatisticsResponseV3Schema>;
5408
+ /** Parses a complete V3 snapshot without inferring confirmation facts on the client. */
5409
+ declare const parseRadarResetExportV3: (value: unknown) => RadarResetExportV3;
5410
+ //#endregion
5159
5411
  //#region src/reset-public-records.d.ts
5160
5412
  /** Internal Core-to-publisher endpoint; the public subscription surface is Atom only. */
5161
5413
  declare const radarResetPublicRecordsCorePath = "/api/v1/codex-reset-public-records";
@@ -5211,8 +5463,8 @@ declare const actionShape: z.ZodObject<{
5211
5463
  }, z.core.$strict>;
5212
5464
  effectiveAt: z.ZodNullable<z.ZodISODateTime>;
5213
5465
  noticeTimeline: z.ZodArray<z.ZodObject<{
5214
- sourceUrl: z.ZodString;
5215
5466
  authoredAt: z.ZodISODateTime;
5467
+ sourceUrl: z.ZodString;
5216
5468
  sourceText: z.ZodString;
5217
5469
  contentCompleteness: z.ZodEnum<{
5218
5470
  verified_full_text: "verified_full_text";
@@ -5244,8 +5496,8 @@ declare const actionShape: z.ZodObject<{
5244
5496
  declare const projectRadarResetPublicActionToV2: (action: z.infer<typeof actionShape>) => {
5245
5497
  contractVersion: 2;
5246
5498
  noticeTimeline: {
5247
- sourceUrl: string;
5248
5499
  authoredAt: string;
5500
+ sourceUrl: string;
5249
5501
  sourceText: string;
5250
5502
  phase: "preview" | "executed";
5251
5503
  contentCompleteness: "verified_full_text" | "verified_excerpt";
@@ -5340,8 +5592,8 @@ declare const radarResetPublicActionV1Schema: z.ZodObject<{
5340
5592
  }, z.core.$strict>;
5341
5593
  effectiveAt: z.ZodNullable<z.ZodISODateTime>;
5342
5594
  noticeTimeline: z.ZodArray<z.ZodObject<{
5343
- sourceUrl: z.ZodString;
5344
5595
  authoredAt: z.ZodISODateTime;
5596
+ sourceUrl: z.ZodString;
5345
5597
  sourceText: z.ZodString;
5346
5598
  contentCompleteness: z.ZodEnum<{
5347
5599
  verified_full_text: "verified_full_text";
@@ -5372,8 +5624,8 @@ declare const radarResetPublicActionV1Schema: z.ZodObject<{
5372
5624
  /** Official history survives website display controls; cancellation is not required. */
5373
5625
  declare const radarResetUnexecutedActionV1Schema: z.ZodObject<{
5374
5626
  noticeTimeline: z.ZodArray<z.ZodObject<{
5375
- sourceUrl: z.ZodString;
5376
5627
  authoredAt: z.ZodISODateTime;
5628
+ sourceUrl: z.ZodString;
5377
5629
  sourceText: z.ZodString;
5378
5630
  contentCompleteness: z.ZodEnum<{
5379
5631
  verified_full_text: "verified_full_text";
@@ -5424,8 +5676,8 @@ declare const radarResetUnexecutedActionV1Schema: z.ZodObject<{
5424
5676
  range: "range";
5425
5677
  }>>;
5426
5678
  relation: z.ZodNullable<z.ZodEnum<{
5427
- instant: "instant";
5428
5679
  unbounded: "unbounded";
5680
+ instant: "instant";
5429
5681
  interval: "interval";
5430
5682
  deadline: "deadline";
5431
5683
  not_before: "not_before";
@@ -5497,8 +5749,8 @@ declare const radarResetPublicRecordsV1Schema: z.ZodObject<{
5497
5749
  }, z.core.$strict>;
5498
5750
  effectiveAt: z.ZodNullable<z.ZodISODateTime>;
5499
5751
  noticeTimeline: z.ZodArray<z.ZodObject<{
5500
- sourceUrl: z.ZodString;
5501
5752
  authoredAt: z.ZodISODateTime;
5753
+ sourceUrl: z.ZodString;
5502
5754
  sourceText: z.ZodString;
5503
5755
  contentCompleteness: z.ZodEnum<{
5504
5756
  verified_full_text: "verified_full_text";
@@ -5528,8 +5780,8 @@ declare const radarResetPublicRecordsV1Schema: z.ZodObject<{
5528
5780
  }, z.core.$strict>>;
5529
5781
  pendingResetActions: z.ZodArray<z.ZodObject<{
5530
5782
  noticeTimeline: z.ZodArray<z.ZodObject<{
5531
- sourceUrl: z.ZodString;
5532
5783
  authoredAt: z.ZodISODateTime;
5784
+ sourceUrl: z.ZodString;
5533
5785
  sourceText: z.ZodString;
5534
5786
  contentCompleteness: z.ZodEnum<{
5535
5787
  verified_full_text: "verified_full_text";
@@ -5592,8 +5844,8 @@ declare const radarResetPublicRecordsV1Schema: z.ZodObject<{
5592
5844
  range: "range";
5593
5845
  }>>;
5594
5846
  relation: z.ZodNullable<z.ZodEnum<{
5595
- instant: "instant";
5596
5847
  unbounded: "unbounded";
5848
+ instant: "instant";
5597
5849
  interval: "interval";
5598
5850
  deadline: "deadline";
5599
5851
  not_before: "not_before";
@@ -5606,8 +5858,8 @@ declare const radarResetPublicRecordsV1Schema: z.ZodObject<{
5606
5858
  }, z.core.$strict>>;
5607
5859
  unexecutedResetActions: z.ZodArray<z.ZodObject<{
5608
5860
  noticeTimeline: z.ZodArray<z.ZodObject<{
5609
- sourceUrl: z.ZodString;
5610
5861
  authoredAt: z.ZodISODateTime;
5862
+ sourceUrl: z.ZodString;
5611
5863
  sourceText: z.ZodString;
5612
5864
  contentCompleteness: z.ZodEnum<{
5613
5865
  verified_full_text: "verified_full_text";
@@ -5658,8 +5910,8 @@ declare const radarResetPublicRecordsV1Schema: z.ZodObject<{
5658
5910
  range: "range";
5659
5911
  }>>;
5660
5912
  relation: z.ZodNullable<z.ZodEnum<{
5661
- instant: "instant";
5662
5913
  unbounded: "unbounded";
5914
+ instant: "instant";
5663
5915
  interval: "interval";
5664
5916
  deadline: "deadline";
5665
5917
  not_before: "not_before";
@@ -6687,6 +6939,7 @@ declare const radarWebsitePagePaths: {
6687
6939
  readonly improvement: "/codex/28-day-challenge";
6688
6940
  readonly changelog: "/codex/changelog";
6689
6941
  readonly models: "/codex/models";
6942
+ readonly community: "/codex/community";
6690
6943
  };
6691
6944
  /** Product and version together identify a release; a version alone is not unique. */
6692
6945
  declare const radarCodexReleaseIdentitySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -6858,9 +7111,9 @@ declare const radarBrowserSubscriptionSaveReq: z.ZodDiscriminatedUnion<[z.ZodObj
6858
7111
  improvement: z.ZodBoolean;
6859
7112
  }, z.core.$strict>;
6860
7113
  locale: z.ZodEnum<{
7114
+ en: "en";
6861
7115
  "zh-Hans": "zh-Hans";
6862
7116
  "zh-Hant": "zh-Hant";
6863
- en: "en";
6864
7117
  ja: "ja";
6865
7118
  ko: "ko";
6866
7119
  }>;
@@ -6880,9 +7133,9 @@ declare const radarBrowserSubscriptionSaveReq: z.ZodDiscriminatedUnion<[z.ZodObj
6880
7133
  }, z.core.$strict>, z.ZodObject<{
6881
7134
  action: z.ZodLiteral<"set_locale">;
6882
7135
  locale: z.ZodEnum<{
7136
+ en: "en";
6883
7137
  "zh-Hans": "zh-Hans";
6884
7138
  "zh-Hant": "zh-Hant";
6885
- en: "en";
6886
7139
  ja: "ja";
6887
7140
  ko: "ko";
6888
7141
  }>;
@@ -6988,9 +7241,9 @@ declare const radarBrowserSubscriptionViewSchema: z.ZodObject<{
6988
7241
  improvement: z.ZodBoolean;
6989
7242
  }, z.core.$strict>;
6990
7243
  locale: z.ZodNullable<z.ZodEnum<{
7244
+ en: "en";
6991
7245
  "zh-Hans": "zh-Hans";
6992
7246
  "zh-Hant": "zh-Hant";
6993
- en: "en";
6994
7247
  ja: "ja";
6995
7248
  ko: "ko";
6996
7249
  }>>;
@@ -7060,7 +7313,7 @@ declare function projectRadarBrowserSubscriptionSelection<Topics extends RadarBr
7060
7313
  locale: RadarWebsiteLocale | null;
7061
7314
  }, command: SubscriptionSelectionCommand<Topics>): {
7062
7315
  topics: Topics;
7063
- locale: "zh-Hans" | "zh-Hant" | "en" | "ja" | "ko" | null;
7316
+ locale: "en" | "zh-Hans" | "zh-Hant" | "ja" | "ko" | null;
7064
7317
  };
7065
7318
  declare const radarBrowserSubscriptionRes: z.ZodObject<{
7066
7319
  data: z.ZodObject<{
@@ -7075,9 +7328,9 @@ declare const radarBrowserSubscriptionRes: z.ZodObject<{
7075
7328
  improvement: z.ZodBoolean;
7076
7329
  }, z.core.$strict>;
7077
7330
  locale: z.ZodNullable<z.ZodEnum<{
7331
+ en: "en";
7078
7332
  "zh-Hans": "zh-Hans";
7079
7333
  "zh-Hant": "zh-Hant";
7080
- en: "en";
7081
7334
  ja: "ja";
7082
7335
  ko: "ko";
7083
7336
  }>>;
@@ -7171,9 +7424,9 @@ type RadarBrowserTopicsV2 = z.infer<typeof radarBrowserTopicsV2Schema>;
7171
7424
  declare const radarBrowserSubscriptionSaveV2Req: z.ZodDiscriminatedUnion<[z.ZodObject<{
7172
7425
  action: z.ZodLiteral<"register">;
7173
7426
  locale: z.ZodEnum<{
7427
+ en: "en";
7174
7428
  "zh-Hans": "zh-Hans";
7175
7429
  "zh-Hant": "zh-Hant";
7176
- en: "en";
7177
7430
  ja: "ja";
7178
7431
  ko: "ko";
7179
7432
  }>;
@@ -7199,9 +7452,9 @@ declare const radarBrowserSubscriptionSaveV2Req: z.ZodDiscriminatedUnion<[z.ZodO
7199
7452
  }, z.core.$strict>, z.ZodObject<{
7200
7453
  action: z.ZodLiteral<"set_locale">;
7201
7454
  locale: z.ZodEnum<{
7455
+ en: "en";
7202
7456
  "zh-Hans": "zh-Hans";
7203
7457
  "zh-Hant": "zh-Hant";
7204
- en: "en";
7205
7458
  ja: "ja";
7206
7459
  ko: "ko";
7207
7460
  }>;
@@ -7278,9 +7531,9 @@ declare const radarBrowserSubscriptionViewV2Schema: z.ZodObject<{
7278
7531
  }>;
7279
7532
  revision: z.ZodString;
7280
7533
  locale: z.ZodNullable<z.ZodEnum<{
7534
+ en: "en";
7281
7535
  "zh-Hans": "zh-Hans";
7282
7536
  "zh-Hant": "zh-Hant";
7283
- en: "en";
7284
7537
  ja: "ja";
7285
7538
  ko: "ko";
7286
7539
  }>>;
@@ -7347,9 +7600,9 @@ declare const radarBrowserSubscriptionV2Res: z.ZodObject<{
7347
7600
  }>;
7348
7601
  revision: z.ZodString;
7349
7602
  locale: z.ZodNullable<z.ZodEnum<{
7603
+ en: "en";
7350
7604
  "zh-Hans": "zh-Hans";
7351
7605
  "zh-Hant": "zh-Hant";
7352
- en: "en";
7353
7606
  ja: "ja";
7354
7607
  ko: "ko";
7355
7608
  }>>;
@@ -7510,8 +7763,8 @@ declare const radarResetClueLifetimeMs: number;
7510
7763
  declare const radarResetClueMaxBytes: number;
7511
7764
  /** Core selects official clues; clients never infer eligibility from the source text. */
7512
7765
  declare const radarResetClueSchema: z.ZodObject<{
7513
- sourceUrl: z.ZodString;
7514
7766
  authoredAt: z.ZodISODateTime;
7767
+ sourceUrl: z.ZodString;
7515
7768
  sourceText: z.ZodString;
7516
7769
  contentCompleteness: z.ZodEnum<{
7517
7770
  verified_full_text: "verified_full_text";
@@ -7536,8 +7789,8 @@ declare const radarResetClueSchema: z.ZodObject<{
7536
7789
  range: "range";
7537
7790
  }>>;
7538
7791
  relation: z.ZodNullable<z.ZodEnum<{
7539
- instant: "instant";
7540
7792
  unbounded: "unbounded";
7793
+ instant: "instant";
7541
7794
  interval: "interval";
7542
7795
  deadline: "deadline";
7543
7796
  not_before: "not_before";
@@ -7553,8 +7806,8 @@ declare const radarResetClueSchema: z.ZodObject<{
7553
7806
  declare const radarResetClueSnapshotSchema: z.ZodObject<{
7554
7807
  contractVersion: z.ZodLiteral<1>;
7555
7808
  clue: z.ZodNullable<z.ZodObject<{
7556
- sourceUrl: z.ZodString;
7557
7809
  authoredAt: z.ZodISODateTime;
7810
+ sourceUrl: z.ZodString;
7558
7811
  sourceText: z.ZodString;
7559
7812
  contentCompleteness: z.ZodEnum<{
7560
7813
  verified_full_text: "verified_full_text";
@@ -7579,8 +7832,8 @@ declare const radarResetClueSnapshotSchema: z.ZodObject<{
7579
7832
  range: "range";
7580
7833
  }>>;
7581
7834
  relation: z.ZodNullable<z.ZodEnum<{
7582
- instant: "instant";
7583
7835
  unbounded: "unbounded";
7836
+ instant: "instant";
7584
7837
  interval: "interval";
7585
7838
  deadline: "deadline";
7586
7839
  not_before: "not_before";
@@ -7641,9 +7894,9 @@ declare const radarCodexReleaseDirectorySchema: z.ZodObject<{
7641
7894
  declare const radarCodexReleaseMonthSchema: z.ZodObject<{
7642
7895
  contractVersion: z.ZodLiteral<2>;
7643
7896
  locale: z.ZodEnum<{
7897
+ en: "en";
7644
7898
  "zh-Hans": "zh-Hans";
7645
7899
  "zh-Hant": "zh-Hant";
7646
- en: "en";
7647
7900
  ja: "ja";
7648
7901
  ko: "ko";
7649
7902
  }>;
@@ -7660,9 +7913,9 @@ declare const radarCodexReleaseMonthSchema: z.ZodObject<{
7660
7913
  state: z.ZodLiteral<"ready">;
7661
7914
  value: z.ZodObject<{
7662
7915
  locale: z.ZodEnum<{
7916
+ en: "en";
7663
7917
  "zh-Hans": "zh-Hans";
7664
7918
  "zh-Hant": "zh-Hant";
7665
- en: "en";
7666
7919
  ja: "ja";
7667
7920
  ko: "ko";
7668
7921
  }>;
@@ -7714,9 +7967,9 @@ declare const radarCodexReleaseNotesSchema: z.ZodObject<{
7714
7967
  version: z.ZodString;
7715
7968
  revision: z.ZodString;
7716
7969
  locale: z.ZodEnum<{
7970
+ en: "en";
7717
7971
  "zh-Hans": "zh-Hans";
7718
7972
  "zh-Hant": "zh-Hant";
7719
- en: "en";
7720
7973
  ja: "ja";
7721
7974
  ko: "ko";
7722
7975
  }>;
@@ -7777,7 +8030,7 @@ declare const parseRadarCodexReleaseDirectory: (value: unknown) => {
7777
8030
  };
7778
8031
  declare const parseRadarCodexReleaseMonth: (value: unknown) => {
7779
8032
  contractVersion: 2;
7780
- locale: "zh-Hans" | "zh-Hant" | "en" | "ja" | "ko";
8033
+ locale: "en" | "zh-Hans" | "zh-Hant" | "ja" | "ko";
7781
8034
  month: string;
7782
8035
  releases: {
7783
8036
  source: {
@@ -7790,7 +8043,7 @@ declare const parseRadarCodexReleaseMonth: (value: unknown) => {
7790
8043
  } | {
7791
8044
  state: "ready";
7792
8045
  value: {
7793
- locale: "zh-Hans" | "zh-Hant" | "en" | "ja" | "ko";
8046
+ locale: "en" | "zh-Hans" | "zh-Hant" | "ja" | "ko";
7794
8047
  points: string[];
7795
8048
  };
7796
8049
  } | {
@@ -7822,7 +8075,7 @@ declare const parseRadarCodexReleaseNotes: (value: unknown) => {
7822
8075
  product: "cli" | "app";
7823
8076
  version: string;
7824
8077
  revision: string;
7825
- locale: "zh-Hans" | "zh-Hant" | "en" | "ja" | "ko";
8078
+ locale: "en" | "zh-Hans" | "zh-Hant" | "ja" | "ko";
7826
8079
  original: {
7827
8080
  title: string | null;
7828
8081
  items: {
@@ -7876,7 +8129,7 @@ declare const readRadarCodexReleaseDirectory: (response: Response) => Promise<{
7876
8129
  }>;
7877
8130
  declare const readRadarCodexReleaseMonth: (response: Response) => Promise<{
7878
8131
  contractVersion: 2;
7879
- locale: "zh-Hans" | "zh-Hant" | "en" | "ja" | "ko";
8132
+ locale: "en" | "zh-Hans" | "zh-Hant" | "ja" | "ko";
7880
8133
  month: string;
7881
8134
  releases: {
7882
8135
  source: {
@@ -7889,7 +8142,7 @@ declare const readRadarCodexReleaseMonth: (response: Response) => Promise<{
7889
8142
  } | {
7890
8143
  state: "ready";
7891
8144
  value: {
7892
- locale: "zh-Hans" | "zh-Hant" | "en" | "ja" | "ko";
8145
+ locale: "en" | "zh-Hans" | "zh-Hant" | "ja" | "ko";
7893
8146
  points: string[];
7894
8147
  };
7895
8148
  } | {
@@ -7921,7 +8174,7 @@ declare const readRadarCodexReleaseNotes: (response: Response) => Promise<{
7921
8174
  product: "cli" | "app";
7922
8175
  version: string;
7923
8176
  revision: string;
7924
- locale: "zh-Hans" | "zh-Hant" | "en" | "ja" | "ko";
8177
+ locale: "en" | "zh-Hans" | "zh-Hant" | "ja" | "ko";
7925
8178
  original: {
7926
8179
  title: string | null;
7927
8180
  items: {
@@ -7963,9 +8216,9 @@ declare const radarCodexModelsMaxBytes: number;
7963
8216
  declare const radarCodexModelsSchema: z.ZodObject<{
7964
8217
  contractVersion: z.ZodLiteral<1>;
7965
8218
  locale: z.ZodEnum<{
8219
+ en: "en";
7966
8220
  "zh-Hans": "zh-Hans";
7967
8221
  "zh-Hant": "zh-Hant";
7968
- en: "en";
7969
8222
  ja: "ja";
7970
8223
  ko: "ko";
7971
8224
  }>;
@@ -8096,9 +8349,9 @@ declare const radarCodexModelsSchema: z.ZodObject<{
8096
8349
  state: z.ZodLiteral<"ready">;
8097
8350
  value: z.ZodObject<{
8098
8351
  locale: z.ZodEnum<{
8352
+ en: "en";
8099
8353
  "zh-Hans": "zh-Hans";
8100
8354
  "zh-Hant": "zh-Hant";
8101
- en: "en";
8102
8355
  ja: "ja";
8103
8356
  ko: "ko";
8104
8357
  }>;
@@ -8146,7 +8399,7 @@ declare const parseRadarCodexModels: (value: unknown) => RadarCodexModels;
8146
8399
  /** Reads the shared public model document with bounded transport and retained failure causes. */
8147
8400
  declare const readRadarCodexModels: (response: Response) => Promise<{
8148
8401
  contractVersion: 1;
8149
- locale: "zh-Hans" | "zh-Hant" | "en" | "ja" | "ko";
8402
+ locale: "en" | "zh-Hans" | "zh-Hant" | "ja" | "ko";
8150
8403
  models: {
8151
8404
  modelId: string;
8152
8405
  name: string;
@@ -8245,7 +8498,7 @@ declare const readRadarCodexModels: (response: Response) => Promise<{
8245
8498
  about: {
8246
8499
  state: "ready";
8247
8500
  value: {
8248
- locale: "zh-Hans" | "zh-Hant" | "en" | "ja" | "ko";
8501
+ locale: "en" | "zh-Hans" | "zh-Hant" | "ja" | "ko";
8249
8502
  paragraphs: string[];
8250
8503
  };
8251
8504
  } | {
@@ -8283,4 +8536,362 @@ declare const readRadarCodexModels: (response: Response) => Promise<{
8283
8536
  /** Fixed model-catalog locator for one supported website language. */
8284
8537
  declare const radarCodexModelsPath: (locale: RadarWebsiteLocale) => string;
8285
8538
  //#endregion
8286
- export { CreateRadarResetSourceErrorEnvelopeInputV2, RadarActivityFile, RadarActivityFileV2, RadarActivityFileV3, RadarActivityProgress, RadarActivityProgressV2, RadarActivityProgressV3, RadarActivityReactionId, RadarBrowserNotificationProjection, RadarBrowserSubscriptionFailure, RadarBrowserSubscriptionRead, RadarBrowserSubscriptionSave, RadarBrowserSubscriptionSaveV2, RadarBrowserSubscriptionView, RadarBrowserSubscriptionViewV2, RadarBrowserTopics, RadarBrowserTopicsV2, RadarCodexGuessChoice, RadarCodexGuessError, RadarCodexGuessSaveReq, RadarCodexGuessView, RadarCodexModel, RadarCodexModels, RadarCodexProgressChange, RadarCodexProgressChangeV2, RadarCodexProgressChangeV3, RadarCodexProgressChangesV1, RadarCodexProgressChangesV2, RadarCodexProgressChangesV3, RadarCodexProgressEntryV3, RadarCodexProgressEntryV5, RadarCodexProgressImprovementV5, RadarCodexProgressPostRoleV5, RadarCodexProgressPostV5, RadarCodexProgressResetEntryV5, RadarCodexProgressTitleV3, RadarCodexProgressV1, RadarCodexProgressV2, RadarCodexProgressV3, RadarCodexProgressV4, RadarCodexProgressV5, RadarCodexReleaseDirectory, RadarCodexReleaseMonth, RadarCodexReleaseNotes, RadarCodexTimePoint, RadarImprovementEntry, RadarImprovementHead, RadarImprovementPage, RadarNotificationProjection, RadarNotificationTarget, RadarNotificationTask, RadarNotificationTasks, RadarNotificationTopic, RadarResetActionDetailV1, RadarResetActionDetailV2, RadarResetActionItemV2, RadarResetActionSummaryV2, RadarResetActiveActionItemV2, RadarResetAnalysisV1, RadarResetClue, RadarResetClueSnapshot, RadarResetDetailChunkReferenceV2, RadarResetDetailChunkRequestV2, RadarResetDetailManifestV2, RadarResetDetailMultipartEncodeInputV2, RadarResetDetailMultipartParseInputV2, RadarResetDetailMultipartPartV2, RadarResetExportV1, RadarResetExportV2, RadarResetManagement, RadarResetPendingActionV1, RadarResetPendingActionV2, RadarResetPositiveDecimalV2, RadarResetPrimarySourceV1, RadarResetPublicActionV1, RadarResetPublicIdV2, RadarResetPublicRecordsV1, RadarResetPublicationHomeFactsV2, RadarResetPublicationRevisionAvailableV2, RadarResetPublicationTiming, RadarResetReadActionsRequestV2, RadarResetReadActionsSuccessV2, RadarResetReadChangesRequestV2, RadarResetReadChangesSuccessV2, RadarResetReadDetailBatchRequestV2, RadarResetReadHeadRequestV2, RadarResetReadHeadSuccessV2, RadarResetSafeCauseSnapshotV2, RadarResetSafeCauseValueV2, RadarResetSha256V2, RadarResetSnapshotAvailableV1, RadarResetSourceContractErrorInputV2, RadarResetSourceContractErrorV2, RadarResetSourceErrorCodeV2, RadarResetSourceErrorEnvelopeV2, RadarResetSourceErrorV2, RadarResetSourceTranslations, RadarResetUInt64DecimalV2, RadarResetUtcTimestampV2, RadarTiboSourceStatus, RadarTitledActivityFile, RadarTitledActivityProgress, RadarWebsiteLocale, activeRadarResetClue, compareRadarNotificationTasks, compareRadarResetActionDetailsV1, compareRadarResetUtcTimestampsV1, createRadarBrowserNotificationProjection, createRadarCodexProgressCalendar, createRadarNotificationProjection, createRadarResetSourceErrorEnvelopeV2, encodeRadarActivityFile, encodeRadarActivityFileV2, encodeRadarActivityFileV3, encodeRadarResetDetailMultipartV2, encodeRadarTitledActivityFile, formatRadarResetPositiveDecimalV2, formatRadarResetUInt64DecimalV2, initialRadarBrowserSubscription, initialRadarBrowserSubscriptionV2, parseRadarCodexModels, parseRadarCodexProgressChangeV3, parseRadarCodexProgressChangesV3, parseRadarCodexProgressV1, parseRadarCodexProgressV2, parseRadarCodexProgressV3, parseRadarCodexProgressV4, parseRadarCodexProgressV5, parseRadarCodexReleaseDirectory, parseRadarCodexReleaseMonth, parseRadarCodexReleaseNotes, parseRadarResetActionDetailV1, parseRadarResetActionDetailV2, parseRadarResetActionSummaryV2, parseRadarResetAnalysisV1, parseRadarResetClueSnapshot, parseRadarResetDetailMultipartV2, parseRadarResetExportV1, parseRadarResetExportV2, parseRadarResetPendingActionV1, parseRadarResetPendingActionV2, parseRadarResetPositiveDecimalV2, parseRadarResetPublicationHomeFactsV2, parseRadarResetPublicationRevisionAvailableV2, parseRadarResetReadActionsRequestV2, parseRadarResetReadActionsSuccessV2, parseRadarResetReadChangesRequestV2, parseRadarResetReadChangesSuccessV2, parseRadarResetReadDetailBatchRequestV2, parseRadarResetReadHeadRequestV2, parseRadarResetReadHeadSuccessV2, parseRadarResetSnapshotAvailableV1, parseRadarResetSourceErrorEnvelopeV2, parseRadarResetUInt64DecimalV2, projectRadarBrowserSubscriptionSelection, projectRadarBrowserSubscriptionV1, projectRadarResetExportV1FromV2, projectRadarResetPrimarySourceV1, projectRadarResetPublicActionToV2, radarActivityEventIdSchema, radarActivityFileSchema, radarActivityFileUrl, radarActivityFileV2Schema, radarActivityFileV2Url, radarActivityFileV3Schema, radarActivityFileV3Url, radarActivityMaxBytes, radarActivityProgressSchema, radarActivityProgressV2Schema, radarActivityProgressV3Schema, radarActivityReactionCountsSchema, radarActivityReactionIdSchema, radarActivityReactionIds, radarBrowserNotificationProjectionSchema, radarBrowserNotificationTopicSchema, radarBrowserRegistrationSchema, radarBrowserSubscriptionErrorRes, radarBrowserSubscriptionFailureSchema, radarBrowserSubscriptionOperationSchema, radarBrowserSubscriptionReadReq, radarBrowserSubscriptionRes, radarBrowserSubscriptionSaveReq, radarBrowserSubscriptionSaveV2Req, radarBrowserSubscriptionV2Res, radarBrowserSubscriptionViewSchema, radarBrowserSubscriptionViewV2Schema, radarBrowserSubscriptionsPath, radarBrowserTopicsSchema, radarBrowserTopicsV2Schema, radarCodexGuessChoiceSchema, radarCodexGuessErrorSchema, radarCodexGuessSaveReqSchema, radarCodexGuessViewSchema, radarCodexModelIdSchema, radarCodexModelUrl, radarCodexModelsMaxBytes, radarCodexModelsPath, radarCodexModelsSchema, radarCodexProgressCalendar, radarCodexProgressChangeSchema, radarCodexProgressChangeV2Schema, radarCodexProgressChangeV3Schema, radarCodexProgressChangesV1Schema, radarCodexProgressChangesV2Schema, radarCodexProgressChangesV3Schema, radarCodexProgressEntrySchema, radarCodexProgressEntryV3Schema, radarCodexProgressEntryV5Schema, radarCodexProgressImprovementV5Schema, radarCodexProgressPostRoleV5Schema, radarCodexProgressPostV5Schema, radarCodexProgressPostsV5Schema, radarCodexProgressResetEntryV5Schema, radarCodexProgressScore, radarCodexProgressTitleV3Schema, radarCodexProgressV1Schema, radarCodexProgressV2MaxBytes, radarCodexProgressV2Schema, radarCodexProgressV3MaxBytes, radarCodexProgressV3Schema, radarCodexProgressV4MaxBytes, radarCodexProgressV4Schema, radarCodexProgressV5MaxBytes, radarCodexProgressV5Schema, radarCodexReleaseDirectoryMaxBytes, radarCodexReleaseDirectoryPath, radarCodexReleaseDirectorySchema, radarCodexReleaseIdentitySchema, radarCodexReleaseMonthMaxBytes, radarCodexReleaseMonthPath, radarCodexReleaseMonthSchema, radarCodexReleaseNotesMaxBytes, radarCodexReleaseNotesPath, radarCodexReleaseNotesSchema, radarCodexReleaseSectionsSchema, radarCodexReleaseUrl, radarCodexTimePointSchema, radarImprovementColumnPath, radarImprovementEligibilityReq, radarImprovementEligibilityRes, radarImprovementEntrySchema, radarImprovementErrorRes, radarImprovementHeadReq, radarImprovementHeadRes, radarImprovementPageMaxBytes, radarImprovementPageReq, radarImprovementPageRes, radarImprovementPageSize, radarNotificationProjectionSchema, radarNotificationTargetSchema, radarNotificationTaskPageSize, radarNotificationTaskSchema, radarNotificationTasksPath, radarNotificationTasksReq, radarNotificationTasksRes, radarNotificationTopicSchema, radarNotificationTopicsSchema, radarResetActionDetailV1Schema, radarResetActionDetailV2Schema, radarResetActionItemV2Schema, radarResetActionPageMaxBytesV2, radarResetActionPageMaxItemsV2, radarResetActionSummaryV2Schema, radarResetActiveActionItemV2Schema, radarResetAnalysisV1Schema, radarResetAnalyzerContractVersionV1, radarResetAudienceValues, radarResetChangeCoverageV2Schema, radarResetChangePageMaxBytesV2, radarResetChangePageMaxItemsV2, radarResetClueLifetimeMs, radarResetClueMaxBytes, radarResetCluePath, radarResetClueSchema, radarResetClueSnapshotSchema, radarResetContractVersionV1, radarResetContractVersionV2, radarResetDetailBatchMaxBytesV2, radarResetDetailBatchMaxChunksV2, radarResetDetailChunkReferenceV2Schema, radarResetDetailChunkRequestV2Schema, radarResetDetailManifestV2Schema, radarResetEffectValues, radarResetExportV1Schema, radarResetExportV2Schema, radarResetKindNoticeV2Schema, radarResetManagementActionSchema, radarResetManagementOperationSchema, radarResetManagementResSchema, radarResetManualApplyReqSchema, radarResetManualCopySchema, radarResetManualDraftSchema, radarResetManualDraftSeedSchema, radarResetManualPreviewReqSchema, radarResetManualPreviewResSchema, radarResetManualResultResSchema, radarResetNoticeKindValues, radarResetPendingActionV1Schema, radarResetPendingActionV2Schema, radarResetPlanValues, radarResetPositiveDecimalV2Schema, radarResetProductValues, radarResetPublicActionV1Schema, radarResetPublicDataLimits, radarResetPublicIdV2Schema, radarResetPublicRecordsCorePath, radarResetPublicRecordsV1Schema, radarResetPublicationHomeFactsV2Schema, radarResetPublicationRevisionAvailableV2Schema, radarResetPublicationTimingSchema, radarResetReadActionsDataV2Schema, radarResetReadActionsRequestV2Schema, radarResetReadActionsSuccessV2Schema, radarResetReadChangesDataV2Schema, radarResetReadChangesRequestV2Schema, radarResetReadChangesSuccessV2Schema, radarResetReadDetailBatchRequestV2Schema, radarResetReadHeadDataV2Schema, radarResetReadHeadRequestV2Schema, radarResetReadHeadSuccessV2Schema, radarResetReasonBasisValues, radarResetReasonCategoryValues, radarResetSafeCauseSnapshotV2Schema, radarResetSeriesValues, radarResetSha256V2Schema, radarResetSnapshotAvailableV1Schema, radarResetSourceChangeV2Schema, radarResetSourceErrorCodeValuesV2, radarResetSourceErrorEnvelopeV2Schema, radarResetSourceErrorHttpStatusV2, radarResetSourceErrorIsRetryableV2, radarResetSourceErrorV2Schema, radarResetSourceMaxRpcCallsV2, radarResetSourceTranslationsSchema, radarResetUInt64DecimalV2Schema, radarResetUInt64DecimalV2ToBigInt, radarResetUnexecutedActionV1Schema, radarResetUtcTimestampV2Schema, radarResetWithdrawnActionItemV2Schema, radarResetWithdrawnActionV1Schema, radarTiboSourceStatusMaxBytes, radarTiboSourceStatusPath, radarTiboSourceStatusSchema, radarTitledActivityFileSchema, radarTitledActivityProgressSchema, radarWebsiteLocalePrefixes, radarWebsiteLocales, radarWebsiteOrigin, radarWebsitePagePaths, radarWebsitePageUrl, readRadarActivityFile, readRadarActivityFileV2, readRadarActivityFileV3, readRadarCodexModels, readRadarCodexReleaseDirectory, readRadarCodexReleaseMonth, readRadarCodexReleaseNotes, readRadarResetClueSnapshot, readRadarTiboSourceStatus, readRadarTitledActivityFile, redactRadarBrowserRegistrationReferences, toSafeCauseSnapshotV2, upgradeRadarBrowserSubscriptionCommandV1 };
8539
+ //#region src/community-trending.d.ts
8540
+ declare const radarCommunityTrendingLatestMaxBytes: number;
8541
+ declare const radarCommunityTrendingMonthMaxBytes: number;
8542
+ declare const radarCommunityTrendingSourceStaleMs: number;
8543
+ declare const radarCommunityTrendingTopicSchema: z.ZodString;
8544
+ declare const radarCommunityTrendingPlatformSchema: z.ZodEnum<{
8545
+ x: "x";
8546
+ hn: "hn";
8547
+ github: "github";
8548
+ v2ex: "v2ex";
8549
+ reddit: "reddit";
8550
+ linuxdo: "linuxdo";
8551
+ }>;
8552
+ declare const radarCommunityTrendingKindSchema: z.ZodEnum<{
8553
+ debate: "debate";
8554
+ tip: "tip";
8555
+ showcase: "showcase";
8556
+ comparison: "comparison";
8557
+ news: "news";
8558
+ }>;
8559
+ declare const radarCommunityTrendingEntrySchema: z.ZodObject<{
8560
+ id: z.ZodString;
8561
+ topic: z.ZodString;
8562
+ platform: z.ZodEnum<{
8563
+ x: "x";
8564
+ hn: "hn";
8565
+ github: "github";
8566
+ v2ex: "v2ex";
8567
+ reddit: "reddit";
8568
+ linuxdo: "linuxdo";
8569
+ }>;
8570
+ kind: z.ZodEnum<{
8571
+ debate: "debate";
8572
+ tip: "tip";
8573
+ showcase: "showcase";
8574
+ comparison: "comparison";
8575
+ news: "news";
8576
+ }>;
8577
+ url: z.ZodURL;
8578
+ author: z.ZodObject<{
8579
+ name: z.ZodString;
8580
+ handle: z.ZodNullable<z.ZodString>;
8581
+ }, z.core.$strict>;
8582
+ venue: z.ZodNullable<z.ZodString>;
8583
+ title: z.ZodNullable<z.ZodString>;
8584
+ summary: z.ZodObject<{
8585
+ zh: z.ZodString;
8586
+ en: z.ZodString;
8587
+ }, z.core.$strict>;
8588
+ authoredAt: z.ZodISODateTime;
8589
+ heat: z.ZodNullable<z.ZodObject<{
8590
+ metrics: z.ZodArray<z.ZodObject<{
8591
+ kind: z.ZodEnum<{
8592
+ likes: "likes";
8593
+ points: "points";
8594
+ comments: "comments";
8595
+ reactions: "reactions";
8596
+ replies: "replies";
8597
+ }>;
8598
+ value: z.ZodNumber;
8599
+ }, z.core.$strict>>;
8600
+ ratio: z.ZodNumber;
8601
+ }, z.core.$strict>>;
8602
+ }, z.core.$strict>;
8603
+ type RadarCommunityTrendingEntry = z.infer<typeof radarCommunityTrendingEntrySchema>;
8604
+ declare const radarCommunityTrendingSourceSchema: z.ZodObject<{
8605
+ id: z.ZodString;
8606
+ platform: z.ZodEnum<{
8607
+ x: "x";
8608
+ hn: "hn";
8609
+ github: "github";
8610
+ v2ex: "v2ex";
8611
+ reddit: "reddit";
8612
+ linuxdo: "linuxdo";
8613
+ }>;
8614
+ label: z.ZodString;
8615
+ lastSuccessAt: z.ZodNullable<z.ZodISODateTime>;
8616
+ }, z.core.$strict>;
8617
+ declare const radarCommunityTrendingLatestSchema: z.ZodObject<{
8618
+ contractVersion: z.ZodLiteral<1>;
8619
+ topic: z.ZodString;
8620
+ generatedAt: z.ZodISODateTime;
8621
+ overview: z.ZodObject<{
8622
+ weekCount: z.ZodNumber;
8623
+ debateCount: z.ZodNumber;
8624
+ hottestId: z.ZodNullable<z.ZodString>;
8625
+ }, z.core.$strict>;
8626
+ sources: z.ZodArray<z.ZodObject<{
8627
+ id: z.ZodString;
8628
+ platform: z.ZodEnum<{
8629
+ x: "x";
8630
+ hn: "hn";
8631
+ github: "github";
8632
+ v2ex: "v2ex";
8633
+ reddit: "reddit";
8634
+ linuxdo: "linuxdo";
8635
+ }>;
8636
+ label: z.ZodString;
8637
+ lastSuccessAt: z.ZodNullable<z.ZodISODateTime>;
8638
+ }, z.core.$strict>>;
8639
+ coverage: z.ZodObject<{
8640
+ from: z.ZodISODate;
8641
+ months: z.ZodArray<z.ZodString>;
8642
+ }, z.core.$strict>;
8643
+ entries: z.ZodArray<z.ZodObject<{
8644
+ id: z.ZodString;
8645
+ topic: z.ZodString;
8646
+ platform: z.ZodEnum<{
8647
+ x: "x";
8648
+ hn: "hn";
8649
+ github: "github";
8650
+ v2ex: "v2ex";
8651
+ reddit: "reddit";
8652
+ linuxdo: "linuxdo";
8653
+ }>;
8654
+ kind: z.ZodEnum<{
8655
+ debate: "debate";
8656
+ tip: "tip";
8657
+ showcase: "showcase";
8658
+ comparison: "comparison";
8659
+ news: "news";
8660
+ }>;
8661
+ url: z.ZodURL;
8662
+ author: z.ZodObject<{
8663
+ name: z.ZodString;
8664
+ handle: z.ZodNullable<z.ZodString>;
8665
+ }, z.core.$strict>;
8666
+ venue: z.ZodNullable<z.ZodString>;
8667
+ title: z.ZodNullable<z.ZodString>;
8668
+ summary: z.ZodObject<{
8669
+ zh: z.ZodString;
8670
+ en: z.ZodString;
8671
+ }, z.core.$strict>;
8672
+ authoredAt: z.ZodISODateTime;
8673
+ heat: z.ZodNullable<z.ZodObject<{
8674
+ metrics: z.ZodArray<z.ZodObject<{
8675
+ kind: z.ZodEnum<{
8676
+ likes: "likes";
8677
+ points: "points";
8678
+ comments: "comments";
8679
+ reactions: "reactions";
8680
+ replies: "replies";
8681
+ }>;
8682
+ value: z.ZodNumber;
8683
+ }, z.core.$strict>>;
8684
+ ratio: z.ZodNumber;
8685
+ }, z.core.$strict>>;
8686
+ }, z.core.$strict>>;
8687
+ }, z.core.$strict>;
8688
+ declare const radarCommunityTrendingMonthSchema: z.ZodObject<{
8689
+ contractVersion: z.ZodLiteral<1>;
8690
+ topic: z.ZodString;
8691
+ month: z.ZodString;
8692
+ entries: z.ZodArray<z.ZodObject<{
8693
+ id: z.ZodString;
8694
+ topic: z.ZodString;
8695
+ platform: z.ZodEnum<{
8696
+ x: "x";
8697
+ hn: "hn";
8698
+ github: "github";
8699
+ v2ex: "v2ex";
8700
+ reddit: "reddit";
8701
+ linuxdo: "linuxdo";
8702
+ }>;
8703
+ kind: z.ZodEnum<{
8704
+ debate: "debate";
8705
+ tip: "tip";
8706
+ showcase: "showcase";
8707
+ comparison: "comparison";
8708
+ news: "news";
8709
+ }>;
8710
+ url: z.ZodURL;
8711
+ author: z.ZodObject<{
8712
+ name: z.ZodString;
8713
+ handle: z.ZodNullable<z.ZodString>;
8714
+ }, z.core.$strict>;
8715
+ venue: z.ZodNullable<z.ZodString>;
8716
+ title: z.ZodNullable<z.ZodString>;
8717
+ summary: z.ZodObject<{
8718
+ zh: z.ZodString;
8719
+ en: z.ZodString;
8720
+ }, z.core.$strict>;
8721
+ authoredAt: z.ZodISODateTime;
8722
+ heat: z.ZodNullable<z.ZodObject<{
8723
+ metrics: z.ZodArray<z.ZodObject<{
8724
+ kind: z.ZodEnum<{
8725
+ likes: "likes";
8726
+ points: "points";
8727
+ comments: "comments";
8728
+ reactions: "reactions";
8729
+ replies: "replies";
8730
+ }>;
8731
+ value: z.ZodNumber;
8732
+ }, z.core.$strict>>;
8733
+ ratio: z.ZodNumber;
8734
+ }, z.core.$strict>>;
8735
+ }, z.core.$strict>>;
8736
+ }, z.core.$strict>;
8737
+ type RadarCommunityTrendingLatest = z.infer<typeof radarCommunityTrendingLatestSchema>;
8738
+ type RadarCommunityTrendingMonth = z.infer<typeof radarCommunityTrendingMonthSchema>;
8739
+ /** Both paths validate individual segments before constructing the shared public locator. */
8740
+ declare const radarCommunityTrendingLatestPath: (topic: string) => string;
8741
+ declare const radarCommunityTrendingMonthPath: (topic: string, month: string) => string;
8742
+ declare const parseRadarCommunityTrendingLatest: (value: unknown) => {
8743
+ contractVersion: 1;
8744
+ topic: string;
8745
+ generatedAt: string;
8746
+ overview: {
8747
+ weekCount: number;
8748
+ debateCount: number;
8749
+ hottestId: string | null;
8750
+ };
8751
+ sources: {
8752
+ id: string;
8753
+ platform: "x" | "hn" | "github" | "v2ex" | "reddit" | "linuxdo";
8754
+ label: string;
8755
+ lastSuccessAt: string | null;
8756
+ }[];
8757
+ coverage: {
8758
+ from: string;
8759
+ months: string[];
8760
+ };
8761
+ entries: {
8762
+ id: string;
8763
+ topic: string;
8764
+ platform: "x" | "hn" | "github" | "v2ex" | "reddit" | "linuxdo";
8765
+ kind: "debate" | "tip" | "showcase" | "comparison" | "news";
8766
+ url: string;
8767
+ author: {
8768
+ name: string;
8769
+ handle: string | null;
8770
+ };
8771
+ venue: string | null;
8772
+ title: string | null;
8773
+ summary: {
8774
+ zh: string;
8775
+ en: string;
8776
+ };
8777
+ authoredAt: string;
8778
+ heat: {
8779
+ metrics: {
8780
+ kind: "likes" | "points" | "comments" | "reactions" | "replies";
8781
+ value: number;
8782
+ }[];
8783
+ ratio: number;
8784
+ } | null;
8785
+ }[];
8786
+ };
8787
+ declare const parseRadarCommunityTrendingMonth: (value: unknown) => {
8788
+ contractVersion: 1;
8789
+ topic: string;
8790
+ month: string;
8791
+ entries: {
8792
+ id: string;
8793
+ topic: string;
8794
+ platform: "x" | "hn" | "github" | "v2ex" | "reddit" | "linuxdo";
8795
+ kind: "debate" | "tip" | "showcase" | "comparison" | "news";
8796
+ url: string;
8797
+ author: {
8798
+ name: string;
8799
+ handle: string | null;
8800
+ };
8801
+ venue: string | null;
8802
+ title: string | null;
8803
+ summary: {
8804
+ zh: string;
8805
+ en: string;
8806
+ };
8807
+ authoredAt: string;
8808
+ heat: {
8809
+ metrics: {
8810
+ kind: "likes" | "points" | "comments" | "reactions" | "replies";
8811
+ value: number;
8812
+ }[];
8813
+ ratio: number;
8814
+ } | null;
8815
+ }[];
8816
+ };
8817
+ declare const readRadarCommunityTrendingLatest: (response: Response) => Promise<{
8818
+ contractVersion: 1;
8819
+ topic: string;
8820
+ generatedAt: string;
8821
+ overview: {
8822
+ weekCount: number;
8823
+ debateCount: number;
8824
+ hottestId: string | null;
8825
+ };
8826
+ sources: {
8827
+ id: string;
8828
+ platform: "x" | "hn" | "github" | "v2ex" | "reddit" | "linuxdo";
8829
+ label: string;
8830
+ lastSuccessAt: string | null;
8831
+ }[];
8832
+ coverage: {
8833
+ from: string;
8834
+ months: string[];
8835
+ };
8836
+ entries: {
8837
+ id: string;
8838
+ topic: string;
8839
+ platform: "x" | "hn" | "github" | "v2ex" | "reddit" | "linuxdo";
8840
+ kind: "debate" | "tip" | "showcase" | "comparison" | "news";
8841
+ url: string;
8842
+ author: {
8843
+ name: string;
8844
+ handle: string | null;
8845
+ };
8846
+ venue: string | null;
8847
+ title: string | null;
8848
+ summary: {
8849
+ zh: string;
8850
+ en: string;
8851
+ };
8852
+ authoredAt: string;
8853
+ heat: {
8854
+ metrics: {
8855
+ kind: "likes" | "points" | "comments" | "reactions" | "replies";
8856
+ value: number;
8857
+ }[];
8858
+ ratio: number;
8859
+ } | null;
8860
+ }[];
8861
+ }>;
8862
+ declare const readRadarCommunityTrendingMonth: (response: Response) => Promise<{
8863
+ contractVersion: 1;
8864
+ topic: string;
8865
+ month: string;
8866
+ entries: {
8867
+ id: string;
8868
+ topic: string;
8869
+ platform: "x" | "hn" | "github" | "v2ex" | "reddit" | "linuxdo";
8870
+ kind: "debate" | "tip" | "showcase" | "comparison" | "news";
8871
+ url: string;
8872
+ author: {
8873
+ name: string;
8874
+ handle: string | null;
8875
+ };
8876
+ venue: string | null;
8877
+ title: string | null;
8878
+ summary: {
8879
+ zh: string;
8880
+ en: string;
8881
+ };
8882
+ authoredAt: string;
8883
+ heat: {
8884
+ metrics: {
8885
+ kind: "likes" | "points" | "comments" | "reactions" | "replies";
8886
+ value: number;
8887
+ }[];
8888
+ ratio: number;
8889
+ } | null;
8890
+ }[];
8891
+ }>;
8892
+ /** Compare entries already grouped into one display day, without inventing heat for RSS sources. */
8893
+ declare function compareRadarCommunityTrendingEntries(left: RadarCommunityTrendingEntry, right: RadarCommunityTrendingEntry): number;
8894
+ /** The bilingual content contract intentionally serves English on all other website locales. */
8895
+ declare const radarCommunityTrendingSummary: (entry: RadarCommunityTrendingEntry, locale: RadarWebsiteLocale) => string;
8896
+ //#endregion
8897
+ export { CreateRadarResetSourceErrorEnvelopeInputV2, RadarActivityFile, RadarActivityFileV2, RadarActivityFileV3, RadarActivityProgress, RadarActivityProgressV2, RadarActivityProgressV3, RadarActivityReactionId, RadarBrowserNotificationProjection, RadarBrowserSubscriptionFailure, RadarBrowserSubscriptionRead, RadarBrowserSubscriptionSave, RadarBrowserSubscriptionSaveV2, RadarBrowserSubscriptionView, RadarBrowserSubscriptionViewV2, RadarBrowserTopics, RadarBrowserTopicsV2, RadarCodexGuessChoice, RadarCodexGuessError, RadarCodexGuessSaveReq, RadarCodexGuessView, RadarCodexModel, RadarCodexModels, RadarCodexProgressChange, RadarCodexProgressChangeV2, RadarCodexProgressChangeV3, RadarCodexProgressChangesV1, RadarCodexProgressChangesV2, RadarCodexProgressChangesV3, RadarCodexProgressEntryV3, RadarCodexProgressEntryV5, RadarCodexProgressImprovementV5, RadarCodexProgressPostRoleV5, RadarCodexProgressPostV5, RadarCodexProgressResetEntryV5, RadarCodexProgressTitleV3, RadarCodexProgressV1, RadarCodexProgressV2, RadarCodexProgressV3, RadarCodexProgressV4, RadarCodexProgressV5, RadarCodexReleaseDirectory, RadarCodexReleaseMonth, RadarCodexReleaseNotes, RadarCodexTimePoint, RadarCommunityTrendingEntry, RadarCommunityTrendingLatest, RadarCommunityTrendingMonth, RadarImprovementEntry, RadarImprovementHead, RadarImprovementPage, RadarNotificationProjection, RadarNotificationTarget, RadarNotificationTask, RadarNotificationTasks, RadarNotificationTopic, RadarResetActionDetailV1, RadarResetActionDetailV2, RadarResetActionItemV2, RadarResetActionSummaryV2, RadarResetActiveActionItemV2, RadarResetAnalysisV1, RadarResetClue, RadarResetClueSnapshot, RadarResetDetailChunkReferenceV2, RadarResetDetailChunkRequestV2, RadarResetDetailManifestV2, RadarResetDetailMultipartEncodeInputV2, RadarResetDetailMultipartParseInputV2, RadarResetDetailMultipartPartV2, RadarResetExportV1, RadarResetExportV2, RadarResetExportV3, RadarResetManagement, RadarResetPendingActionV1, RadarResetPendingActionV2, RadarResetPositiveDecimalV2, RadarResetPrimarySourceV1, RadarResetPublicActionV1, RadarResetPublicIdV2, RadarResetPublicRecordsV1, RadarResetPublicationHomeFactsV2, RadarResetPublicationRevisionAvailableV2, RadarResetPublicationTiming, RadarResetReadActionsRequestV2, RadarResetReadActionsSuccessV2, RadarResetReadChangesRequestV2, RadarResetReadChangesSuccessV2, RadarResetReadDetailBatchRequestV2, RadarResetReadHeadRequestV2, RadarResetReadHeadSuccessV2, RadarResetSafeCauseSnapshotV2, RadarResetSafeCauseValueV2, RadarResetSha256V2, RadarResetSnapshotAvailableV1, RadarResetSourceContractErrorInputV2, RadarResetSourceContractErrorV2, RadarResetSourceErrorCodeV2, RadarResetSourceErrorEnvelopeV2, RadarResetSourceErrorV2, RadarResetSourceTranslations, RadarResetStatisticsResponseV3, RadarResetStatisticsV1, RadarResetUInt64DecimalV2, RadarResetUtcTimestampV2, RadarTiboSourceStatus, RadarTitledActivityFile, RadarTitledActivityProgress, RadarWebsiteLocale, activeRadarResetClue, compareRadarCommunityTrendingEntries, compareRadarNotificationTasks, compareRadarResetActionDetailsV1, compareRadarResetUtcTimestampsV1, createRadarBrowserNotificationProjection, createRadarCodexProgressCalendar, createRadarNotificationProjection, createRadarResetSourceErrorEnvelopeV2, encodeRadarActivityFile, encodeRadarActivityFileV2, encodeRadarActivityFileV3, encodeRadarResetDetailMultipartV2, encodeRadarTitledActivityFile, formatRadarResetPositiveDecimalV2, formatRadarResetUInt64DecimalV2, initialRadarBrowserSubscription, initialRadarBrowserSubscriptionV2, parseRadarCodexModels, parseRadarCodexProgressChangeV3, parseRadarCodexProgressChangesV3, parseRadarCodexProgressV1, parseRadarCodexProgressV2, parseRadarCodexProgressV3, parseRadarCodexProgressV4, parseRadarCodexProgressV5, parseRadarCodexReleaseDirectory, parseRadarCodexReleaseMonth, parseRadarCodexReleaseNotes, parseRadarCommunityTrendingLatest, parseRadarCommunityTrendingMonth, parseRadarResetActionDetailV1, parseRadarResetActionDetailV2, parseRadarResetActionSummaryV2, parseRadarResetAnalysisV1, parseRadarResetClueSnapshot, parseRadarResetDetailMultipartV2, parseRadarResetExportV1, parseRadarResetExportV2, parseRadarResetExportV3, parseRadarResetPendingActionV1, parseRadarResetPendingActionV2, parseRadarResetPositiveDecimalV2, parseRadarResetPublicationHomeFactsV2, parseRadarResetPublicationRevisionAvailableV2, parseRadarResetReadActionsRequestV2, parseRadarResetReadActionsSuccessV2, parseRadarResetReadChangesRequestV2, parseRadarResetReadChangesSuccessV2, parseRadarResetReadDetailBatchRequestV2, parseRadarResetReadHeadRequestV2, parseRadarResetReadHeadSuccessV2, parseRadarResetSnapshotAvailableV1, parseRadarResetSourceErrorEnvelopeV2, parseRadarResetUInt64DecimalV2, projectRadarBrowserSubscriptionSelection, projectRadarBrowserSubscriptionV1, projectRadarResetExportV1FromV2, projectRadarResetPrimarySourceV1, projectRadarResetPublicActionToV2, radarActivityEventIdSchema, radarActivityFileSchema, radarActivityFileUrl, radarActivityFileV2Schema, radarActivityFileV2Url, radarActivityFileV3Schema, radarActivityFileV3Url, radarActivityMaxBytes, radarActivityProgressSchema, radarActivityProgressV2Schema, radarActivityProgressV3Schema, radarActivityReactionCountsSchema, radarActivityReactionIdSchema, radarActivityReactionIds, radarBrowserNotificationProjectionSchema, radarBrowserNotificationTopicSchema, radarBrowserRegistrationSchema, radarBrowserSubscriptionErrorRes, radarBrowserSubscriptionFailureSchema, radarBrowserSubscriptionOperationSchema, radarBrowserSubscriptionReadReq, radarBrowserSubscriptionRes, radarBrowserSubscriptionSaveReq, radarBrowserSubscriptionSaveV2Req, radarBrowserSubscriptionV2Res, radarBrowserSubscriptionViewSchema, radarBrowserSubscriptionViewV2Schema, radarBrowserSubscriptionsPath, radarBrowserTopicsSchema, radarBrowserTopicsV2Schema, radarCodexGuessChoiceSchema, radarCodexGuessErrorSchema, radarCodexGuessSaveReqSchema, radarCodexGuessViewSchema, radarCodexModelIdSchema, radarCodexModelUrl, radarCodexModelsMaxBytes, radarCodexModelsPath, radarCodexModelsSchema, radarCodexProgressCalendar, radarCodexProgressChangeSchema, radarCodexProgressChangeV2Schema, radarCodexProgressChangeV3Schema, radarCodexProgressChangesV1Schema, radarCodexProgressChangesV2Schema, radarCodexProgressChangesV3Schema, radarCodexProgressEntrySchema, radarCodexProgressEntryV3Schema, radarCodexProgressEntryV5Schema, radarCodexProgressImprovementV5Schema, radarCodexProgressPostRoleV5Schema, radarCodexProgressPostV5Schema, radarCodexProgressPostsV5Schema, radarCodexProgressResetEntryV5Schema, radarCodexProgressScore, radarCodexProgressTitleV3Schema, radarCodexProgressV1Schema, radarCodexProgressV2MaxBytes, radarCodexProgressV2Schema, radarCodexProgressV3MaxBytes, radarCodexProgressV3Schema, radarCodexProgressV4MaxBytes, radarCodexProgressV4Schema, radarCodexProgressV5MaxBytes, radarCodexProgressV5Schema, radarCodexReleaseDirectoryMaxBytes, radarCodexReleaseDirectoryPath, radarCodexReleaseDirectorySchema, radarCodexReleaseIdentitySchema, radarCodexReleaseMonthMaxBytes, radarCodexReleaseMonthPath, radarCodexReleaseMonthSchema, radarCodexReleaseNotesMaxBytes, radarCodexReleaseNotesPath, radarCodexReleaseNotesSchema, radarCodexReleaseSectionsSchema, radarCodexReleaseUrl, radarCodexTimePointSchema, radarCommunityTrendingEntrySchema, radarCommunityTrendingKindSchema, radarCommunityTrendingLatestMaxBytes, radarCommunityTrendingLatestPath, radarCommunityTrendingLatestSchema, radarCommunityTrendingMonthMaxBytes, radarCommunityTrendingMonthPath, radarCommunityTrendingMonthSchema, radarCommunityTrendingPlatformSchema, radarCommunityTrendingSourceSchema, radarCommunityTrendingSourceStaleMs, radarCommunityTrendingSummary, radarCommunityTrendingTopicSchema, radarImprovementColumnPath, radarImprovementEligibilityReq, radarImprovementEligibilityRes, radarImprovementEntrySchema, radarImprovementErrorRes, radarImprovementHeadReq, radarImprovementHeadRes, radarImprovementPageMaxBytes, radarImprovementPageReq, radarImprovementPageRes, radarImprovementPageSize, radarNotificationProjectionSchema, radarNotificationTargetSchema, radarNotificationTaskPageSize, radarNotificationTaskSchema, radarNotificationTasksPath, radarNotificationTasksReq, radarNotificationTasksRes, radarNotificationTopicSchema, radarNotificationTopicsSchema, radarResetActionDetailV1Schema, radarResetActionDetailV2Schema, radarResetActionItemV2Schema, radarResetActionPageMaxBytesV2, radarResetActionPageMaxItemsV2, radarResetActionSummaryV2Schema, radarResetActiveActionItemV2Schema, radarResetAnalysisV1Schema, radarResetAnalyzerContractVersionV1, radarResetAudienceValues, radarResetChangeCoverageV2Schema, radarResetChangePageMaxBytesV2, radarResetChangePageMaxItemsV2, radarResetClueLifetimeMs, radarResetClueMaxBytes, radarResetCluePath, radarResetClueSchema, radarResetClueSnapshotSchema, radarResetContractVersionV1, radarResetContractVersionV2, radarResetDetailBatchMaxBytesV2, radarResetDetailBatchMaxChunksV2, radarResetDetailChunkReferenceV2Schema, radarResetDetailChunkRequestV2Schema, radarResetDetailManifestV2Schema, radarResetEffectValues, radarResetExportV1Schema, radarResetExportV2Schema, radarResetExportV3Schema, radarResetKindNoticeV2Schema, radarResetManagementActionSchema, radarResetManagementOperationSchema, radarResetManagementResSchema, radarResetManualApplyReqSchema, radarResetManualCopySchema, radarResetManualDraftSchema, radarResetManualDraftSeedSchema, radarResetManualPreviewReqSchema, radarResetManualPreviewResSchema, radarResetManualResultResSchema, radarResetNoticeKindValues, radarResetPendingActionV1Schema, radarResetPendingActionV2Schema, radarResetPlanValues, radarResetPositiveDecimalV2Schema, radarResetProductValues, radarResetPublicActionV1Schema, radarResetPublicDataLimits, radarResetPublicIdV2Schema, radarResetPublicRecordsCorePath, radarResetPublicRecordsV1Schema, radarResetPublicationHomeFactsV2Schema, radarResetPublicationRevisionAvailableV2Schema, radarResetPublicationTimingSchema, radarResetReadActionsDataV2Schema, radarResetReadActionsRequestV2Schema, radarResetReadActionsSuccessV2Schema, radarResetReadChangesDataV2Schema, radarResetReadChangesRequestV2Schema, radarResetReadChangesSuccessV2Schema, radarResetReadDetailBatchRequestV2Schema, radarResetReadHeadDataV2Schema, radarResetReadHeadRequestV2Schema, radarResetReadHeadSuccessV2Schema, radarResetReasonBasisValues, radarResetReasonCategoryValues, radarResetSafeCauseSnapshotV2Schema, radarResetSeriesValues, radarResetSha256V2Schema, radarResetSnapshotAvailableV1Schema, radarResetSourceChangeV2Schema, radarResetSourceErrorCodeValuesV2, radarResetSourceErrorEnvelopeV2Schema, radarResetSourceErrorHttpStatusV2, radarResetSourceErrorIsRetryableV2, radarResetSourceErrorV2Schema, radarResetSourceMaxRpcCallsV2, radarResetSourceTranslationsSchema, radarResetStatisticsResponseV3Schema, radarResetStatisticsV1Schema, radarResetUInt64DecimalV2Schema, radarResetUInt64DecimalV2ToBigInt, radarResetUnexecutedActionV1Schema, radarResetUtcTimestampV2Schema, radarResetWithdrawnActionItemV2Schema, radarResetWithdrawnActionV1Schema, radarTiboSourceStatusMaxBytes, radarTiboSourceStatusPath, radarTiboSourceStatusSchema, radarTitledActivityFileSchema, radarTitledActivityProgressSchema, radarWebsiteLocalePrefixes, radarWebsiteLocales, radarWebsiteOrigin, radarWebsitePagePaths, radarWebsitePageUrl, readRadarActivityFile, readRadarActivityFileV2, readRadarActivityFileV3, readRadarCodexModels, readRadarCodexReleaseDirectory, readRadarCodexReleaseMonth, readRadarCodexReleaseNotes, readRadarCommunityTrendingLatest, readRadarCommunityTrendingMonth, readRadarResetClueSnapshot, readRadarTiboSourceStatus, readRadarTitledActivityFile, redactRadarBrowserRegistrationReferences, toSafeCauseSnapshotV2, upgradeRadarBrowserSubscriptionCommandV1 };