/** * wikilinks tool — Resolve [[wikilinks]], find backlinks, and discover connections. * * This is essential for navigating Obsidian vaults the way users do. * Supports: * - [[note]] → simple link * - [[note|alias]] → aliased link * - [[note#heading]] → heading link * - [[note#^blockid]] → block reference */ import { z } from "zod"; import { Vault } from "../vault.js"; export declare const wikilinksSchema: { action: z.ZodEnum<{ resolve: "resolve"; backlinks: "backlinks"; outlinks: "outlinks"; unresolved: "unresolved"; }>; path: z.ZodOptional; limit: z.ZodDefault>; }; export interface WikiLink { /** Raw target (e.g. "My Note") */ target: string; /** Optional heading (e.g. "Section 1") */ heading?: string; /** Optional display alias */ alias?: string; /** Line number where the link appears */ line: number; } export declare const wikilinksHandler: (vault: Vault) => (input: { action: string; path?: string; limit?: number; }) => Promise<{ content: { type: "text"; text: string; }[]; isError?: boolean; }>; //# sourceMappingURL=wikilinks.d.ts.map