import { SmrtObject } from '@happyvertical/smrt-core'; import { EmailFolderOptions } from '../types'; export declare class EmailFolder extends SmrtObject { tenantId: string | null; accountId: string; name: string; path: string; delimiter: string; specialUse: string; messageCount: number; unreadCount: number; subscribed: boolean; createdAt: Date; updatedAt: Date; constructor(options?: EmailFolderOptions); /** * Get the email account */ getAccount(): Promise; /** * Get all emails in this folder */ getEmails(limit?: number): Promise; /** * Get unread emails in this folder */ getUnreadEmails(limit?: number): Promise; /** * Update message counts from database */ refreshCounts(): Promise; /** * Check if this is the inbox folder */ isInbox(): boolean; /** * Check if this is the sent folder */ isSent(): boolean; /** * Check if this is the drafts folder */ isDrafts(): boolean; /** * Check if this is the trash folder */ isTrash(): boolean; /** * Check if this is the spam/junk folder */ isSpam(): boolean; /** * Check if this is a system folder */ isSystemFolder(): boolean; /** * Subscribe to folder */ subscribe(): Promise; /** * Unsubscribe from folder */ unsubscribe(): Promise; } //# sourceMappingURL=EmailFolder.d.ts.map