import { ChainTypeEnum, RecoveryMethod } from '@openfort/openfort-js'; import type { OTPResponse } from '../../../shared/hooks/useRecoveryOTP'; import type { RecoverableWallet } from '../../../shared/types'; import { type SetRouteOptions } from '../../Openfort/types'; type RecoveryContext = { setActive: (opts: { address: string; password?: string; recoveryMethod?: RecoveryMethod; otpCode?: string; passkeyId?: string; }) => Promise; setRoute: (options: SetRouteOptions) => void; setError: (e: string | false) => void; otp: { isEnabled: boolean; request: () => Promise; }; setNeedsOTP: (n: boolean) => void; setOtpResponse: (r: OTPResponse | null) => void; password?: string; otpCode?: string; passkeyId?: string; }; type RecoveryEntry = (wallet: RecoverableWallet, ctx: RecoveryContext) => Promise; type RecoveryRegistryByChain = { password: RecoveryEntry; passkey: RecoveryEntry; automatic: RecoveryEntry; }; export declare const recoveryRegistry: Record; export {};