import { Link } from "./types.js"; /** * Get the absolute path to the links database file. */ export declare function getLinksDbPath(wsRoot: string): string; /** * Add a directed link from `from` to `to`. * Validates both URIs. Warns if either URI is not in the index. */ export declare function addLink(wsRoot: string, from: string, to: string): Promise; /** * List outgoing and incoming links for a URI. */ export declare function listLinks(wsRoot: string, uri: string): Promise<{ outgoing: Link[]; incoming: Link[]; }>; /** * Remove a specific link entry. */ export declare function removeLink(wsRoot: string, from: string, to: string): Promise;