/** * Runtime validation of every effect ledger document against the committed * v1 schemas (`schemas/effects/*`). Compiled lazily, once per process. */ export declare const EFFECT_SCHEMA_IDS: Readonly<{ readonly authorizationGrant: "https://aiwg.io/schemas/authorization-grant.aiwg.io/v1"; readonly record: "https://aiwg.io/schemas/effects/EffectRecord.v1.schema.json"; readonly checkpoint: "https://aiwg.io/schemas/effects/EffectCheckpoint.v1.schema.json"; readonly keyring: "https://aiwg.io/schemas/effects/EffectKeyring.v1.schema.json"; readonly verifierResult: "https://aiwg.io/schemas/effects/EffectVerifierResult.v1.schema.json"; }>; export type EffectSchemaName = keyof typeof EFFECT_SCHEMA_IDS; /** True when `value` conforms to the named v1 schema. */ export declare function isEffectSchemaValid(name: EffectSchemaName, value: unknown): boolean; /** Instance paths of schema violations, without echoing instance values. */ export declare function effectSchemaErrors(name: EffectSchemaName, value: unknown): string[]; /** Refuse a document that does not conform; the reason names the schema only. */ export declare function assertEffectSchema(name: EffectSchemaName, value: unknown): void; //# sourceMappingURL=schema.d.ts.map