import type { Worktree, WorktreeRegistry, WorktreeFileSystem, WorktreeStatus } from "./types.js";
export declare function readRegistry(registryFile: string, fs: WorktreeFileSystem): Promise<WorktreeRegistry>;
export declare function writeRegistry(registryFile: string, registry: WorktreeRegistry, fs: WorktreeFileSystem): Promise<void>;
export declare function addWorktreeEntry(registryFile: string, entry: Worktree, fs: WorktreeFileSystem): Promise<void>;
export declare function removeWorktreeEntry(registryFile: string, name: string, fs: WorktreeFileSystem): Promise<void>;
export declare function updateWorktreeStatus(registryFile: string, name: string, status: WorktreeStatus, deps: {
    fs: WorktreeFileSystem;
}): Promise<void>;
