declare const REGISTRY_VERSION = 2; export interface DirectoryFingerprint { readonly dev: number; readonly ino: number; } interface StoredProjectRegistration { readonly version: typeof REGISTRY_VERSION; readonly locationId: string; readonly stateId: string; readonly canonicalDirectory: string; readonly fingerprint: DirectoryFingerprint; readonly displayName: string; readonly createdAt: string; readonly lastSeenAt: string; readonly lastCommand: string; readonly managerUsed?: boolean; } /** Public Web UI view. `id` and `projectDirectory` are compatibility aliases. */ export interface RegisteredProject extends StoredProjectRegistration { readonly available: boolean; readonly id: string; readonly projectDirectory: string; } export interface ProjectRegistrySnapshot { readonly projects: readonly RegisteredProject[]; readonly warnings: readonly string[]; } /** Lookup identity: only the canonical native path participates in the hash. */ export declare function projectIdForCanonicalDirectory(canonicalDirectory: string): string; export declare const locationIdForCanonicalDirectory: typeof projectIdForCanonicalDirectory; export declare function registerProject(options: { readonly globalConfigDirectory: string; readonly projectDirectory: string; readonly command: string; readonly managerUsed?: true; }): Promise; export declare function readProjectRegistry(globalConfigDirectory: string): Promise; export declare function resolveRegisteredProject(globalConfigDirectory: string, locationId: string): Promise; export {}; //# sourceMappingURL=projectRegistry.d.ts.map