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; } declare function hasCodegraphProjectIndex(projectPath: string): boolean; declare function resolveCodegraphCommand(): string | null; 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, inspectCodegraphIndex, repairCodegraphIndex, resolveCodegraphCommand, }; export type { CodegraphIndexDiagnostic, CodegraphIndexStatus }; //# sourceMappingURL=codegraph.d.ts.map