import { Doc } from "./doc"; export interface Position { line: number; col: number; } export interface Source { path: string; start: Position; end: Position; } export declare function formatSource(repoUrl: string, source: Source): string; export declare function sourceToUrl(repoUrl: string, { path, start, end }: Source): string; export declare const appendSourceLinks: (repoUrl: string | null) => (docs: Doc[]) => Doc[];