/** * Utility class for extracting OTP codes from text messages. */ export declare class OtpExtractor { /** * Extract an OTP code from a message using a regular expression. * * @param message The message text to extract the OTP from * @param pattern Optional custom regex pattern, defaults to common OTP patterns * @returns The extracted OTP code or null if not found */ static extractOtp(message: string, pattern?: RegExp): string | null; /** * Attempts to extract an OTP code using multiple common patterns. * * @param message The message text to extract the OTP from * @returns The extracted OTP code or null if not found */ static extractOtpWithFallback(message: string): string | null; }