export interface DashboardWorkspaceIdentity { id: string; label: string; branch: string | null; current: boolean; } export interface DashboardWorkspaceSource extends DashboardWorkspaceIdentity { projectRoot: string; } export interface DashboardChangeLocator { workspaceId: string; identity: string; } export declare function sameDashboardPath(left: string, right: string): boolean; export declare function dashboardWorkspaceId(projectRoot: string): string; /** * Treat every registered worktree in one Git common repository as a Dashboard * discovery source. Non-Git projects retain the previous single-root behavior. * When the requested directory is a monorepo subdirectory that carries the * Comet project config, the subdirectory (not the worktree root) is the * workspace root, and sibling worktrees map to the same relative subdirectory. */ export declare function collectDashboardWorkspaceSources(projectRoot: string): DashboardWorkspaceSource[]; export declare function dashboardWorkspaceIdentity(source: DashboardWorkspaceSource): DashboardWorkspaceIdentity; export declare function encodeDashboardChangeLocator(workspaceId: string, identity: string): string; export declare function parseDashboardChangeLocator(value: string): DashboardChangeLocator | null; //# sourceMappingURL=workspace.d.ts.map