import SocialMailContext from "../model/SocialMailContext.js"; import Domain from "../model/entities/Domain.js"; import type EmailAddress from "../model/entities/EmailAddress.js"; import { ICacheContainer, ObjectCache } from "../../common/cacheFor.js"; export default class EmailAddressService implements ICacheContainer { cache: ObjectCache; getHostedDomain(name: string): Promise; getHostedDomainByID(id: number): Promise; getOrCreateDomain(name: string): Promise; lookupDomainID(emailAddressID: number): Promise; getMailboxFromId(id: any): Promise; getDomainByID(id: any): Promise; getMailboxId(emailAddress: string): Promise; getMailbox(emailAddress: string): Promise; getEmailAddressFrom(emailAddress: string): Promise; getHostedMailboxByAddress(emailAddress: string): Promise; getHostedMailboxByID(mailboxID: number): Promise; getMailboxByAddress(address: string): Promise; isHostedChannelID(emailAddressID: any): Promise; getEmailAddress(id: number): Promise; getOrCreateChildMailbox(parentID: number, prefix: string): Promise; getIdIfExists(emailAddress: string): Promise; getId(emailAddress: string, name?: string, validate?: boolean): any; generateHashedEmail(db: SocialMailContext, emailAddress: any, domainName: any): Promise<{ largeEmailHash: string; emailAddress: string; }>; } //# sourceMappingURL=EmailAddressService.d.ts.map