import type { KnowledgeStore } from '../store.js';
import type { KnowledgeEdgeRecord, KnowledgeExtractionRecord, KnowledgeNodeRecord, KnowledgeSourceRecord } from '../types.js';
import type { HomeGraphState } from './state.js';
export interface HomeGraphAutoLinkResult {
    readonly edge: KnowledgeEdgeRecord;
    readonly node: KnowledgeNodeRecord;
    readonly relation: string;
    readonly score: number;
    readonly reasons: readonly string[];
}
export declare function autoLinkHomeGraphSource(input: {
    readonly store: KnowledgeStore;
    readonly spaceId: string;
    readonly installationId: string;
    readonly source: KnowledgeSourceRecord;
    readonly extraction?: KnowledgeExtractionRecord | undefined;
    readonly state: HomeGraphState;
}): Promise<HomeGraphAutoLinkResult | undefined>;
export declare function autoLinkHomeGraphSources(input: {
    readonly store: KnowledgeStore;
    readonly spaceId: string;
    readonly installationId: string;
    readonly sources: readonly KnowledgeSourceRecord[];
    readonly extractionBySourceId: ReadonlyMap<string, KnowledgeExtractionRecord>;
    readonly state: HomeGraphState;
}): Promise<readonly HomeGraphAutoLinkResult[]>;
//# sourceMappingURL=auto-link.d.ts.map