import { EmailMessage } from '../types/email.js';
/**
 * Wrapper for the original MailService to provide a consistent interface
 * and type conversions for the unified search system
 */
export declare class MailService {
    private static instance;
    private mailServices;
    private constructor();
    static getInstance(): MailService;
    private normalizeAccountId;
    private getOriginalService;
    /**
     * Query messages using Microsoft Graph API
     */
    queryMessages(accountId: string, options: {
        search?: string;
        filter?: string;
        top?: number;
        skip?: number;
        orderby?: string;
        select?: string;
    }): Promise<EmailMessage[]>;
    /**
     * Get a single message by ID
     */
    getMessage(accountId: string, messageId: string): Promise<EmailMessage>;
    /**
     * Convert from the original Email type to our EmailMessage type
     */
    private convertToEmailMessage;
}
//# sourceMappingURL=mail.d.ts.map