/** * Fold radius algorithm - extract spatial neighborhood from policy graph * * Starting from seed modules, expand N hops via BFS to find adjacent modules * through allowed_callers/forbidden_callers relationships. */ import { Policy, AtlasFrame } from "./types.js"; /** * Compute the fold radius neighborhood around seed modules * * Uses BFS to traverse the policy graph up to N hops from seed modules, * collecting all modules and edges within the specified radius. * * @param seedModules - Array of module IDs to start from (from Frame.module_scope) * @param radius - Number of hops to expand (0 = only seeds, 1 = seeds + immediate neighbors, etc.) * @param policy - The policy object containing module definitions * @returns AtlasFrame with the spatial neighborhood */ export declare function computeFoldRadius(seedModules: string[], radius: number, policy: Policy): AtlasFrame;