import type { ComponentInfo, StyleInfo, ThemeNames } from './data.js'; /** Where a pattern stands: a known need with no definition yet, being written, every case decided. */ export declare const PATTERN_STATUSES: readonly ["candidate", "draft", "decided"]; /** * A pattern is a flow of components over time; a building block, a section of the page that * comes back in two patterns or more (#1210); a domain of the design language, the rules of * composition both stand on (#1189). */ export declare const PATTERN_KINDS: readonly ["pattern", "block", "design-language"]; /** * The kind of a domain of the design language: it has no group, the design language is its * place. Named after what the files are, not after the item of the docs site that holds them * (#1253): it was `foundation` in magma 2.11 and before, after the Foundation item of the site, * where the domains go; but Foundation there is the umbrella of the decisions Magma stands on * (principles, accessibility, color, typography, illustration, content), and the design * language is one group of it, Design language. Only this value is read: the core reads the * files of its own release, and no product layer has a domain. What may meet an older magma * names both until the next major: the skills of the Claude Code plugin, which main serves, * and the docs site. */ export declare const DESIGN_LANGUAGE = "design-language"; /** * The kind of a building block: regions in the order of the page instead of cases, and the * patterns it comes back in (#1210). A section becomes a block when it comes back in two or * three patterns (plan/DIRECTION.md of magma-design-system/docs, "Building blocks section"). */ export declare const BLOCK = "block"; /** The least number of patterns a block comes back in: two, the threshold of the docs site. */ export declare const BLOCK_USED_BY = 2; /** * The principles a rule of a domain serves (`serves`): the four of Magma, as the docs site * writes them (src/content/docs/foundation/principles.md of magma-design-system/docs, the four * principles behind every decision of Magma), where each decision says the one it serves. */ export declare const PRINCIPLES: readonly ["inclusive", "enabling", "intuitive", "flexible"]; /** * The groups of the patterns, as the docs site names them (plan/DIRECTION.md of * magma-design-system/docs, "Patterns section"; Feedback became Messages and states on * 2026-10-27). */ export declare const PATTERN_GROUPS: Record; /** The layer of the patterns Magma ships; a product layer names its product instead. */ export declare const MAGMA_LAYER = "magma"; /** * The one variable that a case leaves out to mean a single value instead of any: a case that * does not say `decision` holds when the person has no decision to make (#1174, "How a pattern * is defined"). Every other variable left out means any of its values. */ export declare const NONE_WHEN_LEFT_OUT = "decision"; export type Status = (typeof PATTERN_STATUSES)[number]; export type Kind = (typeof PATTERN_KINDS)[number]; export interface Variable { values: string[]; /** What the variable asks about the situation. */ means: string; } /** A case, a gap or a not-applicable entry: values of the variables, plus its own keys. */ export type Entry = Record; export interface Case extends Entry, Grounded { id: string; where: string; /** * The components of the solution, each checked against the release: `{ role, use }` in a * pattern or a block of Magma, in the order of the case's preview (#1396); a bare * `tag attribute=value ...` in a product's own pattern and in a domain of the design language. */ use?: UseItem[]; /** A case of the same pattern, or another pattern, that says more. */ see?: string; /** What Magma lacks for this case. */ 'magma-gap'?: string; /** The rules and relations of the domains the case and its preview rely on, `/`. */ rules?: string[]; } /** What a case and a rule of a domain add: the principle it serves, where it lives. */ export interface Grounded { /** One of PRINCIPLES, or a list of them. */ serves?: string | string[]; /** Where the rule lives now, strongest first: a component, a token, a utility, a lint rule. */ 'carried-by'?: string[]; /** Where it will live, not built yet: the check asks to move one once the release has it. */ 'carried-by-planned'?: string[]; } export interface Rule extends Grounded { id: string; rule?: string; 'checked-by'?: 'review' | 'lint'; /** The lint rule that checks it, `magma/`. */ lint?: string; /** The lint rule that will check it, not written yet. */ 'lint-planned'?: string; note?: string; /** The pattern the rule belongs to, when this one cites it. */ from?: string; } export interface Choice { id: string; default: string | number | boolean; may: string; } export interface Situation { /** * In a building block only: kebab-case, unique in the block, the name of its preview, * previews//.html (the maintainer's choice, 2026-11-03). A situation of a pattern * names its case instead. */ id?: string; situation: string; /** In a building block, which has no cases, the situation gives the values of its variables. */ case?: string | string[]; /** Another pattern answers it. */ use?: string; note?: string; } /** A region of a building block, in the order of the page: when it shows, what goes in it. */ export interface Region { id: string; /** The values of the variables it shows for, as a case gives them; none, every combination. */ when?: Record; /** It always shows where its `when` holds; the others show when there is something to put in them. */ required?: boolean; what: string; /** `tag attribute=value ...`, checked as the `use` of a case. */ use?: string[]; } export interface Pattern { id: string; aliases?: string[]; kind: Kind; title: string; /** One of PATTERN_GROUPS; a domain of the design language has none. */ group?: string; layer: string; status: Status; need: string; principle?: string; keywords?: string[]; 'not-for'?: { need: string; use: string; }[]; assumptions?: string[]; 'high-stakes'?: boolean; components?: string[]; related?: string[]; 'validated-on'?: string[]; variables?: Record; cases?: Case[]; gaps?: Entry[]; 'not-applicable'?: Entry[]; 'always-true'?: Rule[]; 'open-choices'?: Choice[]; situations?: Situation[]; /** In a building block, in place of the cases. */ regions?: Region[]; /** In a building block: the patterns it comes back in. */ 'used-by'?: string[]; } /** A product layer of a Magma pattern: it narrows the open choices and adds its situations. */ export interface Layer { id: string; /** `magma:`. */ extends: string; layer: string; narrows?: Record; situations?: Situation[]; } export interface PatternFile { file: string; data: T; body: string; } /** The frontmatter and the body of a Markdown file; throws when it has no frontmatter. */ export declare const splitFrontmatter: (text: string) => { front: string; body: string; }; /** A pattern or a layer file, parsed. Throws on a file whose frontmatter is not YAML. */ export declare const parsePatternFile: (text: string, file?: string) => PatternFile; /** Every `.md` of a folder, parsed, by file name; none when the folder does not exist. */ export declare const readPatternDir: (dir: string) => PatternFile[]; export declare const isLayer: (data: object) => data is Layer; /** Does an entry hold for a combination: a variable it gives, any of its values; one it leaves out, any value (none for `decision`). */ export declare const entryMatches: (entry: Entry, combo: Record, names: string[]) => boolean; /** Every combination of the values of the variables, the given ones fixed. */ export declare const combinations: (variables: Record, fixed?: Record) => Record[]; export type EntryKind = 'case' | 'gap' | 'not-applicable'; export interface Hit { kind: EntryKind; entry: Entry; } export interface Coverage { total: number; /** Combinations no case, gap or not-applicable entry holds for; in a block, no required region shows in. */ none: Record[]; /** Combinations two cases hold for: gaps and not-applicable entries may overlap. */ conflicts: { combo: Record; cases: string[]; }[]; /** Set for a building block, whose combinations need a required region, not a case. */ of?: 'regions'; } /** Does a region show for a combination: every variable of its `when` has one of its values. */ export declare const regionShows: (region: Region, combo: Record) => boolean; /** * The check of #1174: every combination in exactly one case, or in a gap or a not-applicable * entry. In a building block (#1210), every combination shows a required region at least: the * block is never left with nothing that makes it the block. */ export declare const coverage: (pattern: Pattern) => Coverage; /** The coverage as the check reports it: the combinations with no entry and the ones two cases hold for, five of each at most. */ export declare const coverageErrors: ({ total, none, conflicts, of }: Coverage) => string[]; export interface Answer { /** The entries that may answer, given what is known: one when the situation is decided. */ hits: Hit[]; /** The variables still to know to tell the hits apart. */ missing: string[]; } /** * The case for a situation: the values the agent knows, the others open (`decision` left out * means none, as in a case). Throws on a variable or a value the pattern does not have. */ export declare const answer: (pattern: Pattern, known: Record) => Answer; export interface RegionAnswer { /** The regions that show whatever the values still unknown, in the order of the page. */ regions: Region[]; /** The regions that show for some of the values still unknown: they wait on `missing`. */ depends: Region[]; /** The variables still to know to tell whether the regions of `depends` show. */ missing: string[]; } /** * The regions of a building block for a situation (#1210): the values the agent knows, the * others open. A region shows when its `when` holds; one that holds for some of the open values * only waits on them. Throws on a variable or a value the block does not have. */ export declare const regionsFor: (pattern: Pattern, known: Record) => RegionAnswer; /** * The situations of a building block that have an id, the name of their preview * (previews//.html), in the order of the file; one that names another pattern * (`use`) has none (#1210, the maintainer's choice on 2026-11-03). */ export declare const situationsWithId: (pattern: Pattern) => (Situation & { id: string; })[]; /** The ids of the situations of a building block, in the order of the file. */ export declare const situationIds: (pattern: Pattern) => string[]; /** * The situations of a building block the values match exactly, in the order of the file: every * variable of the block given, each equal to the value the situation gives. None while a * variable is still unknown: a preview shows one situation, with every region decided. */ export declare const situationsMatching: (pattern: Pattern, known: Record) => (Situation & { id: string; })[]; /** A `use` of a case: a tag and its attributes, `mds-toast variant=error dismissible`. */ export interface Use { tag: string; /** * `placeholder`: the value is the application's, `` (`headline=`), not a value to write as it is (#1396). */ attributes: { name: string; value?: string; placeholder?: true; }[]; } /** * An entry of the `use` of a case (#1396): a part of the solution, what it does in the case * (`role`) and the component to write (`use`, `tag attribute=value ...`). The patterns and the * blocks of Magma give every entry so, in the order of the preview of the case; a product's own * pattern may give the bare `use`. */ export interface UseEntry { role: string; use: string; } export type UseItem = string | UseEntry; /** The `tag attribute=value ...` of an entry, whichever its form. */ export declare const useOf: (item: UseItem) => string; export declare const parseUse: (use: string) => Use | undefined; /** * A carrier of a rule of a domain (`carried-by`, #1196): what it is, read from its form, as a * `use` is read. A component, with the attributes whose default carries the rule * (`mds-input-field`, `mds-modal slot=window`); a custom property, a token or the public one * of a component (`--magma-rhythm-inset`); a lint rule (`magma/`); any other name, a * utility (`gap-between-fields`, `page-frame`): one class, with no variant nor arbitrary value. */ export type Carrier = { kind: 'component'; text: string; use: Use; } | { kind: 'token' | 'lint' | 'utility'; text: string; }; export declare const parseCarrier: (text: string) => Carrier | undefined; /** * A rule a case relies on (`rules`, #1198): `/`, the short form of `{ id, from }` * the rhythm decided on #1189 ("The ids"), as the docs and the decisions write a citation. */ export declare const parseRuleRef: (text: string) => { from: string; id: string; } | undefined; /** What is wrong in the format of a Magma pattern or a product's own one: complete, typed, its entries on its own variables. */ export declare const formatErrors: ({ file, data }: PatternFile) => string[]; /** Every component and attribute a pattern names exists in the release, with a value it takes. */ export declare const componentErrors: (pattern: Pattern, components: Map) => string[]; /** * What an attribute of a component is to a case (#1396, the maintainer's choice on * 2026-11-13), read from its type in documentation.json, as the release declares it: * * - `case`: the case decides it, and a use writes it as it is, the same as in the preview: a * prop with a closed set of values, a number, a boolean the component never changes itself; * the global `slot`, `role`, `tabindex` and `autofocus`; an ARIA property whose value is a * token, a number or true/false (`aria-live`, `aria-level`); * - `text`: the application's words, written `` when the case says what goes in * it (`headline=`), else left out: a prop of free text * (`label`, `href`, `icon`), `title`, `lang`, `dir`, an ARIA property of text (`aria-label`); * - `application`: the application's wiring, never in a use: `id`, `name`, `value`, an ARIA * property that names ids (`aria-controls`); * - `state`: a moment the stage sets to show it, never compared with a use: a boolean the * component changes itself (Stencil's `mutable`: `opened`, `visible`, `await`, `selected`), * `hidden`, an ARIA state (`aria-expanded`); a use may write one the case decides (`await`); * - `layout`: the stage's own, never in a use: `class`, `style`, `data-*` (the marker of the * stage among them). * * The ARIA kinds follow WAI-ARIA 1.2, "Definitions of States and Properties" * (https://www.w3.org/TR/wai-aria-1.2/#state_prop_def): the attributes it calls states are a * moment, a property of value type string is text, one of type ID reference (list) is wiring, * and the others (token, true/false, integer, number) are the case's. An attribute the release * does not know is text: the lint of the previews names it. */ export type AttributeKind = 'case' | 'text' | 'application' | 'state' | 'layout'; export declare const attributeKind: (tag: string, name: string, components: Map) => AttributeKind; /** * What a use of a pattern or a block of Magma writes wrong (#1396): every entry of a case has * its role, and every attribute is written as its kind asks (attributeKind). A product's own * pattern and a domain of the design language are not held to it: their use stays * `tag attribute=value` (for the domains, until #1406 decides theirs). */ export declare const magmaUseErrors: (pattern: Pattern, components: Map) => string[]; /** * A node of the markup of a stage, in the shape @html-eslint/parser gives it (a `Tag` has a * name, its attributes and its children; a script, a style, a comment and a text are other * types): check.patterns parses the previews with it, the core reads only this shape. */ export interface MarkupNode { type: string; name?: string; attributes?: { key: { value: string; }; value?: { value: string; }; }[]; children?: MarkupNode[]; /** The root (`Program`) holds the document in its body. */ body?: MarkupNode[]; } /** * The marker of the stage in a preview (#1396, the maintainer's choice on 2026-11-13): the * element that carries it, and everything inside it, is the context of the case (the list a * toast speaks of, the fields of a form), not its solution. It goes on the outermost element * of each piece of the stage; a stage that is all solution (a dialog) has none. The previews * ship with it, so an agent that reads the markup tells the context from the solution too. * With the value `frame`, only the element is the stage (STAGE_FRAME). */ export declare const STAGE_MARKER = "data-stage"; /** * `data-stage="frame"`: only the element is the stage, what it holds goes on as the solution * (the dialog of another case around the parts of a block, the maintainer's choice on #1396). */ export declare const STAGE_FRAME = "frame"; /** A marker of the stage with a value it does not take: bare, or frame. */ export declare const stageErrors: (root: MarkupNode) => string[]; /** A component of the solution a stage shows: its tag and its attributes, in the order of the markup. */ export interface Part { tag: string; attributes: { name: string; value?: string; }[]; } /** The solution a stage shows: every component outside the elements marked as the stage. */ export declare const solutionOf: (root: MarkupNode) => Part[]; /** * Where the use of a case and its preview part (#1396): the parts of the solution the preview * shows (solutionOf: every component outside the stage) and the entries of use name the same * components with the attributes the case decides (partMatches), in the order the parts first * show; a placeholder names a text the preview gives. Every example of the case is compared. * * The parts are read in the order of the markup, each given to the first entry it matches that * is not taken yet, at or after the last one taken: so two entries alike (Attach and Stop, two * buttons of one kind) take two parts in turn, and a part that matches only entries taken * before it is a repeat (the next row of a list). A part that matches only entries not taken * yet, before the last one taken, shows their order is not the preview's. * * For a situation of a building block, its preview against the regions its values show: every * part named by one of them, a required region shown; a region that is not required shows when * there is something to put in it, and its entries name alternatives (the actions), so neither * their presence nor their order is asked. The patterns and the blocks of Magma only, never a * domain (their use names what a relation writes; #1406). `parse` gives the markup as MarkupNode. */ export declare const previewUseErrors: (patterns: Pattern[], previews: Preview[], parse: (markup: string) => MarkupNode, components: Map) => Map; /** What a release offers the carriers of a domain: its components, their public custom properties, the names of its theme, its lint rules. */ export interface Release { components: Map; /** The custom properties of the components, by name (loadStyles of the data). */ styles: Map; /** The custom properties and the classes of the theme (loadThemeNames of the data). */ theme: ThemeNames; /** The custom properties of the tokens that are not internal, from their DTCG data (loadTokenNames of the data). */ tokens: Set; /** The rules of the lint, `magma/`. */ lintRules: Set; } /** * Every carrier of a domain is in the release; a planned one is not yet, and once it is, the * check asks to move it to carried-by, as a planned lint rule (#1196). */ export declare const carrierErrors: (pattern: Pattern, release: Release) => string[]; /** Every rule checked by lint names a rule the lint has; a planned one, a rule it does not have yet. */ export declare const lintErrors: (pattern: Pattern, lintRules: Set) => string[]; /** The patterns by id, and the ids a rename left behind. */ export declare const indexPatterns: (patterns: Pattern[]) => { byId: Map; aliases: Map; }; /** A rule or a relation of a domain as the answers cite it: its domain, and a relation's answer (`where`) as its rule. */ export interface CitedRule extends Rule { from: string; rule: string; /** The components a relation writes, as its case gives them. */ use?: string[]; } /** The rule or the relation `id` of the domain `from`, of its own (never one it cites); none when `from` is no domain. */ export declare const domainRule: (patterns: Map, from: string, id: string) => CitedRule | undefined; /** * The rules of the domains a case relies on, as the answer for a situation gives them (#1198): * those its `rules` name, then those its pattern cites from a domain in always-true, which * hold for every case; each once, with its text. A citation that names nothing is left out: * check.patterns, and for a product's own pattern get_pattern's layerErrors, say why. A * building block has no cases: `{}` gives the rules its always-true cites (#1210). */ export declare const rulesOfCase: (pattern: Pattern, one: Pick, patterns: Pattern[]) => CitedRule[]; /** * The rules of the domains that govern a component, as get_component names them (#1198): a * relation or a rule that the component carries, now or once built (`carried-by`, * `carried-by-planned`, whatever its attributes), and a relation whose `use` writes it; by * domain, then in the order of its file. The `components` of a domain are not read: they name * what the domain speaks of, a component it says lacks the rule among them (mds-card in the * rhythm), not what each rule governs. */ export declare const rulesOfComponent: (patterns: Pattern[], tag: string) => CitedRule[]; /** Every id a pattern cites names a pattern, a case or a rule that exists, never an old id. */ export declare const linkErrors: (patterns: Pattern[]) => Map; /** `magma:message-placement` -> `message-placement`. */ export declare const extendedId: (layer: Layer) => string | undefined; /** What a product layer may not do: name a pattern Magma lacks, narrow what is not an open choice, above all an "Always true" rule. */ export declare const layerErrors: ({ data }: PatternFile, patterns: Pattern[]) => string[]; export interface Resolved extends Pattern { /** The layers applied, Magma first. */ layers: string[]; 'open-choices'?: (Choice & { value?: unknown; 'narrowed-by'?: string; })[]; situations?: (Situation & { layer?: string; })[]; } /** A Magma pattern with a product layer applied: its open choices narrowed, its situations added. */ export declare const resolveLayer: (base: Pattern, layer?: Layer) => Resolved; /** * The files of a product's folder (magma/patterns/), its layers and its own patterns, read one * by one: a file that does not parse is kept with why, so one broken file leaves the others * readable. */ export declare const readProjectDir: (dir: string) => { files: PatternFile[]; unreadable: Map; }; /** * What is wrong in a product's folder, by file. A layer: what layerErrors says, and one layer * per pattern (the first file by name is the one applied). A pattern of the product's own: the * format, the cases and the components as check.patterns holds Magma's, never an id Magma has, * its links against Magma's patterns and the product's; not its lint rules (a product may name * rules of its own, which Magma cannot see) nor its body (the generator of the sections does not * ship). */ export declare const projectErrors: (files: PatternFile[], patterns: Pattern[], components?: Map) => Map; export interface ListEntry { id: string; title: string; /** None for a domain of the design language. */ group?: string; kind: string; status: string; layer: string; need: string; validatedOn: string[]; } /** * One line per file: the domains of the design language first, then the building blocks, then * the patterns, as the rail of the docs site puts Foundation, which holds the design language, * before Building blocks and Patterns; within a kind by group in the order of PATTERN_GROUPS, * then by id. */ export declare const listPatterns: (patterns: Pattern[]) => ListEntry[]; /** * The sections of the body, in order. The generated ones are written from the frontmatter. A * building block has Regions and Layout where a pattern has Cases, Parts and Behaviour over time * (#1210): space, not time. */ export declare const SECTION_ORDER: readonly ["When to use it", "What decides it", "Cases", "Regions", "Parts", "Layout", "Behaviour over time", "Always true", "Open choices", "Situations", "Accessibility", "Content", "Magma gaps", "Decisions"]; export declare const GENERATED_SECTIONS: readonly ["Cases", "Regions", "Always true", "Open choices", "Situations"]; /** The sections a draft or a decided pattern must have besides the generated ones. */ export declare const REQUIRED_SECTIONS: readonly ["When to use it", "What decides it", "Decisions"]; /** The sections of a kind, in order: a block lays out its regions, the others tell their cases. */ export declare const sectionsOf: (kind: string) => string[]; /** The sections a kind must have besides the generated ones: a block, its Layout too. */ export declare const requiredSectionsOf: (kind: string) => string[]; export declare const GENERATED_NOTE = ""; /** The text of each generated section, from the frontmatter. */ export declare const renderSections: (pattern: Pattern, patterns?: Pattern[]) => Record<(typeof GENERATED_SECTIONS)[number], string | undefined>; interface Section { heading: string; text: string; } /** The body as its head (the title and the principle) and its `##` sections. */ export declare const splitBody: (body: string) => { head: string; sections: Section[]; }; /** The body with its head and its generated sections written from the frontmatter, the others as they are. */ export declare const syncBody: (pattern: Pattern, body: string, patterns?: Pattern[]) => string; /** What is wrong in the body: a section missing, out of order, or a generated one out of date. */ export declare const bodyErrors: (pattern: Pattern, body: string, patterns?: Pattern[]) => string[]; /** The folder of the previews, inside the folder of the patterns. */ export declare const PREVIEWS_DIR = "previews"; /** The keys of the opening comment of a preview. */ export declare const PREVIEW_KEYS: readonly ["try", "height", "whole-page"]; /** The height of a stage that is a page of its own, in pixels: up to the side of an image of render_preview (#1180). */ export declare const PREVIEW_HEIGHT: { readonly min: 120; readonly max: 2000; }; export interface Preview { file: string; /** The pattern, from the folder; the case, the rule of a domain or the situation of a block, from the name of the file. */ pattern: string; id: string; /** Which example of it: 1 for .html, n for ..html (#1221). */ example: number; try?: string; height?: number; /** The stage is a whole page, with a frame of its own: no inset around it. */ wholePage?: boolean; /** The stage, without its opening comment. */ markup: string; /** What is wrong in the file by itself: its keys, its markup. */ errors: string[]; } /** A preview, read from its text; the pattern, the case or rule and the example are in its path. */ export declare const parsePreview: (text: string, file: string) => Preview; /** * Every preview of a folder of patterns (previews//.html and ..html), by * pattern, id and example; none when it has none. */ export declare const readPreviews: (patternsDir: string) => Preview[]; /** The preview of a case or a rule, its first example unless another is asked, when it has one. */ export declare const previewOf: (previews: Preview[], pattern: string, id: string, example?: number) => Preview | undefined; /** Every example of a case or a rule, the first one first. */ export declare const examplesOf: (previews: Preview[], pattern: string, id: string) => Preview[]; /** The frame of every image: the viewport, in CSS pixels, the device pixels per CSS pixel and the WebP quality. */ export declare const PREVIEW_IMAGE: { readonly width: 960; readonly height: 600; readonly scale: 1.5; readonly quality: 0.8; }; /** The modes an image is made in, each the mode the browser emulates. */ export declare const PREVIEW_IMAGE_MODES: readonly ["light", "dark"]; export type PreviewImageMode = (typeof PREVIEW_IMAGE_MODES)[number]; /** * The image of a preview in a mode, beside it: .html -> ..webp; with the folder * of the patterns of a package, the one in that package. */ export declare const previewImageFile: (file: string, mode: PreviewImageMode, patternsDir?: string) => string; /** * The size of a WebP image in pixels, from the header of its first chunk (RFC 9649: the lossy * VP8 frame, the lossless VP8L bitstream or the extended VP8X canvas), or undefined when the * bytes are not WebP. */ export declare const webpSize: (bytes: Buffer) => { width: number; height: number; } | undefined; /** * What is wrong in the images of the previews in the folder of the patterns of a package, by * file: a preview without its image in a mode (the preview, by its file), an image that is not * WebP or not of the frame, an image of no preview. */ export declare const previewImageErrors: (previews: Preview[], patternsDir: string) => Map; /** The rules of a domain of the design language that may have a preview: its own, never one it cites (#1221). */ export declare const ownRules: (pattern: Pattern) => string[]; /** * A preview that shows nothing that exists, by file: a pattern Magma does not have, a candidate, * a case it does not have, for a domain a rule of its own it does not have, for a building block * a situation it does not have, by its id (2026-11-03); an example whose previous one is missing, * since the examples of a case or a situation follow one another from .html. */ export declare const previewLinkErrors: (previews: Preview[], patterns: Pattern[]) => Map; /** * What has no preview yet, the candidates aside: each case of a pattern, as /, * and each situation of a decided building block, as / (the maintainer's * choice on 2026-11-03; a draft block may still change its situations), in the order of the * files. Not the domains of the design language: a case of a domain may have a preview, * and widths is the pilot (#1189), so the ones a domain lacks are not listed until it is weighed. */ export declare const missingPreviews: (patterns: Pattern[], previews: Preview[]) => string[]; export {};