/** * Shared TSDoc configuration and parser instance cache for FormSpec tooling. * * Provides the canonical TSDocConfiguration with all FormSpec custom block * tags registered, and a cached parser factory so the same TSDocParser * instance is reused across calls with matching extension tags. */ import { TSDocParser } from "@microsoft/tsdoc"; /** * Tags whose content may contain TSDoc-significant characters (`{}`, `@`) * and are extracted via raw span-based slicing of the original source text, * with the TS compiler JSDoc API as a fallback in the build pipeline. * This avoids content mangling that would occur if the TSDoc DocNode tree * were used directly. * * - `@pattern`: regex patterns commonly contain `@` (e.g. email validation) * - `@enumOptions`: JSON arrays may contain object literals with `{}` * - `@defaultValue`: JSON defaults may contain objects, arrays, or quoted strings * - `@example`: example payloads may be JSON objects/arrays containing `{}` */ export declare const TAGS_REQUIRING_RAW_TEXT: Set; /** * Returns a cached TSDocParser for the given sorted list of extension tag names. * * Parser instances are keyed by the sorted, pipe-joined extension tag names so * that identical extension sets reuse the same parser instance. */ export declare function getOrCreateTSDocParser(extensionTagNames: readonly string[]): TSDocParser; //# sourceMappingURL=tsdoc-config.d.ts.map