import type { TextChunk } from "../text-buffer.js"; import type { SimpleHighlight } from "./tree-sitter/types.js"; export declare function normalizeMarkdownLinkTarget(destination: string): string; export declare function detectLinks(chunks: TextChunk[], context: { content: string; highlights: SimpleHighlight[]; sourceRanges?: Array<{ start: number; end: number; }>; }): TextChunk[];