/** Runs `fn` with `warnings` as the active sink; nesting restores the previous sink. */ export declare function withParseWarnings(warnings: string[] | undefined, fn: () => T): T; /** Records a de-duplicated warning when a sink is active. */ export declare function reportParseWarning(message: string): void; /** * Validates a raw attribute against an XSD enumeration guard. Missing values return undefined * silently; invalid ones are dropped with a warning naming the attribute. */ export declare function enumValue(guard: (value: unknown) => value is T, raw: string | null | undefined, label: string): T | undefined; //# sourceMappingURL=parse-diagnostics.d.ts.map