export type ExtensionSourceKind = "setup" | "onReady" | "onClose" | "declaration"; export type InferenceConfidence = "high" | "medium" | "low"; export interface ServiceIndexEntry { filePath: string; importPath: string; serviceKey: string; keySegments: string[]; } export interface AppExtensionIndexEntry { pluginFile: string; propertyKey: string; inferredTypeText: string; sourceKind: ExtensionSourceKind; confidence: InferenceConfidence; } export interface ProjectIndex { serviceEntries: ServiceIndexEntry[]; appExtensions: AppExtensionIndexEntry[]; } export declare function buildProjectIndex(rootDir: string): Promise;