import type { GitStatusEntry } from '@pierre/trees'; /** * Fetch the porcelain status for `repoPath` and convert it into a flat list * of `GitStatusEntry` values consumable by `FileTree.setGitStatus`. Returns * an empty array when the path is not in a git repo, the request fails, or * the server reports a non-zero exit — the file browser must still work * without git, so any error here is a no-op rather than a thrown exception. * * Files that have both a staged and an unstaged change are collapsed into a * single entry: the unstaged status wins because that mirrors what is * actually different on disk and matches VS Code's tree decoration behavior. */ export declare function loadGitStatusEntries(repoPath: string): Promise;