/** * The body of a ``: its `` rows and the attributes of its cases. * * A `` body: `KEY:VALUE` rows separated by commas. * * A row without its colon is skipped rather than refused — one malformed entry * in a table of two hundred should not stop the run — so it is said out loud, or * the lookup would quietly be missing a case nobody could see was gone. */ import { type Diagnostic } from '../errors/index.js'; import type { MapElementContext, OpenCloseElementContext } from '../generated/TDCParser.js'; /** Validate a `` body; returns the number of parsed entries. */ export declare function checkSwitchMap(mapEl: MapElementContext, ctx: { diagnostics: Diagnostic[]; }, /** The values the subject can produce, when they are known from the config. */ subjectValues?: readonly string[]): number; /** * The attributes a `` inside a `` may carry. * * The content of the case is walked by the validator itself, which knows what a * generator and a nested mix mean; this is only about the attributes, and about * the two that look conditional and are not. */ export declare function checkSwitchCaseAttrs(caseEl: OpenCloseElementContext, ctx: { diagnostics: Diagnostic[]; }, /** The values the subject can produce, when they are known from the config. */ subjectValues?: readonly string[]): void; //# sourceMappingURL=switch-body.d.ts.map