import type { KnowledgeIngestContext } from './ingest-context.js';
import type { KnowledgeBatchIngestResult, KnowledgeBookmarkSeed, KnowledgeExtractionRecord, KnowledgeIssueRecord, KnowledgeSourceRecord, KnowledgeSourceType } from './types.js';
export declare function ingestKnowledgeUrl(context: KnowledgeIngestContext, input: {
    readonly url: string;
    readonly title?: string | undefined;
    readonly tags?: readonly string[] | undefined;
    readonly folderPath?: string | undefined;
    readonly sessionId?: string | undefined;
    readonly sourceType?: KnowledgeSourceType | undefined;
    readonly connectorId?: string | undefined;
    readonly allowPrivateHosts?: boolean | undefined;
    readonly metadata?: Record<string, unknown> | undefined;
}): Promise<{
    source: KnowledgeSourceRecord;
    artifactId?: string;
    extraction?: KnowledgeExtractionRecord;
    issues: readonly KnowledgeIssueRecord[];
}>;
export declare function ingestKnowledgeArtifact(context: KnowledgeIngestContext, input: {
    readonly artifactId?: string | undefined;
    readonly path?: string | undefined;
    readonly uri?: string | undefined;
    readonly title?: string | undefined;
    readonly tags?: readonly string[] | undefined;
    readonly folderPath?: string | undefined;
    readonly sessionId?: string | undefined;
    readonly sourceType?: KnowledgeSourceType | undefined;
    readonly connectorId?: string | undefined;
    readonly allowPrivateHosts?: boolean | undefined;
    readonly metadata?: Record<string, unknown> | undefined;
}): Promise<{
    source: KnowledgeSourceRecord;
    artifactId?: string;
    extraction?: KnowledgeExtractionRecord;
    issues: readonly KnowledgeIssueRecord[];
}>;
export declare function importKnowledgeBookmarksFromFile(context: KnowledgeIngestContext, input: {
    readonly path: string;
    readonly sessionId?: string | undefined;
    readonly allowPrivateHosts?: boolean | undefined;
}): Promise<KnowledgeBatchIngestResult>;
export declare function importKnowledgeUrlsFromFile(context: KnowledgeIngestContext, input: {
    readonly path: string;
    readonly sessionId?: string | undefined;
    readonly allowPrivateHosts?: boolean | undefined;
}): Promise<KnowledgeBatchIngestResult>;
export declare function ingestKnowledgeBookmarkSeeds(context: KnowledgeIngestContext, seeds: readonly KnowledgeBookmarkSeed[], sessionId?: string, sourceType?: KnowledgeSourceType, connectorId?: string, allowPrivateHosts?: boolean): Promise<KnowledgeBatchIngestResult>;
export declare function ingestKnowledgeWithConnector(context: KnowledgeIngestContext, connectorId: string, input: unknown, sessionId?: string, allowPrivateHosts?: boolean): Promise<KnowledgeBatchIngestResult>;
export declare function ingestKnowledgeConnectorInput(context: KnowledgeIngestContext, input: {
    readonly connectorId: string;
    readonly input?: unknown | undefined;
    readonly content?: string | undefined;
    readonly path?: string | undefined;
    readonly sessionId?: string | undefined;
    readonly allowPrivateHosts?: boolean | undefined;
}): Promise<KnowledgeBatchIngestResult>;
export declare function refreshKnowledgeSources(context: KnowledgeIngestContext, sources: readonly KnowledgeSourceRecord[]): Promise<number>;
export declare function pickKnowledgeRefreshCandidates(context: {
    readonly store: {
        listSources(limit: number): KnowledgeSourceRecord[];
    };
}, mode: 'stale' | 'bookmark', explicitIds: readonly string[] | undefined, limit?: number): KnowledgeSourceRecord[];
export declare function isSourcePastRefreshWindow(source: KnowledgeSourceRecord): boolean;
export declare function getSourceRefreshWindowMs(source: KnowledgeSourceRecord): number;
//# sourceMappingURL=ingest-inputs.d.ts.map