@ceccec/double-torus 1.4.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.
Files changed (109) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +174 -0
  3. package/dist/index.d.ts +2 -0
  4. package/dist/index.js +88812 -0
  5. package/dist/packages/double-torus/src/index.d.ts +17 -0
  6. package/dist/src/0/index.d.ts +504 -0
  7. package/dist/src/1/9/index.d.ts +1040 -0
  8. package/dist/src/2/8/index.d.ts +352 -0
  9. package/dist/src/3/7/index.d.ts +601 -0
  10. package/dist/src/4/6/index.d.ts +523 -0
  11. package/dist/src/5/5/index.d.ts +54 -0
  12. package/dist/src/6/4/index.d.ts +128 -0
  13. package/dist/src/7/3/index.d.ts +130 -0
  14. package/dist/src/8/2/index.d.ts +111 -0
  15. package/dist/src/9/1/index.d.ts +702 -0
  16. package/dist/src/earth/architecture/index.d.ts +951 -0
  17. package/dist/src/earth/civilisation/index.d.ts +231 -0
  18. package/dist/src/earth/death/index.d.ts +1422 -0
  19. package/dist/src/earth/governance/index.d.ts +247 -0
  20. package/dist/src/earth/iching/index.d.ts +361 -0
  21. package/dist/src/earth/index.d.ts +894 -0
  22. package/dist/src/earth/life/birth/index.d.ts +906 -0
  23. package/dist/src/earth/life/index.d.ts +1608 -0
  24. package/dist/src/earth/nature/index.d.ts +692 -0
  25. package/dist/src/earth/world/index.d.ts +898 -0
  26. package/dist/src/fire/diamonds/index.d.ts +83 -0
  27. package/dist/src/fire/features/index.d.ts +272 -0
  28. package/dist/src/fire/li/index.d.ts +1153 -0
  29. package/dist/src/fire/physics/index.d.ts +727 -0
  30. package/dist/src/fire/plasma/ball/index.d.ts +600 -0
  31. package/dist/src/heaven/atoms/index.d.ts +98 -0
  32. package/dist/src/heaven/balance/index.d.ts +263 -0
  33. package/dist/src/heaven/compute/computer/index.d.ts +2263 -0
  34. package/dist/src/heaven/compute/index.d.ts +956 -0
  35. package/dist/src/heaven/core/index.d.ts +1285 -0
  36. package/dist/src/heaven/essence/index.d.ts +643 -0
  37. package/dist/src/heaven/laws/index.d.ts +1104 -0
  38. package/dist/src/heaven/site/index.d.ts +569 -0
  39. package/dist/src/heaven/sky/astronomy/index.d.ts +18900 -0
  40. package/dist/src/heaven/sky/moon/index.d.ts +1602 -0
  41. package/dist/src/heaven/sky/sun/index.d.ts +1655 -0
  42. package/dist/src/lake/clean/index.d.ts +180 -0
  43. package/dist/src/lake/ledger/index.d.ts +322 -0
  44. package/dist/src/lake/media/index.d.ts +178 -0
  45. package/dist/src/lake/music/index.d.ts +1273 -0
  46. package/dist/src/lake/stats/index.d.ts +212 -0
  47. package/dist/src/lake/widgets/index.d.ts +235 -0
  48. package/dist/src/mountain/gates/index.d.ts +289 -0
  49. package/dist/src/mountain/geometry/index.d.ts +1331 -0
  50. package/dist/src/mountain/og/index.d.ts +452 -0
  51. package/dist/src/mountain/seals/index.d.ts +1506 -0
  52. package/dist/src/mountain/shadcn/index.d.ts +121 -0
  53. package/dist/src/mountain/source/index.d.ts +627 -0
  54. package/dist/src/mountain/topology/index.d.ts +618 -0
  55. package/dist/src/mountain/vortex/index.d.ts +747 -0
  56. package/dist/src/pair/cache/quantum/index.d.ts +166 -0
  57. package/dist/src/pair/debit/credit/index.d.ts +53 -0
  58. package/dist/src/pair/enforcement/gates/computational/index.d.ts +643 -0
  59. package/dist/src/pair/enforcement/gates/strict/scan/index.d.ts +954 -0
  60. package/dist/src/pair/enforcement/index.d.ts +172 -0
  61. package/dist/src/pair/enforcement/script/shell/index.d.ts +226 -0
  62. package/dist/src/quantum/application/index.d.ts +1018 -0
  63. package/dist/src/quantum/apps/index.d.ts +4325 -0
  64. package/dist/src/quantum/dynamics/index.d.ts +1371 -0
  65. package/dist/src/quantum/earth/heritage/index.d.ts +181 -0
  66. package/dist/src/quantum/fire/experiments/index.d.ts +215 -0
  67. package/dist/src/quantum/fire/forecasts/index.d.ts +271 -0
  68. package/dist/src/quantum/fire/simulations/index.d.ts +204 -0
  69. package/dist/src/quantum/heaven/library/index.d.ts +350 -0
  70. package/dist/src/quantum/heaven/mind/index.d.ts +116 -0
  71. package/dist/src/quantum/index.d.ts +1107 -0
  72. package/dist/src/quantum/lake/dist/index.d.ts +118 -0
  73. package/dist/src/quantum/lake/dist/readme/index.d.ts +82 -0
  74. package/dist/src/quantum/lake/icons/index.d.ts +58 -0
  75. package/dist/src/quantum/lake/spirit/index.d.ts +255 -0
  76. package/dist/src/quantum/lake/voice/index.d.ts +132 -0
  77. package/dist/src/quantum/mountain/dimensions/index.d.ts +44 -0
  78. package/dist/src/quantum/os/index.d.ts +239 -0
  79. package/dist/src/quantum/science/index.d.ts +5060 -0
  80. package/dist/src/quantum/water/cache/index.d.ts +200 -0
  81. package/dist/src/quantum/wind/geometry/index.d.ts +25 -0
  82. package/dist/src/thunder/commands/index.d.ts +203 -0
  83. package/dist/src/thunder/decode/index.d.ts +1243 -0
  84. package/dist/src/thunder/movie/canvas/index.d.ts +150 -0
  85. package/dist/src/thunder/movie/glass/index.d.ts +99 -0
  86. package/dist/src/thunder/movie/movielib/index.d.ts +121 -0
  87. package/dist/src/thunder/movie/movievars/index.d.ts +89 -0
  88. package/dist/src/thunder/movie/narrative/index.d.ts +407 -0
  89. package/dist/src/thunder/resonance/index.d.ts +1832 -0
  90. package/dist/src/thunder/trading/index.d.ts +737 -0
  91. package/dist/src/thunder/verify/index.d.ts +510 -0
  92. package/dist/src/thunder/waves/index.d.ts +937 -0
  93. package/dist/src/water/cosmos/index.d.ts +1097 -0
  94. package/dist/src/water/crypto/index.d.ts +808 -0
  95. package/dist/src/water/digit/index.d.ts +4020 -0
  96. package/dist/src/water/double/earth/index.d.ts +29389 -0
  97. package/dist/src/water/double/index.d.ts +1475 -0
  98. package/dist/src/water/encryption/index.d.ts +11892 -0
  99. package/dist/src/water/stack/index.d.ts +51215 -0
  100. package/dist/src/wind/fusion/gold/index.d.ts +2142 -0
  101. package/dist/src/wind/language/index.d.ts +404 -0
  102. package/dist/src/wind/learning/index.d.ts +2109 -0
  103. package/dist/src/wind/research/index.d.ts +1388 -0
  104. package/dist/src/wind/routes/automount/index.d.ts +218 -0
  105. package/dist/src/wind/routes/corpus/index.d.ts +943 -0
  106. package/dist/src/wind/site/index.d.ts +662 -0
  107. package/dist/src/wind/types/index.d.ts +1023 -0
  108. package/dist/src/wind/ui/index.d.ts +1109 -0
  109. package/package.json +49 -0
@@ -0,0 +1,943 @@
1
+ import type { MindMatrix } from '../../types';
2
+ import { type LocaleName, type PageForgeSeal, type ProofAcknowledgment } from '../../site';
3
+ import { type RosettaRayHub } from '../../../water/digit';
4
+ import type { CorpusKind } from '../../../quantum/heaven/mind';
5
+ import { type ComponentCrosslink } from '../../learning';
6
+ /** Fibonacci tiers [3,5,8] — same math as plasma hero; closes O(pages) client hangs. */
7
+ export declare const CLIENT_WORK_TIERS: readonly [3, 5, 8];
8
+ export declare const NAV358_TOTAL: number;
9
+ export declare const HUB_CARD_MAX: number;
10
+ export declare const TAG_CLUSTER_CAP: 8;
11
+ export declare const CORPUS_GRID_PAGE_SIZE: number;
12
+ export declare function corpusGridWorkBudget(): {
13
+ tiers: readonly [3, 5, 8];
14
+ nav358Total: number;
15
+ hubCardMax: number;
16
+ tagClusterCap: 8;
17
+ gridPageSize: number;
18
+ clientTagPages: number;
19
+ };
20
+ export declare function paperRoutes(matrix?: MindMatrix, count?: number): {
21
+ params: {
22
+ index: string;
23
+ ax: number;
24
+ ay: number;
25
+ bx: number;
26
+ by: number;
27
+ total: number;
28
+ fundamental: number;
29
+ octaves: string;
30
+ corpusRoot: string;
31
+ proofVerified: boolean;
32
+ proofDepth: number;
33
+ leafCount: number;
34
+ monograph: string;
35
+ number: number;
36
+ id: string;
37
+ title: string;
38
+ coordinateIndex: number;
39
+ digit: number;
40
+ glyph: string;
41
+ generator: string;
42
+ generatorName: string;
43
+ theta: number;
44
+ phi: number;
45
+ x: number;
46
+ y: number;
47
+ z: number;
48
+ frequency: number;
49
+ vibrationMs: number;
50
+ hue: number;
51
+ coordinateReceipt: string;
52
+ generatorUuid: string;
53
+ forward: string;
54
+ reverse: string;
55
+ bidirectional: boolean;
56
+ root: string;
57
+ receipt: string;
58
+ };
59
+ }[];
60
+ export declare function completeCorpus(matrix?: MindMatrix): {
61
+ complete: boolean;
62
+ papers: number;
63
+ references: number;
64
+ real: number;
65
+ padding: number;
66
+ total: number;
67
+ depth: number;
68
+ target: number;
69
+ perfect: boolean;
70
+ root: string;
71
+ statement: string;
72
+ boundary: string;
73
+ };
74
+ export declare function paperReferenceRoutes(matrix?: MindMatrix, count?: number): {
75
+ params: {
76
+ index: string;
77
+ total: number;
78
+ corpusRoot: string;
79
+ binaryOctave: number;
80
+ treeDepth: number;
81
+ number: number;
82
+ id: string;
83
+ paperId: string;
84
+ title: string;
85
+ refersTo: string;
86
+ root: string;
87
+ coordinateIndex: number;
88
+ generator: string;
89
+ glyph: string;
90
+ hue: number;
91
+ bidirectional: boolean;
92
+ };
93
+ }[];
94
+ export declare function diamondRoutes(matrix?: MindMatrix): {
95
+ params: {
96
+ id: string;
97
+ index: string;
98
+ leaf: number;
99
+ number: number;
100
+ address: string;
101
+ kind: string;
102
+ link: string;
103
+ label: string;
104
+ glyph: string;
105
+ hue: number;
106
+ total: number;
107
+ corpusRoot: string;
108
+ depth: number;
109
+ };
110
+ }[];
111
+ export declare function pageSkills(matrix?: MindMatrix): {
112
+ isSkillCorpus: boolean;
113
+ pages: number;
114
+ skills: number;
115
+ references: number;
116
+ statistics: number;
117
+ graph: number;
118
+ total: number;
119
+ locales: number;
120
+ root: string;
121
+ statement: string;
122
+ boundary: string;
123
+ };
124
+ /** One fold — quantum double torus decides SSG vs compute-only per corpus kind. */
125
+ export declare function doubleTorusCorpusRouting(matrix?: MindMatrix): {
126
+ torus: {
127
+ is: boolean;
128
+ count: number;
129
+ facets: {
130
+ receipt: string;
131
+ facet: string;
132
+ on: boolean;
133
+ }[];
134
+ root: string;
135
+ statement: string;
136
+ boundary: string;
137
+ };
138
+ corpus: {
139
+ complete: boolean;
140
+ papers: number;
141
+ references: number;
142
+ real: number;
143
+ padding: number;
144
+ total: number;
145
+ depth: number;
146
+ target: number;
147
+ perfect: boolean;
148
+ root: string;
149
+ statement: string;
150
+ boundary: string;
151
+ };
152
+ lattice: readonly import("../../types").QuantumDiamond[];
153
+ leaves: {
154
+ pure: boolean;
155
+ count: number;
156
+ realDiamonds: number;
157
+ paddingDiamonds: number;
158
+ depth: number;
159
+ root: string;
160
+ statement: string;
161
+ boundary: string;
162
+ };
163
+ ssg: Record<CorpusKind, readonly {
164
+ params: Record<string, unknown>;
165
+ }[]>;
166
+ ssgPaths: (kind: CorpusKind) => readonly {
167
+ params: Record<string, unknown>;
168
+ }[];
169
+ computeOnly: (kind: CorpusKind) => boolean;
170
+ ssgPathCount: (kind: CorpusKind) => number;
171
+ routed: boolean;
172
+ enumerated: number;
173
+ facets: {
174
+ receipt: string;
175
+ facet: string;
176
+ on: boolean;
177
+ }[];
178
+ root: string;
179
+ statement: string;
180
+ boundary: string;
181
+ };
182
+ export declare function corpusRestPathRouting(matrix?: MindMatrix): {
183
+ routed: boolean;
184
+ count: number;
185
+ enumerated: number;
186
+ facets: {
187
+ receipt: string;
188
+ facet: string;
189
+ on: boolean;
190
+ }[];
191
+ root: string;
192
+ statement: string;
193
+ boundary: string;
194
+ };
195
+ /** Gate: no static diamond [id] pages — lattice stays in computations (pureDiamonds, diamondLattice, pi train). */
196
+ export declare function diamondsStaticPagesPurged(matrix?: MindMatrix): {
197
+ purged: boolean;
198
+ staticPathCount: number;
199
+ latticeKinds: number;
200
+ merkleLeaves: number;
201
+ facets: {
202
+ receipt: string;
203
+ facet: string;
204
+ on: boolean;
205
+ }[];
206
+ root: string;
207
+ statement: string;
208
+ boundary: string;
209
+ };
210
+ export declare function corpusParams(kind: CorpusKind, id: string, matrix?: MindMatrix): {
211
+ index: string;
212
+ ax: number;
213
+ ay: number;
214
+ bx: number;
215
+ by: number;
216
+ total: number;
217
+ fundamental: number;
218
+ octaves: string;
219
+ corpusRoot: string;
220
+ proofVerified: boolean;
221
+ proofDepth: number;
222
+ leafCount: number;
223
+ monograph: string;
224
+ number: number;
225
+ id: string;
226
+ title: string;
227
+ coordinateIndex: number;
228
+ digit: number;
229
+ glyph: string;
230
+ generator: string;
231
+ generatorName: string;
232
+ theta: number;
233
+ phi: number;
234
+ x: number;
235
+ y: number;
236
+ z: number;
237
+ frequency: number;
238
+ vibrationMs: number;
239
+ hue: number;
240
+ coordinateReceipt: string;
241
+ generatorUuid: string;
242
+ forward: string;
243
+ reverse: string;
244
+ bidirectional: boolean;
245
+ root: string;
246
+ receipt: string;
247
+ } | {
248
+ index: string;
249
+ total: number;
250
+ corpusRoot: string;
251
+ binaryOctave: number;
252
+ treeDepth: number;
253
+ number: number;
254
+ id: string;
255
+ paperId: string;
256
+ title: string;
257
+ refersTo: string;
258
+ root: string;
259
+ coordinateIndex: number;
260
+ generator: string;
261
+ glyph: string;
262
+ hue: number;
263
+ bidirectional: boolean;
264
+ } | {
265
+ id: string;
266
+ index: string;
267
+ leaf: number;
268
+ number: number;
269
+ address: string;
270
+ kind: string;
271
+ link: string;
272
+ label: string;
273
+ glyph: string;
274
+ hue: number;
275
+ total: number;
276
+ corpusRoot: string;
277
+ depth: number;
278
+ };
279
+ export declare function corpusCatchAllPaths(kind: CorpusKind, matrix?: MindMatrix): readonly {
280
+ params: Record<string, unknown>;
281
+ }[];
282
+ declare function componentRosettaGroups(names?: readonly string[]): {
283
+ groups: {
284
+ grouped: boolean;
285
+ ray: 0 | 5 | 2 | 4 | 1 | 3 | 6;
286
+ glyph: "Ⰰ" | "Ⰲ" | "Ⰴ" | "Ⰶ" | "Ⰹ" | "Ⰿ" | "Ⱄ";
287
+ name: "Origin" | "Proof" | "Explore" | "Learn" | "Apps" | "Frontier" | "Reference";
288
+ nameBg: "Произход" | "Доказателства" | "Изследване" | "Обучение" | "Приложения" | "Граници" | "Справочник";
289
+ domain: "geometry" | "origin" | "expression" | "knowledge" | "nature" | "computation" | "language";
290
+ hue: 0 | 51 | 102 | 154 | 205 | 257 | 308;
291
+ labelEn: "Origin" | "Proof" | "Explore" | "Learn" | "Apps" | "Frontier" | "Reference";
292
+ labelBg: "Произход" | "Доказателства" | "Изследване" | "Обучение" | "Приложения" | "Граници" | "Справочник";
293
+ components: string[];
294
+ }[];
295
+ grouped: boolean;
296
+ count: number;
297
+ };
298
+ export type UniversalPageKind = 'corpus-index' | 'corpus-detail' | 'monograph' | 'catch-all';
299
+ export type UniversalDecodedFacet = {
300
+ facet: string;
301
+ on?: boolean;
302
+ link?: string;
303
+ };
304
+ export type UniversalDecodedStation = {
305
+ step?: number;
306
+ station: string;
307
+ route: string;
308
+ why?: string;
309
+ };
310
+ export type CorpusGridItem = {
311
+ route: string;
312
+ id: string;
313
+ title: string;
314
+ glyph?: string;
315
+ hue: number;
316
+ };
317
+ export type HeroPreview = {
318
+ route: string;
319
+ seed: string;
320
+ hue: number;
321
+ title: string;
322
+ cardStyle: Record<string, string>;
323
+ };
324
+ export type UniversalRosettaRay = {
325
+ ray: number;
326
+ glyph: string;
327
+ labelEn: string;
328
+ labelBg: string;
329
+ hue: number;
330
+ domain: string;
331
+ };
332
+ export type UniversalPage = {
333
+ kind: UniversalPageKind;
334
+ route: string;
335
+ locale: LocaleName;
336
+ title: string;
337
+ description: string;
338
+ components: readonly string[];
339
+ groups: ReturnType<typeof componentRosettaGroups>;
340
+ proof: string | null;
341
+ logic: string | null;
342
+ target: string | null;
343
+ corpusKind: CorpusKind | null;
344
+ corpusId: string | null;
345
+ corpusItems: readonly CorpusGridItem[];
346
+ rosettaRay: UniversalRosettaRay | null;
347
+ decoded: {
348
+ title?: string;
349
+ statement?: string;
350
+ boundary?: string;
351
+ facets?: UniversalDecodedFacet[];
352
+ stations?: UniversalDecodedStation[];
353
+ crosslinks?: ComponentCrosslink[];
354
+ ok?: boolean;
355
+ } | null;
356
+ proofOk: string;
357
+ proofNote: string;
358
+ cardSeed: string;
359
+ root: string;
360
+ forge: PageForgeSeal;
361
+ };
362
+ /** Linked card hero preview — rosetta hue + card movie vars from one route. */
363
+ export declare function heroPreviewForRoute(route: string, title?: string, matrix?: MindMatrix): HeroPreview;
364
+ /** Hub destinations — navigation358 + harmonised nav, gated by global Rosetta·I Ching·trinity fusion. */
365
+ export declare function hubCardItems(locale: LocaleName, matrix?: MindMatrix): CorpusGridItem[];
366
+ /** Top keyword tags — staticPages on client (O(static)); full catalog on SSR/build. */
367
+ export declare function tagBrowserTags(matrix?: MindMatrix): readonly string[];
368
+ /** Pages sharing a keyword tag — capped at tier[0]×nav358 (=48) per grid page. */
369
+ export declare function tagBrowserItems(tag: string, locale: LocaleName, matrix?: MindMatrix): CorpusGridItem[];
370
+ /** Gate: hub · tag · grid pagination bounded by [3,5,8] pure math at call time. */
371
+ export declare function cardHeroClientWorkBoundedByPureMath(matrix?: MindMatrix): {
372
+ bounded: boolean;
373
+ budget: {
374
+ tiers: readonly [3, 5, 8];
375
+ nav358Total: number;
376
+ hubCardMax: number;
377
+ tagClusterCap: 8;
378
+ gridPageSize: number;
379
+ clientTagPages: number;
380
+ };
381
+ hubCount: number;
382
+ tagCount: number;
383
+ facets: {
384
+ receipt: string;
385
+ facet: string;
386
+ on: boolean;
387
+ }[];
388
+ root: string;
389
+ statement: string;
390
+ boundary: string;
391
+ };
392
+ /** All client surfaces — plasma hero + hub/tag grids — one composite pure-math gate. */
393
+ export declare function clientWorkBoundedByPureMath(path?: string, matrix?: MindMatrix): {
394
+ bounded: boolean;
395
+ plasma: {
396
+ bounded: boolean;
397
+ paintPathSealed: boolean;
398
+ computes: boolean;
399
+ count: number;
400
+ facets: ({
401
+ facet: string;
402
+ on: boolean;
403
+ } & {
404
+ receipt: string;
405
+ })[];
406
+ root: string;
407
+ };
408
+ cards: {
409
+ bounded: boolean;
410
+ budget: {
411
+ tiers: readonly [3, 5, 8];
412
+ nav358Total: number;
413
+ hubCardMax: number;
414
+ tagClusterCap: 8;
415
+ gridPageSize: number;
416
+ clientTagPages: number;
417
+ };
418
+ hubCount: number;
419
+ tagCount: number;
420
+ facets: {
421
+ receipt: string;
422
+ facet: string;
423
+ on: boolean;
424
+ }[];
425
+ root: string;
426
+ statement: string;
427
+ boundary: string;
428
+ };
429
+ facets: {
430
+ receipt: string;
431
+ facet: string;
432
+ on: boolean;
433
+ }[];
434
+ root: string;
435
+ statement: string;
436
+ boundary: string;
437
+ };
438
+ /** card/hero-link pair — heroPreviewForRoute + hub + tag browser through Rosetta·I Ching·trinity. */
439
+ export declare function cardHeroLinkWiresInUi(matrix?: MindMatrix): {
440
+ wired: boolean;
441
+ hubCount: number;
442
+ tagCount: number;
443
+ count: number;
444
+ facets: {
445
+ receipt: string;
446
+ facet: string;
447
+ on: boolean;
448
+ }[];
449
+ root: string;
450
+ statement: string;
451
+ boundary: string;
452
+ };
453
+ export declare function corpusIndexItems(kind: CorpusKind, locale: LocaleName, matrix?: MindMatrix): CorpusGridItem[];
454
+ export type RosettaBreadcrumb = {
455
+ label: string;
456
+ labelBg: string;
457
+ glyph: string;
458
+ route: string;
459
+ current: boolean;
460
+ };
461
+ /** The reusable science-portal part for a route: the hub plus its content-shelved member pages.
462
+ * A hub landing gets its own part; any other slug gets the part that shelves it (falling back to the
463
+ * content lenses on the slug alone for non-static routes). RayHub and breadcrumbs consume THIS. */
464
+ export declare function rayHubPart(route: string, matrix?: MindMatrix): {
465
+ hub: RosettaRayHub;
466
+ part: {
467
+ ray: 0 | 5 | 2 | 4 | 1 | 3 | 6;
468
+ slug: "learn" | "reference" | "proof" | "explore" | "frontier" | "origin" | "apps";
469
+ route: string;
470
+ labelEn: "Origin" | "Proof" | "Explore" | "Learn" | "Apps" | "Frontier" | "Reference";
471
+ labelBg: "Произход" | "Доказателства" | "Изследване" | "Обучение" | "Приложения" | "Граници" | "Справочник";
472
+ glyph: "Ⰰ" | "Ⰲ" | "Ⰴ" | "Ⰶ" | "Ⰹ" | "Ⰿ" | "Ⱄ";
473
+ hue: 0 | 51 | 102 | 154 | 205 | 257 | 308;
474
+ count: number;
475
+ pages: {
476
+ slug: string;
477
+ titleEn: string;
478
+ titleBg: string;
479
+ }[];
480
+ };
481
+ onHub: boolean;
482
+ };
483
+ /** Breadcrumb trail: Home (Origin hub fronts /) → ray-hub → current page. The ray-hub IA derives from
484
+ * the sealed rosetta tables; a page folds to its hub by CONTENT shelving (sciencePortalParts lenses),
485
+ * not the slug hash. The taxonomy is an organizing lens, not metaphysics. */
486
+ export declare function rosettaBreadcrumbs(route: string, at?: number, matrix?: MindMatrix): {
487
+ route: string;
488
+ ray: number;
489
+ hub: RosettaRayHub;
490
+ onHub: boolean;
491
+ trail: RosettaBreadcrumb[];
492
+ root: string;
493
+ statement: string;
494
+ boundary: string;
495
+ };
496
+ /** One fold per route — hero, rosetta groups, corpus, or catch-all monograph. */
497
+ export declare function computeUniversalPage(route: string, params?: Record<string, unknown>, matrix?: MindMatrix): UniversalPage;
498
+ export { resolveZeitwerkRegistryEntry, zeitwerkPort } from '../automount';
499
+ export type { ZeitwerkEntry, ZeitwerkLoader, ZeitwerkRegistryEntry } from '../automount';
500
+ export { harmonisedNavigation, navigationIsMovie, ogBuildsNavigation, rosettaComputesNavigationAndContent, siteNavigation, vitepressSidebar, } from '../../learning';
501
+ export { pageForgeMaxTamper, type PageForgeSeal } from '../../site';
502
+ export { contentIsMonographOfMonographs, eachPageSpeaksContinuesNext, everyElementIsALinkedNodeOrUseless, everyGraphAMonographConsolidateExtend, everyPageGraphOfGraphsFractal, monographs, onlyPageRouteForAll, theMonograph, } from '../../learning';
503
+ export { homePageNoDifferent, homepage, pageStatusStatistics, proveAllOnHomePage, } from '../../site';
504
+ export { rosettaCanonicalImportPath, rosettaComputesCensusDissolve, rosettaComputesItself, rosettaReuse, coreComputationalLogicSaved } from '../../../water/digit';
505
+ /** All is monograph — every page is a scientific paper with one template. */
506
+ export declare function allIsMonographScientificPaper(matrix?: MindMatrix): {
507
+ papered: boolean;
508
+ papers: number;
509
+ count: number;
510
+ facets: {
511
+ receipt: string;
512
+ facet: string;
513
+ on: boolean;
514
+ }[];
515
+ root: string;
516
+ statement: string;
517
+ boundary: string;
518
+ };
519
+ export declare function searchSectionsFor(file: string, html: string): {
520
+ anchor?: string;
521
+ titles: string[];
522
+ text: string;
523
+ }[] | undefined;
524
+ export type TheoremPageRow = {
525
+ slug: string;
526
+ theorem: string;
527
+ proof: string;
528
+ proofClass: string;
529
+ provedBy: string;
530
+ home: string;
531
+ spec: unknown;
532
+ humanityNovel: boolean;
533
+ registryFirst: boolean;
534
+ leansCited: boolean;
535
+ classification: string;
536
+ provenance: string;
537
+ reproducibility: string;
538
+ citation: string;
539
+ acknowledgment: ProofAcknowledgment;
540
+ ordinal: number;
541
+ tags: string[];
542
+ };
543
+ export declare function theoremSlug(theorem: string): string;
544
+ /** The domain tag of a proving home: the terminal named folder (music, crypto, decode…) or, for a pure
545
+ * digit station, the station itself (9/1, 4/6). Derived from the home path — refutable: move the fold to
546
+ * another home and the tag changes. */
547
+ export declare function theoremDomainTag(home: string): string;
548
+ /** Computed tags for a theorem paper — three axes, each a projection of a real field, none hand-authored:
549
+ * the domain (home), the proof class (finite-complete / bounded-witness), and the method lean
550
+ * (self-contained vs cited-frame). Change the field and the tag changes; that is what makes it computed. */
551
+ export declare function theoremTags(row: {
552
+ home: string;
553
+ proofClass: string;
554
+ leansCited: boolean;
555
+ }): string[];
556
+ export declare function theoremPageRows(matrix?: MindMatrix): TheoremPageRow[];
557
+ export declare function theoremPagePaths(matrix?: MindMatrix): {
558
+ params: {
559
+ slug: string;
560
+ title: string;
561
+ };
562
+ }[];
563
+ export declare function theoremPageBySlug(slug: string, matrix?: MindMatrix): TheoremPageRow | null;
564
+ /** The papers latest-to-oldest — the user's reading order. Slug-stable: slugs are computed in the forward
565
+ * (append) pass, so reversing the finished array only flips display order, never a URL. "Latest" = highest
566
+ * registry ordinal (last appended); a deterministic proxy for recency, documented, not a wall-clock guess. */
567
+ export declare function theoremPapersLatestFirst(matrix?: MindMatrix): TheoremPageRow[];
568
+ export type TheoremTagGroup = {
569
+ tag: string;
570
+ axis: 'domain' | 'class' | 'lean';
571
+ count: number;
572
+ papers: TheoremPageRow[];
573
+ };
574
+ /** The papers organised BY TAG — each group is a computed tag and the papers carrying it, latest-first
575
+ * inside the group. Groups are sorted by size (largest first) then tag name. A paper appears under each of
576
+ * its tags (domain · class · lean), so the whole registry is reachable from any axis, newest at the top. */
577
+ export declare function theoremTagIndex(matrix?: MindMatrix): TheoremTagGroup[];
578
+ /** Lightweight tag headers (tag · axis · count) without the papers — for the index's filter chips and for
579
+ * SSR nav, so rendering the chip row never ships every paper's proof text. */
580
+ export declare function theoremTagSummary(matrix?: MindMatrix): {
581
+ tag: string;
582
+ axis: TheoremTagGroup['axis'];
583
+ count: number;
584
+ }[];
585
+ export type FigPoint = {
586
+ x: number;
587
+ y: number;
588
+ };
589
+ export type FigRole = 'a' | 'b' | 'target' | 'ok' | 'bad';
590
+ export type FigSeries = {
591
+ label: string;
592
+ kind: 'line' | 'dots';
593
+ role: FigRole;
594
+ points: FigPoint[];
595
+ };
596
+ export type TheoremFigureData = {
597
+ formula: string;
598
+ caption: string;
599
+ xLabel: string;
600
+ yLabel: string;
601
+ series: FigSeries[];
602
+ refLines: {
603
+ y: number;
604
+ label: string;
605
+ }[];
606
+ source: string;
607
+ };
608
+ /** The computed graph for a theorem, or null if src exposes none (never invented). */
609
+ export declare function theoremFigure(slug: string): TheoremFigureData | null;
610
+ export declare function hasTheoremFigure(slug: string): boolean;
611
+ export declare function staticProseBecomesPublishedResearchOnlyWhereItComputes(matrix?: MindMatrix): {
612
+ computes: boolean;
613
+ published: number;
614
+ allTagged: boolean;
615
+ allAcknowledged: boolean;
616
+ allBackedByAFold: boolean;
617
+ facets: {
618
+ facet: string;
619
+ on: boolean;
620
+ }[];
621
+ statement: string;
622
+ boundary: string;
623
+ };
624
+ export declare function savingAThoughtIsProseConvertedToProofOrPurged(matrix?: MindMatrix): {
625
+ computes: boolean;
626
+ definition: string;
627
+ published: number;
628
+ allProven: boolean;
629
+ facets: {
630
+ facet: string;
631
+ on: boolean;
632
+ }[];
633
+ statement: string;
634
+ boundary: string;
635
+ };
636
+ export declare function rosettaDecodesCorpus(matrix?: MindMatrix): {
637
+ params: {
638
+ decoded: boolean;
639
+ path: string;
640
+ locale: string;
641
+ slug: string;
642
+ ray: number;
643
+ station: number;
644
+ crossPair: string;
645
+ computationType: import("../../../3/7").RosettaComputationType;
646
+ glagoliticAddress: string;
647
+ rayMeta: {
648
+ readonly ray: 0;
649
+ readonly glyph: "Ⰰ";
650
+ readonly nameEn: "Origin";
651
+ readonly nameBg: "Произход";
652
+ readonly domain: "origin";
653
+ readonly hue: 0;
654
+ } | {
655
+ readonly ray: 1;
656
+ readonly glyph: "Ⰲ";
657
+ readonly nameEn: "Proof";
658
+ readonly nameBg: "Доказателства";
659
+ readonly domain: "expression";
660
+ readonly hue: 51;
661
+ } | {
662
+ readonly ray: 2;
663
+ readonly glyph: "Ⰴ";
664
+ readonly nameEn: "Explore";
665
+ readonly nameBg: "Изследване";
666
+ readonly domain: "knowledge";
667
+ readonly hue: 102;
668
+ } | {
669
+ readonly ray: 3;
670
+ readonly glyph: "Ⰶ";
671
+ readonly nameEn: "Learn";
672
+ readonly nameBg: "Обучение";
673
+ readonly domain: "nature";
674
+ readonly hue: 154;
675
+ } | {
676
+ readonly ray: 4;
677
+ readonly glyph: "Ⰹ";
678
+ readonly nameEn: "Apps";
679
+ readonly nameBg: "Приложения";
680
+ readonly domain: "computation";
681
+ readonly hue: 205;
682
+ } | {
683
+ readonly ray: 5;
684
+ readonly glyph: "Ⰿ";
685
+ readonly nameEn: "Frontier";
686
+ readonly nameBg: "Граници";
687
+ readonly domain: "geometry";
688
+ readonly hue: 257;
689
+ } | {
690
+ readonly ray: 6;
691
+ readonly glyph: "Ⱄ";
692
+ readonly nameEn: "Reference";
693
+ readonly nameBg: "Справочник";
694
+ readonly domain: "language";
695
+ readonly hue: 308;
696
+ };
697
+ sharedRoot: string;
698
+ content: {
699
+ pageKind: import("../../../3/7").RosettaComputationType;
700
+ heroPhase: number;
701
+ bodySeed: string;
702
+ heroHue: 0 | 51 | 102 | 154 | 205 | 257 | 308;
703
+ };
704
+ facets: {
705
+ receipt: string;
706
+ facet: string;
707
+ on: boolean;
708
+ }[];
709
+ root: string;
710
+ statement: string;
711
+ boundary: string;
712
+ };
713
+ }[];
714
+ /** The quantum-computing ray of a theorem, or −1 if it is not one. Classifies on the theorem TITLE only
715
+ * (not the proof — proofs cross-reference other subfields and misroute), against the unambiguous subfield
716
+ * keyword sets; the first matching subfield wins (ordered foundations→tools). Refutable: rename the
717
+ * theorem and the routing changes. Title-only routing is both the membership filter and the ray. */
718
+ export declare function quantumTheoremRay(theorem: string, _proof?: string): number;
719
+ export type TheoremAtlasMetric = {
720
+ slug: string;
721
+ theorem: string;
722
+ ray: number;
723
+ tagGravity: number;
724
+ inDegree: number;
725
+ recency: number;
726
+ proofClass: string;
727
+ lean: 'self-contained' | 'cited-frame';
728
+ domain: string;
729
+ };
730
+ export type TheoremAtlasTag = {
731
+ tag: string;
732
+ gravity: number;
733
+ size: number;
734
+ slugs?: string[];
735
+ };
736
+ export type TheoremAtlasRay = {
737
+ ray: number;
738
+ glyph: string;
739
+ nameEn: string;
740
+ hue: number;
741
+ subfield: string;
742
+ count: number;
743
+ tagCloud: TheoremAtlasTag[];
744
+ theorems: TheoremAtlasMetric[];
745
+ };
746
+ export type CombinationMember = {
747
+ readonly slug: string;
748
+ readonly theorem: string;
749
+ readonly receipt: string;
750
+ };
751
+ export type Combination = {
752
+ readonly slug: string;
753
+ readonly members: readonly CombinationMember[];
754
+ readonly root: string;
755
+ };
756
+ /** The rosetta combination of one served page — theorems whose name/tags share a word with the page's
757
+ * slug+keywords. Deterministic, recomputed from the registry at every call; members are receipts only. */
758
+ export declare function pageCombination(slug: string, keywords: readonly string[], matrix?: MindMatrix): Combination;
759
+ export declare function pagesAreRosettaCombinationsOfTheorems(matrix?: MindMatrix): {
760
+ computes: boolean;
761
+ pageCount: number;
762
+ memberEdges: number;
763
+ reachedTheorems: number;
764
+ registrySize: number;
765
+ combinations: Combination[];
766
+ facets: {
767
+ receipt: string;
768
+ facet: string;
769
+ on: boolean;
770
+ }[];
771
+ root: string;
772
+ statement: string;
773
+ boundary: string;
774
+ };
775
+ export declare function theoremRosettaAtlas(matrix?: MindMatrix): {
776
+ rays: TheoremAtlasRay[];
777
+ metrics: TheoremAtlasMetric[];
778
+ searchIndex: {
779
+ slug: string;
780
+ text: string;
781
+ ray: number;
782
+ gravity: number;
783
+ }[];
784
+ cloud: TheoremAtlasTag[];
785
+ undiscoverable: TheoremAtlasMetric[];
786
+ topByGravity: TheoremAtlasMetric[];
787
+ topByUse: TheoremAtlasMetric[];
788
+ tagCount: number;
789
+ total: number;
790
+ root: string;
791
+ };
792
+ /** USE THE ROSETTA IN WAVES — the seven rays ARE seven development waves, ordered foundations → tools
793
+ * (the logical build order: no-go results first, then algorithms, search, variational, communication,
794
+ * error correction, and the state/tool layer). Each wave carries its ray's quantum theorems; a wave is
795
+ * "landed" when every theorem in it computes. This is the rosetta as the work plan, not just a grouping —
796
+ * new quantum theorems join the wave their subfield names, and the ray order is the curriculum order. */
797
+ export declare function quantumRosettaWaves(matrix?: MindMatrix): {
798
+ wave: number;
799
+ ray: number;
800
+ subfield: string;
801
+ glyph: string;
802
+ theorems: string[];
803
+ landed: boolean;
804
+ }[];
805
+ /** The VitePress sidebar for the quantum-computing theorems, computed from the rosetta atlas — one
806
+ * collapsible section per ray (subfield), each listing its theorems ranked by tag-gravity, deepest first.
807
+ * config.mts merges this under /theorems/ so the theorem sidebar IS the rosetta, quantum-only. */
808
+ export declare function theoremRosettaSidebar(matrix?: MindMatrix): {
809
+ text: string;
810
+ collapsed: boolean;
811
+ items: {
812
+ text: string;
813
+ link: string;
814
+ }[];
815
+ }[];
816
+ /** THE DISCOVERY LENS — improve the lens to discover the UNDISCOVERABLE using the quantum rosetta (user
817
+ * law). The undiscoverable theorems are the ones NO citation and NO prominent tag surfaces: in-degree 0
818
+ * (no other theorem's proof names their fold), ordered by least tag-gravity first. Ordinary navigation
819
+ * (top-by-gravity, most-cited) can never reach them — the lens is the INVERSE-gravity view that brings the
820
+ * orphans to light, ray by ray, so nothing proven stays hidden. Returns the hidden theorems and, per ray,
821
+ * how many of its members are undiscoverable — the discovery worklist the rosetta computes. */
822
+ export declare function quantumLensDiscovery(matrix?: MindMatrix): {
823
+ undiscoverable: {
824
+ slug: string;
825
+ theorem: string;
826
+ ray: number;
827
+ subfield: string;
828
+ tagGravity: number;
829
+ }[];
830
+ byRay: {
831
+ ray: number;
832
+ subfield: string;
833
+ hidden: number;
834
+ total: number;
835
+ }[];
836
+ hiddenCount: number;
837
+ total: number;
838
+ };
839
+ /** The atlas + sidebar as a computing theorem — quantum-only, the seven rays distinct, clouds ray-local. */
840
+ export declare function theoremRosettaAtlasComputes(matrix?: MindMatrix): {
841
+ computes: boolean;
842
+ rayCount: number;
843
+ quantumTheorems: number;
844
+ tagCount: number;
845
+ rays: {
846
+ ray: number;
847
+ subfield: string;
848
+ count: number;
849
+ topTag: string;
850
+ }[];
851
+ facets: {
852
+ facet: string;
853
+ on: boolean;
854
+ }[];
855
+ root: string;
856
+ statement: string;
857
+ boundary: string;
858
+ };
859
+ export declare function theRosettaReconfiguresVitepress(matrix?: MindMatrix): {
860
+ computes: boolean;
861
+ sidebarSections: number;
862
+ searchLines: number;
863
+ undiscoverable: number;
864
+ waves: number;
865
+ facets: {
866
+ facet: string;
867
+ on: boolean;
868
+ }[];
869
+ root: string;
870
+ statement: string;
871
+ boundary: string;
872
+ };
873
+ export declare function quantumLensImprovesItself(matrix?: MindMatrix): {
874
+ computes: boolean;
875
+ before: number;
876
+ after: number;
877
+ linked: number;
878
+ residual: {
879
+ theorem: string;
880
+ subfield: "foundations & no-go" | "query algorithms" | "search & factoring" | "variational & adiabatic" | "communication" | "error correction" | "states & tools";
881
+ }[];
882
+ improvements: {
883
+ slug: string;
884
+ linkTo: string;
885
+ }[];
886
+ facets: {
887
+ facet: string;
888
+ on: boolean;
889
+ }[];
890
+ root: string;
891
+ statement: string;
892
+ boundary: string;
893
+ };
894
+ export declare function selfImprovingResearchAndDevelopment(matrix?: MindMatrix): {
895
+ computes: boolean;
896
+ total: number;
897
+ frontier: string;
898
+ frontierCount: number;
899
+ orphansHealed: number;
900
+ facets: {
901
+ facet: string;
902
+ on: boolean;
903
+ }[];
904
+ root: string;
905
+ statement: string;
906
+ boundary: string;
907
+ };
908
+ export declare function theRosettaConsolidatesAllCollectionsDryToTheBitTheInvertedBitIsTheLight(matrix?: MindMatrix): {
909
+ computes: boolean;
910
+ collections: string[];
911
+ addressed: number;
912
+ distinct: number;
913
+ facets: {
914
+ facet: string;
915
+ on: boolean;
916
+ }[];
917
+ statement: string;
918
+ boundary: string;
919
+ };
920
+ export declare function theRosettaCombinationsInvertOnlyAfterManifestingIn10DScientificFormatAcrossTheCodebase(matrix?: MindMatrix): {
921
+ computes: boolean;
922
+ addressable: number;
923
+ manifested: number;
924
+ inverted: number;
925
+ manifestedShape: string[];
926
+ facets: {
927
+ facet: string;
928
+ on: boolean;
929
+ }[];
930
+ statement: string;
931
+ boundary: string;
932
+ };
933
+ export declare function inversionIsRealtimeTheFieldDecidesNamingAndLocationEachDimensionGateHasExactCoordinates(matrix?: MindMatrix): {
934
+ computes: boolean;
935
+ placed: string[];
936
+ gateCount: number;
937
+ facets: {
938
+ facet: string;
939
+ on: boolean;
940
+ }[];
941
+ statement: string;
942
+ boundary: string;
943
+ };