UNPKG

@mintlify/link-rot

Version:

Static checking for broken internal links

14 lines (13 loc) 373 B
import type { Graph } from '../graph.js'; export type ExternalLinkResult = { url: string; status: number | null; error?: string; sources: Array<{ file: string; originalPath: string; }>; }; export declare const getBrokenExternalLinks: (graph: Graph, options?: { sourceFiles?: ReadonlySet<string>; }) => Promise<ExternalLinkResult[]>;