import { Db } from "./db.js";
import { Document } from "./Document.js";
export declare class Link {
    private idPath;
    private offset;
    private lnk;
    private db;
    private getLnk;
    constructor(db: Db, idPath: string, offset: number);
    from(): Document;
    to(): Document | null;
    anchor(): string | null;
    line(): number;
    column(): number;
    label(): string | null;
    id(): number;
}
