/** * Project ids in dashboard links. An id is the project's absolute path on the * machine that made the link, so a link copied from another machine names a * path that does not exist here. Pure: shared by the server and the client. */ /** `/srv/work/app` → `srv-work-app`; `C:\work\app` → `C-work-app`. */ export declare function pathToProjectId(projectPath: string): string; /** * The registered project a requested id means: the exact id, or the only * project whose folder name ends the requested id (the same checkout under * another machine's path). Null when nothing or more than one project fits. */ export declare function matchProjectId(requested: string | null | undefined, projects: readonly T[]): T | null; //# sourceMappingURL=project-id.d.ts.map