import type { RAGEmailSyncClient, RAGGmailLinkedEmailSyncClientOptions } from "@absolutejs/ai";
export type GmailEmailSyncConfig = {
    accessToken: string;
    userId?: string;
    query?: string;
    labelIds?: string[];
    includeSpamTrash?: boolean;
    maxResults?: number;
    fetch?: typeof fetch;
};
export type GraphEmailSyncConfig = {
    accessToken: string;
    baseUrl?: string;
    userId?: string;
    folderId?: string;
    filter?: string;
    search?: string;
    top?: number;
    fetch?: typeof fetch;
};
export type IMAPEmailSyncConfig = {
    host: string;
    port?: number;
    secure?: boolean;
    username: string;
    password: string;
    mailbox?: string;
    search?: string[];
    maxResults?: number;
};
export declare const createRAGGmailEmailSyncClient: (config: GmailEmailSyncConfig) => RAGEmailSyncClient;
export declare const createRAGLinkedGmailEmailSyncClient: (config: RAGGmailLinkedEmailSyncClientOptions) => RAGEmailSyncClient;
export declare const createRAGGraphEmailSyncClient: (config: GraphEmailSyncConfig) => RAGEmailSyncClient;
export declare const createRAGIMAPEmailSyncClient: (config: IMAPEmailSyncConfig) => RAGEmailSyncClient;
