interface MailsacEmail {
    _id: string;
    from: Array<{
        address: string;
        name?: string;
    }>;
    to: Array<{
        address: string;
        name?: string;
    }>;
    subject: string;
    inbox: string;
    received: string;
    size: number;
    attachments: string[];
    ip: string;
    via: string;
    folder: string;
    labels: string[];
    read: boolean;
    rtls: boolean;
    originalInbox: string;
    spam: boolean;
}
export declare class MailsacClient {
    private apiKey;
    private baseUrl;
    constructor(apiKey: string);
    /**
     * Get all emails for a specific inbox
     * @param inbox - The inbox address (e.g., 'test@mailsac.com' or just 'test')
     */
    getEmails(inbox: string): Promise<MailsacEmail[]>;
    /**
     * Get a specific email by ID
     * @param email - The email address
     * @param messageId - The ID of the email to fetch
     */
    getEmailById(email: string, messageId: string): Promise<string>;
    /**
     * Delete a specific email by ID
     * @param emailId - The ID of the email to delete
     */
    deleteEmail(emailId: string): Promise<any>;
}
export {};
