export interface DirectoryIdentity { dev: number; ino: number; } export declare function assertManagedWorktreePath(rootPath: string, stateDir?: string, repositoryRoot?: string): void; export declare function readDirectoryIdentity(path: string): Promise; export declare function assertNoNestedRegisteredWorktrees(repositoryRoot: string, rootPath: string): Promise; export declare function sameDirectoryIdentity(expected: DirectoryIdentity, actual: DirectoryIdentity | undefined): boolean;