export declare class TempMail { private address; private token; private password; /** * Initializes a new temporary email account * @returns The generated email address */ initialize(): Promise; /** * Gets current email address */ getAddress(): string; /** * Polls inbox for new messages and extracts OTP/links * @param timeoutSeconds Max time to wait in seconds * @param extractRegex Optional regex string to extract specific data from email text (e.g., OTP) * @returns The message text, or extracted match if regex provided */ waitForEmail(timeoutSeconds?: number, extractRegex?: string): Promise<{ subject: string; text: string; extracted?: string | null; }>; } //# sourceMappingURL=TempMail.d.ts.map