export type WorktreeToolScope = 'launch' | 'team' | 'autoresearch' | 'repo'; export type RequestedCodeGraphMode = 'auto' | 'shared' | 'local' | 'off'; export type ResolvedCodeGraphMode = 'shared' | 'local' | 'off'; export interface WorktreeToolContext { repoRoot: string; worktreeRoot: string; gitCommonDir: string; worktreeScope: WorktreeToolScope; codeGraphMode: ResolvedCodeGraphMode; codeGraphProjectPath: string; codeGraphDbPath: string; codeGraphSource: 'worktree-local' | 'leader-shared' | 'none'; requestedCodeGraphMode: RequestedCodeGraphMode; } export interface ResolveWorktreeToolContextOptions { cwd: string; scope: WorktreeToolScope; repoRoot?: string | null; worktreeRoot?: string | null; env?: NodeJS.ProcessEnv; } export declare function resolveWorktreeToolContext(options: ResolveWorktreeToolContextOptions): WorktreeToolContext; export declare function worktreeToolContextEnv(context: WorktreeToolContext): Record; export declare function renderCodeGraphInstructions(context: WorktreeToolContext): string; //# sourceMappingURL=worktree-tool-context.d.ts.map