export declare const PROJECT_IDENTITY_VERSION: 1; export declare const PROJECT_ID_PREFIX = "proj_"; export declare const PROJECT_IDENTITY_RELATIVE_PATH: string; export interface ProjectIdentityFile { version: typeof PROJECT_IDENTITY_VERSION; projectId: string; } export interface EnsureProjectIdentityResult { identity: ProjectIdentityFile; created: boolean; } export interface RekeyProjectIdentityResult { previous?: ProjectIdentityFile | undefined; identity: ProjectIdentityFile; } export declare function projectIdentityPath(projectRoot: string): string; export declare function createProjectId(seedTime?: number): string; export declare function isProjectId(value: string): boolean; export declare function readProjectIdentitySync(projectRoot: string): ProjectIdentityFile | undefined; export declare function readProjectIdentity(projectRoot: string): Promise; export declare function ensureProjectIdentity(projectRoot: string, idFactory?: () => string): Promise; export declare function rekeyProjectIdentity(projectRoot: string, idFactory?: () => string): Promise; /** * Keep runtime state ignored while allowing the small, explicitly shared * WrongStack project contract to travel with the repository. */ export declare function ensureProjectGitignore(projectRoot: string): Promise; //# sourceMappingURL=project-identity.d.ts.map