import type { InstallScope } from '../../platform/install/types.js'; type CodegraphIndexStatus = 'cli_missing' | 'cli_ready' | 'project_not_initialized' | 'index_incomplete' | 'index_stale' | 'index_ready' | 'status_unavailable'; interface CodegraphIndexDiagnostic { status: CodegraphIndexStatus; repairable: boolean; remediation: string | null; detail: string; } type CodegraphCliStatus = 'installed' | 'missing'; type CodegraphProjectIndexStatus = 'not_checked' | 'not_initialized' | 'incomplete' | 'stale' | 'current' | 'unavailable' | 'skipped'; type CodegraphMcpStatus = 'registered' | 'partially_registered' | 'not_registered' | 'not_detected' | 'unavailable'; type CodegraphAgentId = 'claude' | 'cursor' | 'codex' | 'opencode' | 'hermes' | 'gemini' | 'antigravity' | 'kiro'; interface CodegraphAgentDiagnostic { id: CodegraphAgentId; name: string; scope: 'global' | 'project' | 'both'; configPath: string | null; registered: boolean; valid: boolean; effective: boolean; detail: string; } interface CodegraphIntegrationDiagnostic extends CodegraphIndexDiagnostic { cliStatus: CodegraphCliStatus; indexStatus: CodegraphProjectIndexStatus; mcpStatus: CodegraphMcpStatus; agents: CodegraphAgentDiagnostic[]; effectiveForAgent: Partial>; } declare function hasCodegraphProjectIndex(projectPath: string): boolean; declare function resolveCodegraphCommand(): string | null; declare function inspectCodegraphIntegration(projectPath: string, scope?: InstallScope, homeDir?: string): CodegraphIntegrationDiagnostic; declare function inspectCodegraphIndex(projectPath: string): CodegraphIndexDiagnostic; declare function repairCodegraphIndex(projectPath: string, status: Extract, quiet?: boolean): void; declare function installCodegraph(projectPath: string, scope: InstallScope, shouldInstallCli?: boolean, quiet?: boolean): Promise<'installed' | 'failed' | 'skipped'>; declare function initializeCodegraphProject(projectPath: string, shouldInstallCli?: boolean, quiet?: boolean): Promise<'installed' | 'failed' | 'skipped'>; export { installCodegraph, initializeCodegraphProject, hasCodegraphProjectIndex, inspectCodegraphIntegration, inspectCodegraphIndex, repairCodegraphIndex, resolveCodegraphCommand, }; export type { CodegraphAgentDiagnostic, CodegraphAgentId, CodegraphCliStatus, CodegraphIndexDiagnostic, CodegraphIndexStatus, CodegraphIntegrationDiagnostic, CodegraphMcpStatus, CodegraphProjectIndexStatus, }; //# sourceMappingURL=codegraph.d.ts.map