/** * Strict validation of declarative action bindings. * * `on` may appear at block level and inside nested prop objects (a toolbar * button, a dialog action). Both are validated here by the same closed * vocabulary, so there is no position where an action escapes validation. */ import { type DiagnosticBag } from '../diagnostics.js'; import { type JsonValue } from '../json.js'; import type { PropValues } from '../registry/prop-schema.js'; export type BindingMap = Record; /** * Walk a validated props subtree and replace every `on` value with its * normalized binding map. Returns the rewritten props. */ export declare function validateBindingsDeep(value: unknown, path: string, bag: DiagnosticBag): JsonValue | undefined; /** Read the normalized bindings of a validated props object. */ export declare function bindingsOf(props: Record): BindingMap; //# sourceMappingURL=bindings.d.ts.map