export interface OneTimePasswordCache { otp: string | null; } /** * Attempt to execute Promise callback, prompting for OTP if necessary. * @template {Record} T * @param {(opts: T) => Promise} fn * @param {T} _opts The options to be passed to `fn` * @param {OneTimePasswordCache} otpCache */ export declare function otplease>(fn: (opts: T) => Promise, _opts: T, otpCache?: OneTimePasswordCache | null): Promise; /** * Prompt user for one-time password. */ export declare function getOneTimePassword(message?: string): Promise;