import type { ArtifactStore } from '../../artifacts/index.js'; import type { ArtifactDescriptor } from '../../artifacts/types.js'; import type { KnowledgeStore } from '../store.js'; import type { KnowledgeExtractionRecord, KnowledgeIssueRecord, KnowledgeSourceRecord } from '../types.js'; import type { KnowledgeSemanticService } from '../semantic/index.js'; import type { HomeGraphAutoLinkResult } from './auto-link.js'; import type { HomeGraphReindexInput, HomeGraphReindexResult } from './types.js'; export interface HomeGraphReindexContext { readonly store: KnowledgeStore; readonly artifactStore: ArtifactStore; readonly semanticService?: KnowledgeSemanticService | undefined; readonly extract: (source: KnowledgeSourceRecord, artifact: ArtifactDescriptor, spaceId: string, installationId: string) => Promise; readonly autoLinkExistingSources: (spaceId: string, installationId: string, sourceIds?: readonly string[]) => Promise; readonly refreshQualityIssues: (spaceId: string, installationId: string) => Promise; } export declare function coalescedHomeGraphReindexResult(store: KnowledgeStore, input: HomeGraphReindexInput): HomeGraphReindexResult; export declare function runHomeGraphReindex(context: HomeGraphReindexContext, input?: HomeGraphReindexInput): Promise; export declare function reindexHomeGraphSources(input: { readonly spaceId: string; readonly sources: readonly KnowledgeSourceRecord[]; readonly extractionBySourceId: ReadonlyMap; readonly artifactStore: ArtifactStore; readonly extract: (source: KnowledgeSourceRecord, artifact: ArtifactDescriptor) => Promise; readonly limit?: number | undefined; readonly maxRunMs?: number | undefined; }): Promise; //# sourceMappingURL=reindex.d.ts.map