export type WorkspaceSource = 'codex' | 'repo' | 'fallback'; export type WorkspaceCandidateInput = { path?: string | null; name?: string | null; updated_at?: string | null; source?: WorkspaceSource; }; export type WorkspaceCandidate = { path: string; label: string; source: WorkspaceSource; updated_at: string | null; git?: WorkspaceGitContext; }; export type WorkspaceGitWorktree = { path: string; branch: string | null; head: string | null; bare?: boolean; }; export type WorkspaceGitContext = { root: string; current_branch: string | null; branches: string[]; worktrees: WorkspaceGitWorktree[]; }; export declare function isFilesystemRoot(workspacePath: string): boolean; export declare function discoverRepoWorkspaceCandidates(input?: { homeDir?: string; fallbackCwd?: string; }): WorkspaceCandidateInput[]; export declare function listWorkspaceCandidates(input?: { fallbackCwd?: string; mirroredProjects?: WorkspaceCandidateInput[]; }): WorkspaceCandidate[]; export declare function discoverWorkspaceCandidates(fallbackCwd?: string): WorkspaceCandidate[]; //# sourceMappingURL=workspaces.d.ts.map