import type { KnowledgeIngestContext } from './ingest-context.js';
import type { KnowledgeExtractionRecord, KnowledgeSourceRecord, KnowledgeSourceType } from './types.js';
export declare function finalizeKnowledgeIngestedSource(context: KnowledgeIngestContext, input: {
    readonly sourceId: string;
    readonly artifactId: string;
    readonly inputTitle?: string | undefined;
    readonly sourceType: KnowledgeSourceType;
    readonly connectorId: string;
    readonly tags: readonly string[];
    readonly folderPath?: string | undefined;
    readonly sessionId?: string | undefined;
    readonly metadata: Record<string, unknown>;
}): Promise<{
    source: KnowledgeSourceRecord;
    artifactId: string;
    extraction: KnowledgeExtractionRecord;
}>;
export declare function recompileKnowledgeSource(context: KnowledgeIngestContext, source: KnowledgeSourceRecord): Promise<void>;
export declare function compileKnowledgeSource(context: KnowledgeIngestContext, source: KnowledgeSourceRecord, extraction?: KnowledgeExtractionRecord | null): Promise<void>;
export declare function compileKnowledgeStructuredEntityHints(context: KnowledgeIngestContext, source: KnowledgeSourceRecord, extraction?: KnowledgeExtractionRecord | null): Promise<void>;
//# sourceMappingURL=ingest-compile.d.ts.map