import type { IntentScope } from "./types.js"; /** * Collect dot paths of leaf-level differences between two domain states. */ export declare function collectChangedStatePaths(before: unknown, after: unknown): readonly string[]; export declare function isPathAllowed(path: string, allowedPaths: readonly string[]): boolean; /** * Returns the changed paths that fall outside the approved scope. An empty * result means the settlement stayed within what the authority approved. */ export declare function findScopeViolations(changedPaths: readonly string[], scope: IntentScope | null | undefined): readonly string[]; /** * Narrow the persisted (unknown-typed) approvedScope back to IntentScope. */ export declare function toIntentScope(value: unknown): IntentScope | null;