import type { ArtifactStore } from '../../artifacts/index.js';
import type { ArtifactDescriptor } from '../../artifacts/types.js';
import type { KnowledgeStore } from '../store.js';
import type { KnowledgeExtractionRecord, KnowledgeSourceRecord } from '../types.js';
import { type HomeGraphAutoLinkResult } from './auto-link.js';
export declare function extractHomeGraphArtifact(context: {
    readonly store: KnowledgeStore;
    readonly artifactStore: ArtifactStore;
    readonly reportBackgroundError: (event: string, error: unknown, metadata: Record<string, unknown>) => void;
}, source: KnowledgeSourceRecord, artifact: ArtifactDescriptor, spaceId: string, installationId: string): Promise<KnowledgeExtractionRecord | undefined>;
export declare function autoLinkExistingHomeGraphSources(store: KnowledgeStore, spaceId: string, installationId: string, sourceIds?: readonly string[]): Promise<readonly HomeGraphAutoLinkResult[]>;
//# sourceMappingURL=extraction.d.ts.map