/** * Shared catalog/occurrence factories for the rule unit tests. * * These tests synthesize tiny catalogs without going through the * full discover→inventory→edges pipeline. The helpers here produce * well-typed FunctionOccurrence/CallEdge/Catalog values so the * tests stay focused on the rule under test. */ import type { CallEdge, Catalog, FunctionOccurrence } from '../../types.js'; export interface OccOverride extends Partial { readonly bodyHash: string; readonly simpleName: string; } export declare function occ(over: OccOverride): FunctionOccurrence; export declare function edge(text: string, to?: readonly string[], discarded?: boolean): CallEdge; export declare function staticCall(to: string, discarded?: boolean): CallEdge; export declare function makeCatalog(occs: readonly FunctionOccurrence[]): Catalog; //# sourceMappingURL=_helpers.d.ts.map