import type { GraphClientConfig } from "../lib/graph-client.js"; export interface OtpArgs { sender: string; subjectPattern?: string; timeout?: number; } export interface OtpResult { success: boolean; code?: string; message: string; from?: string; subject?: string; } /** * Poll the inbox for a one-time code from a specific sender. Lists recent * messages, keeps those whose sender matches `sender` (and optional subject * regex), reads each candidate's full body via runMailFetchBody, and extracts * the code. Scans immediately, then polls every 5 s until `timeout` (default * 60 s). The OTP extractor is shared verbatim with the email plugin. */ export declare function runMailOtpExtract(config: GraphClientConfig, args: OtpArgs): Promise; //# sourceMappingURL=mail-otp-extract.d.ts.map