import type { TemplateParser, TemplateIR } from "@intentius/chant/import/parser"; import { BaseValueParser } from "@intentius/chant/import/base-parser"; /** * Parser for CloudFormation JSON templates. * Extends BaseValueParser for generic recursive value walking; * overrides dispatchIntrinsic with the CFN-specific dispatch table. */ export declare class CFParser extends BaseValueParser implements TemplateParser { /** * Parse CF JSON content into intermediate representation */ parse(content: string): TemplateIR; /** * Template sections import carries. Anything else is named in a warning * rather than dropped silently (#2069). */ private static readonly CARRIED_SECTIONS; private collectDroppedSectionWarnings; /** * Parse the Conditions section (#2069). Inside a condition expression the * single-key `{ "Condition": "" }` form references another declared * condition; `inConditionExpression` scopes that dispatch to this section * so a resource property that happens to hold a single-key `Condition` * object is left alone. */ private inConditionExpression; private parseConditions; /** * Parse the Outputs section (#2069). */ private parseOutputs; /** * Parse parameters section */ private parseParameters; /** * Parse resources section */ private parseResources; /** * Parse resource properties, handling intrinsic functions */ private parseProperties; /** * CFN-specific intrinsic dispatch table. */ protected dispatchIntrinsic(key: string, value: unknown, _obj: Record): unknown | null; } //# sourceMappingURL=parser.d.ts.map