@domandigital/craft 0.15.0 → 0.17.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.cts CHANGED
@@ -925,6 +925,13 @@ interface Snapshot {
925
925
  * claim, not its menu or its calls to action.
926
926
  */
927
927
  firstScreenText?: string[];
928
+ /**
929
+ * Whether this is a site's home page, set by whoever knows: `craft
930
+ * calibrate` from its labels, and `craft null build` and `null import`,
931
+ * which ask for a home page. Absent, the URL decides (`HOME_URL`), and a
932
+ * local file such as `pages/01.html` never reads as one.
933
+ */
934
+ home?: boolean;
928
935
  /** Set when a version 1 snapshot was read and upgraded in memory. */
929
936
  migratedFrom?: 1;
930
937
  /** The design-system measures trawl has collected since v7, kept so it can switch to this. */
@@ -1546,6 +1553,213 @@ declare function paragraphUniformity(paragraphs: string[]): number | null;
1546
1553
  /** A block the size of a blurb: 2 to 8 sentences, 20 to 160 words. */
1547
1554
  declare function isBlurb(f: Pick<ShapeFeatures, "sentences" | "words">): boolean;
1548
1555
 
1556
+ /**
1557
+ * Lexical and specificity features for a short block of copy.
1558
+ *
1559
+ * The sentence-shape features (shape.ts) did not separate model copy from
1560
+ * people's at blurb length. These measure what a block says and which words it
1561
+ * reaches for: how many of the tell words and phrases craft already lists, how
1562
+ * many words with published excess-use evidence, and how particular the block
1563
+ * is (names, places, figures, the nouns of the trade).
1564
+ *
1565
+ * Pure and zero-dependency, and used both by the calibration scripts and by
1566
+ * any tell that ships on the result.
1567
+ *
1568
+ * Every word in STUDY_WORDS carries its source. Models change what they
1569
+ * over-use between generations (Juzek and Ward found "boasts" gone and
1570
+ * "underscore" up sharply from GPT-3.5 to GPT-4o-mini), so a listed word is a
1571
+ * measurement with a date, not a fact about models.
1572
+ */
1573
+ interface StudyWord {
1574
+ word: string;
1575
+ source: string;
1576
+ }
1577
+ /**
1578
+ * Words with published excess-use evidence. Academic register, so a word here
1579
+ * is a candidate to measure in marketing copy, not a tell.
1580
+ */
1581
+ declare const STUDY_WORDS: readonly StudyWord[];
1582
+ /** Every word or phrase the features look for, with where it came from. */
1583
+ declare function vocabulary(): {
1584
+ word: string;
1585
+ source: string;
1586
+ }[];
1587
+ /** Occurrences per vocabulary word in the text. */
1588
+ declare function vocabularyCounts(text: string): Map<string, number>;
1589
+ interface LexicalFeatures {
1590
+ /** Hits from craft's own tell lists, per 100 words. */
1591
+ listRate: number;
1592
+ /** Hits from the published excess-use words, per 100 words. */
1593
+ studyRate: number;
1594
+ /** Distinct specifics (names, places, figures, dates, contact details, brief terms) per 100 words. */
1595
+ hardPer100: number;
1596
+ /** Distinct trade nouns per 100 words. */
1597
+ tradePer100: number;
1598
+ /** All specifics per 100 words. */
1599
+ specificsPer100: number;
1600
+ /** 1 when there is no hard specific and fewer than two trade nouns. */
1601
+ generic: number;
1602
+ /** Distinct money, date, time and number specifics. */
1603
+ figures: number;
1604
+ /** Distinct names and brief terms. */
1605
+ names: number;
1606
+ }
1607
+ declare const LEXICAL_FEATURES: readonly (keyof LexicalFeatures)[];
1608
+ declare function lexicalOf(text: string, brief?: string): LexicalFeatures;
1609
+
1610
+ /**
1611
+ * Register features: the measures a writer steers by when choosing a register.
1612
+ *
1613
+ * The shape and lexical features ask whether copy reads as generated. These
1614
+ * ask something simpler: how long are the sentences, how often does the
1615
+ * writer say "you", contract a verb or use the passive. Plain writing, a
1616
+ * customer email and a literary paragraph differ on exactly these.
1617
+ *
1618
+ * Pure and zero-dependency, like `shape.ts`, whose sentence splitter and word
1619
+ * counter they share. The calibration readers call the same function, so a
1620
+ * published band describes the measure that ships.
1621
+ *
1622
+ * `passiveShare` is a heuristic: a form of "be" (optionally one adverb) then a
1623
+ * participle, with common adjectival participles ("tired", "interested")
1624
+ * excluded. It misses "get" passives and catches some predicative adjectives.
1625
+ * It is measured, not assumed, before anything relies on it.
1626
+ */
1627
+ interface RegisterFeatures {
1628
+ /** Words per sentence. */
1629
+ meanSentenceWords: number;
1630
+ /** Contracted forms per 100 words: you'll, it's, don't, we're. */
1631
+ contractionsPer100: number;
1632
+ /** you, your, yours, yourself, yourselves per 100 words. */
1633
+ youPer100: number;
1634
+ /** I, me, my, mine, we, us, our, ours per 100 words. */
1635
+ firstPersonPer100: number;
1636
+ /** Share of sentences with a passive construction. */
1637
+ passiveShare: number;
1638
+ /** Letters per word. */
1639
+ meanWordLength: number;
1640
+ }
1641
+ declare const REGISTER_FEATURES: readonly (keyof RegisterFeatures)[];
1642
+ declare function registerOf(text: string): RegisterFeatures;
1643
+
1644
+ /**
1645
+ * Register briefs: how to write in a chosen register, read before drafting.
1646
+ *
1647
+ * `COPY.md` says what every piece of house copy avoids. A register says what a
1648
+ * draft reaches for: plain for a form or a policy, persuasive for a landing
1649
+ * page, warm for a customer email, literary for a premium brand. The brief is
1650
+ * read before drafting and `craft copy` runs afterwards, the order `COPY.md`
1651
+ * sets for its own writing directives.
1652
+ *
1653
+ * Directives are positive ("do this"), never a list of phrases to avoid:
1654
+ * naming a phrase puts it in the writer's head. Each one names its source, and
1655
+ * a directive with no public authority behind it says "house judgement".
1656
+ *
1657
+ * Nothing here measures or grades. `REGISTERS.md` carries the generated text
1658
+ * of this file, bound by a test.
1659
+ */
1660
+ type RegisterId = "plain" | "persuasive" | "warm" | "literary";
1661
+ interface RegisterSource {
1662
+ name: string;
1663
+ url?: string;
1664
+ /** What this register takes from it, and anything it does not. */
1665
+ note: string;
1666
+ }
1667
+ interface Directive {
1668
+ text: string;
1669
+ /** Short source key: a `RegisterSource.name`, `COPY.md`, or "house judgement". */
1670
+ from: string;
1671
+ }
1672
+ interface Register {
1673
+ id: RegisterId;
1674
+ name: string;
1675
+ useFor: string;
1676
+ directives: Directive[];
1677
+ example: {
1678
+ before: string;
1679
+ after: string;
1680
+ why: string;
1681
+ };
1682
+ sources: RegisterSource[];
1683
+ }
1684
+ declare const REGISTERS: readonly Register[];
1685
+ declare const REGISTER_IDS: readonly RegisterId[];
1686
+ declare function getRegister(id: string): Register | undefined;
1687
+ /** The brief as plain text, for reading before a draft or pasting into a prompt. */
1688
+ declare function registerBrief(id: RegisterId): string;
1689
+ /** The generated block of REGISTERS.md. */
1690
+ declare function registersDoc(): string;
1691
+
1692
+ /**
1693
+ * `craft register check`: where a draft sits against the human baselines.
1694
+ *
1695
+ * A single short passage cannot be placed: at blurb length the registers
1696
+ * overlap too much (calibration/copy-shape/report-registers.md). Averaged over
1697
+ * five paragraphs, every register pair separates on several features. So the
1698
+ * check reads documents only, measures each blurb-sized paragraph with the
1699
+ * same functions the baselines used, averages them, and compares the average
1700
+ * with the document-level bands in `profile.ts`.
1701
+ *
1702
+ * It reports, never grades: which features fall outside the chosen
1703
+ * register's usual range, and which baseline the draft reads closest to.
1704
+ * `COPY.md` "Style is not evidence" applies: no score, no verdict.
1705
+ */
1706
+
1707
+ interface Band {
1708
+ p10: number;
1709
+ p50: number;
1710
+ p90: number;
1711
+ sd: number;
1712
+ /** Baseline registers this feature separates this one from, at document level. */
1713
+ separates: string[];
1714
+ }
1715
+ /** Baseline register -> feature -> band. */
1716
+ type RegisterProfile = Readonly<Record<string, Readonly<Record<string, Band>>>>;
1717
+ /** Which baseline each brief is compared with, and what that baseline is not. */
1718
+ declare const REGISTER_BASELINE: Readonly<Record<RegisterId, {
1719
+ baseline: string;
1720
+ note: string;
1721
+ }>>;
1722
+ declare const MIN_PARAGRAPHS = 5;
1723
+ /**
1724
+ * Features that measure what a text is about, not how it is written. Enron is
1725
+ * dense with deal names and figures because of its subject, not its register,
1726
+ * so these stay in the separation report but out of the check: a warm email
1727
+ * about a kitchen refit should not be told it names too few people.
1728
+ */
1729
+ declare const CONTENT_FEATURES: ReadonlySet<string>;
1730
+ interface Outside {
1731
+ feature: string;
1732
+ value: number;
1733
+ band: [number, number];
1734
+ direction: "higher" | "lower";
1735
+ sentence: string;
1736
+ }
1737
+ interface RegisterCheck {
1738
+ register: RegisterId;
1739
+ baseline: string;
1740
+ /** Blurb-sized paragraphs measured. */
1741
+ paragraphs: number;
1742
+ /** False under MIN_PARAGRAPHS: nothing is compared. */
1743
+ measured: boolean;
1744
+ means: Record<string, number>;
1745
+ outside: Outside[];
1746
+ /** Standardised distance to each baseline's median, closest first. */
1747
+ nearest: {
1748
+ register: string;
1749
+ distance: number;
1750
+ }[];
1751
+ note: string;
1752
+ summary: string;
1753
+ }
1754
+ declare const featureLabel: (f: string) => string;
1755
+ /** Paragraphs as the baselines read them: blank lines split, headings dropped. */
1756
+ declare function documentParagraphs(text: string): string[];
1757
+ declare function checkRegister(text: string, id: RegisterId, profile: RegisterProfile): RegisterCheck;
1758
+
1759
+ declare const PROFILE_PARAGRAPHS = 5;
1760
+ declare const PROFILE_MEASURED = "2026-09-30";
1761
+ declare const PROFILE: RegisterProfile;
1762
+
1549
1763
  /**
1550
1764
  * Specificity tells: a page that could belong to anyone.
1551
1765
  *
@@ -2349,9 +2563,18 @@ interface NullRun {
2349
2563
  interface NullModel {
2350
2564
  version: typeof NULL_VERSION;
2351
2565
  brief: string;
2566
+ /**
2567
+ * The prompt each page was built from. For imported pages, the prompt the
2568
+ * person was asked to give the builder: `craft null prompt` prints it.
2569
+ */
2352
2570
  prompt: string;
2353
- /** What was asked for with --model, or "default". */
2571
+ /** What was asked for with --model, or "default"; "unknown" for imported pages unless given. */
2354
2572
  model: string;
2573
+ /**
2574
+ * The tool that built the pages, when they were imported rather than
2575
+ * generated here: "v0", "lovable". Absent for `craft null build`.
2576
+ */
2577
+ builder?: string;
2355
2578
  catalogueVersion: string;
2356
2579
  builtAt: string;
2357
2580
  runs: NullRun[];
@@ -2876,6 +3099,92 @@ declare function propose(input: ProposeInput): {
2876
3099
  direction: ArtDirection;
2877
3100
  };
2878
3101
 
3102
+ /**
3103
+ * Calibration: how well the catalogue separates pages a person has labelled.
3104
+ *
3105
+ * A labelled set holds three kinds of page. `ai` pages were generated. `human`
3106
+ * pages were made by people. `ai-looking` pages were made by people and still
3107
+ * read as generated to someone who looks at many sites: they are what the
3108
+ * tells are for, since a tell detects a look, not a maker. So a tell's hit on
3109
+ * an `ai` or an `ai-looking` page counts for it, and a hit on a `human` page
3110
+ * counts against it.
3111
+ *
3112
+ * The verdict is the one CHARACTER.md fixed before any result was read: a page
3113
+ * is flagged when it is typical against the null models, or tell-heavy (three
3114
+ * or more distinct design tells). With no null models, tell-heavy decides.
3115
+ *
3116
+ * The targets are CHARACTER.md's first three. Target 4 (no siblings in the
3117
+ * estate) is `craft estate compare`; target 5 (people cannot tell) is the blind
3118
+ * test in docs/blind-test.md, which no tool here can run.
3119
+ *
3120
+ * Pure. Taking snapshots and reading files lives in the CLI.
3121
+ */
3122
+ declare const LABELS: readonly ["ai", "ai-looking", "human"];
3123
+ type Label = (typeof LABELS)[number];
3124
+ /** Targets 1 and 3: this share of the set flagged, or more. */
3125
+ declare const FLAGGED_TARGET = 0.9;
3126
+ /** Target 2: this share of the human set typical, or less. */
3127
+ declare const HUMAN_TYPICAL_TARGET = 0.1;
3128
+ interface MeasuredPage {
3129
+ id: string;
3130
+ label: Label;
3131
+ /** Every catalogue tell found on the page, each once. */
3132
+ tells: string[];
3133
+ /** Findings in the blocking tier. */
3134
+ blocking: number;
3135
+ /** Against the pooled null models; absent when none were given. */
3136
+ typicality?: {
3137
+ score: number;
3138
+ typical: boolean;
3139
+ };
3140
+ }
3141
+ interface UnmeasuredPage {
3142
+ id: string;
3143
+ label: Label;
3144
+ reason: string;
3145
+ }
3146
+ interface LabelSummary {
3147
+ label: Label;
3148
+ pages: number;
3149
+ flagged: number;
3150
+ typical: number | null;
3151
+ tellHeavy: number;
3152
+ blocking: number;
3153
+ }
3154
+ interface TellRate {
3155
+ tell: string;
3156
+ /** The catalogue generation it belongs to; null for a tell the catalogue no longer holds. */
3157
+ generation: number | null;
3158
+ hits: Record<Label, number>;
3159
+ /** Hits on `ai` and `ai-looking` pages over all hits. */
3160
+ precision: number;
3161
+ /** `ai` and `ai-looking` pages hit, over all of them measured. Null when there are none. */
3162
+ recall: number | null;
3163
+ }
3164
+ interface TargetCheck {
3165
+ target: string;
3166
+ /** Null when no page with that label was measured. */
3167
+ met: boolean | null;
3168
+ detail: string;
3169
+ }
3170
+ interface Calibration {
3171
+ pages: number;
3172
+ /** Whether typicality was measured, or tell-heavy alone decided. */
3173
+ typicality: boolean;
3174
+ labels: LabelSummary[];
3175
+ tells: TellRate[];
3176
+ /** Catalogue tells that fired on no page. */
3177
+ silent: string[];
3178
+ targets: TargetCheck[];
3179
+ unmeasured: UnmeasuredPage[];
3180
+ }
3181
+ /** Tells about the look, not the words: what "tell-heavy" counts. */
3182
+ declare function designTells(tells: string[]): string[];
3183
+ declare function isFlagged(page: MeasuredPage): boolean;
3184
+ declare function calibrate(pages: MeasuredPage[], unmeasured?: UnmeasuredPage[]): Calibration;
3185
+ /** `notes` are lines the caller knows and the numbers do not show, printed under the heading. */
3186
+ declare function formatCalibration(c: Calibration, notes?: string[]): string;
3187
+
2879
3188
  /**
2880
3189
  * The character report: the three signals and the reason rule, read together.
2881
3190
  *
@@ -2951,4 +3260,4 @@ declare function characterReport(input: CharacterInputs, copyTells?: Set<string>
2951
3260
 
2952
3261
  declare function retrofitPlan(report: CharacterReport, direction?: ArtDirection | null): string;
2953
3262
 
2954
- export { ACCENT_SCALE, ACCENT_SHARED, AI_PHRASES, AI_SOURCE_TYPES, AI_VIOLET, AI_WORDS, type AccentFork, type AccentForkOptions, type Action, type ActionPosition, type Area, type ArtDirection, BASELINE_VERSION, BUZZWORDS, type Baseline, type BaselineEntry, CATALOGUE, CATALOGUE_VERSION, CHOICE_KEYS, COMPONENT_ROLES, CONSIDERATION, CONVENTION, CUSTOMER_KINDS, type CandidateKind, type CharacterInputs, type CharacterReport, type CheckOptions, type CheckReport, type CheckRestraintInput, type ChoiceKey, type Claim, type ClaimsReport, type CompetitorComparison, type ComponentPair, type ComponentTypicality, type Consideration, type ContrastCheck, type ContrastReport, type CopySide, type CopyTell, type CraftConfig, type CraftTokensInput, type CraftTokensResult, type CustomerKind, DEFAULT_IGNORE, DENSITIES, DENSITY_NAMES, DIRECTION_VERSION, DIRECTION_VERSIONS, DISTANCE_WEIGHTS, DURATION_MS, DURATION_S, type DensityCssOptions, type DensityName, type DirectionChoice, type DirectionComparison, type DirectionMatch, type DirectionProblem, type DirectionReport, type DirectionSource, type DirectionSummary, type DurationName, EASE, EASE_TUPLE, EDGE_STEP, ESTATE_VERSION, EXIT_RATIO, type EaseName, type EmitCssOptions, type EstateMatch, type EstatePair, type EstateRegister, type EstateSite, FINGERPRINT_VERSION, FUNCTION_WORDS, type Fact, type FactComparison, type FactKind, type Finding, type Fingerprint, type FingerprintDistance, type FingerprintSection, type FluidSpaceOptions, type FluidTypeOptions, type FluidTypeResult, type FontClass, GROUND_SCALE, GROUND_SHARED, type Gamut, type Generation, HIERARCHY_FIELDS, HOME_FILE, HOME_URL, HOUSE, HOUSE_BUDGET, HOUSE_LOCKED, HOUSE_TYPE, type HarvestCandidate, type HarvestOptions, type Hit, type HouseRule, type HouseTier, IMAGERY_TELLS, type ImageProvenance, type ImageRole, JSON_SCHEMA_VERSION, type JobContext, type JobMap, type JobPart, LICENCES, LIGHTNESS_CURVE, type LicenceEntry, type LicenceSubject, MIN_DECIDED, MIN_RUNS, MOOD, type MotionDecision, type MotionKind, type MultiClient, NEGATIVE_REASSURANCE, NULL_VERSION, type NullModel, type NullRun, type Oklch, type OklchToHexOptions, PAGE_TYPES, PILL_LIMIT, PLAINER_WORDS, PREFERENCE, PROMO_BADGE, PROOF_NAMES, PROPOSED, PROVENANCE_SCAN_BYTES, type PageCopy, type PageHierarchy, type PageResult, type PageType, type PaletteColour, type Proposal, type ProposeInput, RAMP_STEPS, READABLE_SNAPSHOT_VERSIONS, REFLEX_FONTS_1, REFLEX_FONTS_2, RENDERED_PATHS, RENDERED_TELLS, REVEAL_LIMIT, REVIEW_PHRASES, type Ramp, type RampFromAnchorsOptions, type RampOptions, type RampStep, type ReasonInput, type RenderedTell, type ResearchInput, type RestraintBudget, type RestraintReport, type RestraintSeverity, type RestraintViolation, type Rgb, type RgbaImage, SCALE, SECTION_ROLES, SHADCN_LIMIT, SHADCN_PRIMITIVES, SHARED_PART, SIBLING_AT, SNAPSHOT_VERSION, SOURCE_KINDS, SPACE_STEPS, SPECIFICITY_COPY_TELLS, SPECIFICITY_RENDERED_TELLS, SPRING, STANDING_CLAIM, STOCK_AVATAR_HOSTS, STOCK_FIGURES, STOCK_PHOTO_HOSTS, STOCK_PHRASES, type SarifOptions, type SarifTell, type SectionGeometry, type SectionKind, type SectionRhythmOptions, type SectionRole, type SemanticInput, type SemanticResult, type Severity, type SeverityLevel, type SeverityOverride, type ShapeFeatures, type ShouldAnimateInput, type SignalResult, type Snapshot, type SnapshotColour, type SnapshotControl, type SnapshotEffects, type SnapshotFont, type SnapshotGradient, type SnapshotHeading, type SnapshotImage, type SnapshotMotion, type SnapshotPatch, type SnapshotSection, type SnapshotVisual, type SourceFile, type SourceKind, type SourceTell, type SpaceStep, type Specific, type SpecificKind, type Specificity, type Surface, TELL_HEAVY, TRADE_NOUNS, TYPE_STEPS, TYPICAL_AT, type TailwindPreset, type Tell, type TellException, type Tricolon, type TypeStep, type Typicality, VAGUE_WORDS, type ValidateContext, type Verdict, accentFork, addSite, apcaContrast, applyBaseline, applyHouseGate, applySeverity, auditSnapshot, briefTerms, catalogueTable, characterReport, checkCopy, checkOrder, checkPair, checkReason, checkRestraint, choicesOf, clauseDepth, closestComponents, compareCompetitor, compareDirections, compareFacts, compareToDeclared, compareToEstate, componentDistance, componentShared, componentTypicalities, componentTypicality, componentsOf, contentWords, countWords, craftTokens, createBaseline, cv, deltaEOk, deltaEOkHex, densityCss, densityTokens, emitCss, emptyEstate, estateComponentPairs, estatePairs, exitDuration, extractHtml, faceLicence, findClaims, findColours, findingKey, fingerprint, fingerprintDistance, fluidClamp, fluidSpace, fluidType, fontClass, formatClaims, formatComparison, formatCompetitor, formatDirectionMatches, formatHex, formatReport, globToRegExp, groundName, harvest, hedgeCount, hedgedClose, hexToOklch, holdHouseBlocks, houseRule, hueName, hueSwatch, ignoreMatcher, inP3Gamut, inSrgbGamut, initDirection, isAiViolet, isBlurb, isCategoryLabel, isCream, jobWords, layoutDistance, licencesJson, makeSnapshot, motionTokens, namedSources, nearest, nominalisations, normaliseFamily, nullPrompt, oklchToHex, oklchToRgb, pageCopy, paletteFromPixels, paragraphUniformity, parseBaseline, parseColour, parseCraftConfig, parseHex, participialClauses, phrasalCoordinations, propose, protectedFacts, ramp, rampFromAnchors, readSnapshot, renderedOrder, researchPrompt, retrofitPlan, runTell, scanProvenance, scanSource, sectionRhythm, semantic, sentencesOf, severityExceptions, shapeMoves, shapeName, shapeOf, words as shapeWords, sharedParts, shouldAnimate, siblingLine, skeleton, skeletonRepeat, specificity, specifics, splitSentences, stackedConditional, stockAvatarSource, stockSource, summariseDirection, tailwindV3Preset, tailwindV4Theme, tellById, toGamut, toJson, toSarif, tradeOf, tricolons, typeFeatureTokens, typicality, unprovenClaims, validateDirection, validateHierarchy, validateJob, visibleText, visualMeasures, wcagContrast, wordListsJson };
3263
+ export { ACCENT_SCALE, ACCENT_SHARED, AI_PHRASES, AI_SOURCE_TYPES, AI_VIOLET, AI_WORDS, type AccentFork, type AccentForkOptions, type Action, type ActionPosition, type Area, type ArtDirection, BASELINE_VERSION, BUZZWORDS, type Band, type Baseline, type BaselineEntry, CATALOGUE, CATALOGUE_VERSION, CHOICE_KEYS, COMPONENT_ROLES, CONSIDERATION, CONTENT_FEATURES, CONVENTION, CUSTOMER_KINDS, type Calibration, type CandidateKind, type CharacterInputs, type CharacterReport, type CheckOptions, type CheckReport, type CheckRestraintInput, type ChoiceKey, type Claim, type ClaimsReport, type CompetitorComparison, type ComponentPair, type ComponentTypicality, type Consideration, type ContrastCheck, type ContrastReport, type CopySide, type CopyTell, type CraftConfig, type CraftTokensInput, type CraftTokensResult, type CustomerKind, DEFAULT_IGNORE, DENSITIES, DENSITY_NAMES, DIRECTION_VERSION, DIRECTION_VERSIONS, DISTANCE_WEIGHTS, DURATION_MS, DURATION_S, type DensityCssOptions, type DensityName, type DirectionChoice, type DirectionComparison, type DirectionMatch, type DirectionProblem, type DirectionReport, type DirectionSource, type DirectionSummary, type DurationName, EASE, EASE_TUPLE, EDGE_STEP, ESTATE_VERSION, EXIT_RATIO, type EaseName, type EmitCssOptions, type EstateMatch, type EstatePair, type EstateRegister, type EstateSite, FINGERPRINT_VERSION, FLAGGED_TARGET, FUNCTION_WORDS, type Fact, type FactComparison, type FactKind, type Finding, type Fingerprint, type FingerprintDistance, type FingerprintSection, type FluidSpaceOptions, type FluidTypeOptions, type FluidTypeResult, type FontClass, GROUND_SCALE, GROUND_SHARED, type Gamut, type Generation, HIERARCHY_FIELDS, HOME_FILE, HOME_URL, HOUSE, HOUSE_BUDGET, HOUSE_LOCKED, HOUSE_TYPE, HUMAN_TYPICAL_TARGET, type HarvestCandidate, type HarvestOptions, type Hit, type HouseRule, type HouseTier, IMAGERY_TELLS, type ImageProvenance, type ImageRole, JSON_SCHEMA_VERSION, type JobContext, type JobMap, type JobPart, LABELS, LEXICAL_FEATURES, LICENCES, LIGHTNESS_CURVE, type Label, type LabelSummary, type LexicalFeatures, type LicenceEntry, type LicenceSubject, MIN_DECIDED, MIN_PARAGRAPHS, MIN_RUNS, MOOD, type MeasuredPage, type MotionDecision, type MotionKind, type MultiClient, NEGATIVE_REASSURANCE, NULL_VERSION, type NullModel, type NullRun, type Oklch, type OklchToHexOptions, PAGE_TYPES, PILL_LIMIT, PLAINER_WORDS, PREFERENCE, PROFILE, PROFILE_MEASURED, PROFILE_PARAGRAPHS, PROMO_BADGE, PROOF_NAMES, PROPOSED, PROVENANCE_SCAN_BYTES, type PageCopy, type PageHierarchy, type PageResult, type PageType, type PaletteColour, type Proposal, type ProposeInput, RAMP_STEPS, READABLE_SNAPSHOT_VERSIONS, REFLEX_FONTS_1, REFLEX_FONTS_2, REGISTERS, REGISTER_BASELINE, REGISTER_FEATURES, REGISTER_IDS, RENDERED_PATHS, RENDERED_TELLS, REVEAL_LIMIT, REVIEW_PHRASES, type Ramp, type RampFromAnchorsOptions, type RampOptions, type RampStep, type ReasonInput, type Register, type RegisterCheck, type RegisterFeatures, type RegisterId, type RegisterProfile, type RenderedTell, type ResearchInput, type RestraintBudget, type RestraintReport, type RestraintSeverity, type RestraintViolation, type Rgb, type RgbaImage, SCALE, SECTION_ROLES, SHADCN_LIMIT, SHADCN_PRIMITIVES, SHARED_PART, SIBLING_AT, SNAPSHOT_VERSION, SOURCE_KINDS, SPACE_STEPS, SPECIFICITY_COPY_TELLS, SPECIFICITY_RENDERED_TELLS, SPRING, STANDING_CLAIM, STOCK_AVATAR_HOSTS, STOCK_FIGURES, STOCK_PHOTO_HOSTS, STOCK_PHRASES, STUDY_WORDS, type SarifOptions, type SarifTell, type SectionGeometry, type SectionKind, type SectionRhythmOptions, type SectionRole, type SemanticInput, type SemanticResult, type Severity, type SeverityLevel, type SeverityOverride, type ShapeFeatures, type ShouldAnimateInput, type SignalResult, type Snapshot, type SnapshotColour, type SnapshotControl, type SnapshotEffects, type SnapshotFont, type SnapshotGradient, type SnapshotHeading, type SnapshotImage, type SnapshotMotion, type SnapshotPatch, type SnapshotSection, type SnapshotVisual, type SourceFile, type SourceKind, type SourceTell, type SpaceStep, type Specific, type SpecificKind, type Specificity, type StudyWord, type Surface, TELL_HEAVY, TRADE_NOUNS, TYPE_STEPS, TYPICAL_AT, type TailwindPreset, type TargetCheck, type Tell, type TellException, type TellRate, type Tricolon, type TypeStep, type Typicality, type UnmeasuredPage, VAGUE_WORDS, type ValidateContext, type Verdict, accentFork, addSite, apcaContrast, applyBaseline, applyHouseGate, applySeverity, auditSnapshot, briefTerms, calibrate, catalogueTable, characterReport, checkCopy, checkOrder, checkPair, checkReason, checkRegister, checkRestraint, choicesOf, clauseDepth, closestComponents, compareCompetitor, compareDirections, compareFacts, compareToDeclared, compareToEstate, componentDistance, componentShared, componentTypicalities, componentTypicality, componentsOf, contentWords, countWords, craftTokens, createBaseline, cv, deltaEOk, deltaEOkHex, densityCss, densityTokens, designTells, documentParagraphs, emitCss, emptyEstate, estateComponentPairs, estatePairs, exitDuration, extractHtml, faceLicence, featureLabel, findClaims, findColours, findingKey, fingerprint, fingerprintDistance, fluidClamp, fluidSpace, fluidType, fontClass, formatCalibration, formatClaims, formatComparison, formatCompetitor, formatDirectionMatches, formatHex, formatReport, getRegister, globToRegExp, groundName, harvest, hedgeCount, hedgedClose, hexToOklch, holdHouseBlocks, houseRule, hueName, hueSwatch, ignoreMatcher, inP3Gamut, inSrgbGamut, initDirection, isAiViolet, isBlurb, isCategoryLabel, isCream, isFlagged, jobWords, layoutDistance, lexicalOf, licencesJson, makeSnapshot, motionTokens, namedSources, nearest, nominalisations, normaliseFamily, nullPrompt, oklchToHex, oklchToRgb, pageCopy, paletteFromPixels, paragraphUniformity, parseBaseline, parseColour, parseCraftConfig, parseHex, participialClauses, phrasalCoordinations, propose, protectedFacts, ramp, rampFromAnchors, readSnapshot, registerBrief, registerOf, registersDoc, renderedOrder, researchPrompt, retrofitPlan, runTell, scanProvenance, scanSource, sectionRhythm, semantic, sentencesOf, severityExceptions, shapeMoves, shapeName, shapeOf, words as shapeWords, sharedParts, shouldAnimate, siblingLine, skeleton, skeletonRepeat, specificity, specifics, splitSentences, stackedConditional, stockAvatarSource, stockSource, summariseDirection, tailwindV3Preset, tailwindV4Theme, tellById, toGamut, toJson, toSarif, tradeOf, tricolons, typeFeatureTokens, typicality, unprovenClaims, validateDirection, validateHierarchy, validateJob, visibleText, visualMeasures, vocabulary, vocabularyCounts, wcagContrast, wordListsJson };