/** * Graph commands: graph:verify, graph:invalidate, graph:restore, graph:prune, graph:status, graph:pin, graph:unpin, * graph:link, graph:show, graph:neighbors */ import { Effect } from "effect"; import { AnchorService, EdgeService } from "@jamesaphoenix/tx"; import { type Flags } from "../utils/parse.js"; /** * tx graph:verify [--file ] [--all] [--json] * Verify anchors for a specific file or all anchors */ export declare const graphVerify: (pos: string[], flags: Flags) => Effect.Effect; /** * tx graph:invalidate --reason [--json] * Manually invalidate an anchor */ export declare const graphInvalidate: (pos: string[], flags: Flags) => Effect.Effect; /** * tx graph:restore [--json] * Restore a soft-deleted (invalid) anchor */ export declare const graphRestore: (pos: string[], flags: Flags) => Effect.Effect; /** * tx graph:prune [--older-than ] [--json] * Hard delete old invalid anchors */ export declare const graphPrune: (_pos: string[], flags: Flags) => Effect.Effect; /** * tx graph:status [--json] * Show graph health metrics */ export declare const graphStatus: (_pos: string[], flags: Flags) => Effect.Effect; /** * tx graph:pin [--json] * Pin an anchor to prevent auto-invalidation */ export declare const graphPin: (pos: string[], flags: Flags) => Effect.Effect; /** * tx graph:unpin [--json] * Unpin an anchor to allow auto-invalidation */ export declare const graphUnpin: (pos: string[], flags: Flags) => Effect.Effect; /** * tx graph:link [--type glob|hash|symbol] [--value ] [--json] * Create an anchor linking a learning to a file */ export declare const graphLink: (pos: string[], flags: Flags) => Effect.Effect; /** * tx graph:show [--json] * Show all edges for a learning */ export declare const graphShow: (pos: string[], flags: Flags) => Effect.Effect; /** * tx graph:neighbors [--node-type learning|file|task|run] [--depth 2] [--edge-type IMPORTS,ANCHORED_TO] [--direction both|outgoing|incoming] [--json] * Find neighbors of a node with optional multi-hop traversal */ export declare const graphNeighbors: (pos: string[], flags: Flags) => Effect.Effect; //# sourceMappingURL=graph.d.ts.map