import { type GitObjectStore } from './objects.js'; /** A complete unified diff between two trees or commits, with null as the empty preimage. */ export declare function diffText(store: GitObjectStore, from: string | null, to: string): Promise; /** One commit as an email patch; series metadata numbers the subject for a comparison's commits. */ export declare function formatPatch(store: GitObjectStore, sha: string, series?: { number: number; total: number; }): Promise; /** Submodule paths and URLs declared by a .gitmodules file (git configuration syntax). */ export declare function parseSubmodules(text: string): Array<{ name: string; path: string; url: string; }>; /** A repository-relative symbolic-link target; targets escaping the repository have no local path. */ export declare function symlinkPath(path: string, target: string): string | undefined;