/** * Forbidden-key scan. * * Two independent things must be true for the trust boundary to hold: an * author must not be able to smuggle executable or presentational-script * content into a spec through a property name, and a typo must not silently * become a no-op. This scan runs before schema validation so the failure is * reported as a policy violation with the exact path, not as an * unknown-property error that a reader might "fix" by adding the key to a * schema. */ import { type DiagnosticBag } from '../diagnostics.js'; /** * Keys that must never appear anywhere in a Page Spec. * * `style` is included deliberately: a spec cannot carry CSS, and a theme is * typed token data rather than a stylesheet escape hatch. */ export declare const FORBIDDEN_KEYS: readonly string[]; /** * Walk the raw document and report every forbidden key. * * `elements` is a permitted key name: HTML template content lives in compiler * code, never in a spec. */ export declare function scanForbiddenKeys(value: unknown, bag: DiagnosticBag): void; //# sourceMappingURL=forbidden.d.ts.map