import { S3Client } from "bun";
import type { CreateRAGSyncManagerOptions, RAGSyncSourceDiagnostics, RAGSyncExtractionRecoveryHandlers, RAGSyncExtractionRecoveryPreview, RAGSyncExtractionRecoveryResult, RAGSyncConflictResolutionPreview, RAGSyncConflictResolutionResult, RAGSyncConflictResolutionStrategy, RAGDirectorySyncSourceOptions, RAGStorageSyncClient, RAGStorageSyncSourceOptions, RAGEmailSyncClient, RAGEmailSyncMessage, RAGEmailSyncSourceOptions, RAGGmailLinkedEmailSyncSourceOptions, RAGFeedSyncSourceOptions, RAGGitHubSyncSourceOptions, RAGSitemapSyncSourceOptions, RAGSiteDiscoverySyncSourceOptions, RAGSyncSchedule, RAGSyncScheduler, RAGSyncStateStore, RAGSyncManager, RAGSyncSourceDefinition, RAGSyncSourceReconciliationSummary, RAGUrlSyncSourceOptions } from "@absolutejs/ai";
import type { RAGLinkedConnectorSyncSourceOptions } from "@absolutejs/ai";
export declare const previewRAGSyncExtractionRecovery: (input: {
    diagnostics?: RAGSyncSourceDiagnostics;
}) => RAGSyncExtractionRecoveryPreview;
export declare const resolveRAGSyncExtractionRecovery: (input: {
    diagnostics?: RAGSyncSourceDiagnostics;
    handlers?: RAGSyncExtractionRecoveryHandlers;
}) => Promise<RAGSyncExtractionRecoveryResult>;
export declare const previewRAGSyncConflictResolutions: (input: {
    reconciliation?: RAGSyncSourceReconciliationSummary;
    strategy?: RAGSyncConflictResolutionStrategy;
}) => RAGSyncConflictResolutionPreview;
export declare const resolveRAGSyncConflictResolutions: (input: {
    deleteDocument: (id: string) => Promise<boolean> | boolean;
    reconciliation?: RAGSyncSourceReconciliationSummary;
    strategy?: RAGSyncConflictResolutionStrategy;
}) => Promise<RAGSyncConflictResolutionResult>;
export declare const createRAGDirectorySyncSource: (options: RAGDirectorySyncSourceOptions) => RAGSyncSourceDefinition;
export declare const createRAGGitHubSyncSource: (options: RAGGitHubSyncSourceOptions) => RAGSyncSourceDefinition;
export declare const createRAGFeedSyncSource: (options: RAGFeedSyncSourceOptions) => RAGSyncSourceDefinition;
export declare const createRAGSitemapSyncSource: (options: RAGSitemapSyncSourceOptions) => RAGSyncSourceDefinition;
export declare const createRAGSiteDiscoverySyncSource: (options: RAGSiteDiscoverySyncSourceOptions) => RAGSyncSourceDefinition;
export declare const createRAGUrlSyncSource: (options: RAGUrlSyncSourceOptions) => RAGSyncSourceDefinition;
export declare const createRAGBunS3SyncClient: (input: S3Client | ConstructorParameters<typeof S3Client>[0]) => RAGStorageSyncClient;
export declare const createRAGStorageSyncSource: (options: RAGStorageSyncSourceOptions) => RAGSyncSourceDefinition;
export declare const createRAGStaticEmailSyncClient: (input: {
    messages: RAGEmailSyncMessage[];
}) => RAGEmailSyncClient;
export declare const createRAGEmailSyncSource: (options: RAGEmailSyncSourceOptions) => RAGSyncSourceDefinition;
export declare const createRAGLinkedConnectorSyncSource: (options: RAGLinkedConnectorSyncSourceOptions) => RAGSyncSourceDefinition;
export declare const createRAGLinkedGmailEmailSyncSource: (options: RAGGmailLinkedEmailSyncSourceOptions) => RAGSyncSourceDefinition;
export declare const createRAGSyncManager: (options: CreateRAGSyncManagerOptions) => RAGSyncManager;
export declare const createRAGFileSyncStateStore: (path: string) => RAGSyncStateStore;
export declare const createRAGSyncScheduler: (input: {
    manager: RAGSyncManager;
    schedules: RAGSyncSchedule[];
}) => RAGSyncScheduler;
