import { type Account, type Address, type Chain } from 'viem'; import type { CalldataInput, LazyCallInput, OwnableValidatorConfig, RhinestoneConfig, WebauthnValidatorConfig } from '../types'; /** * Set up social recovery * @param guardians Guardians to use for recovery * @param threshold Threshold for the guardians * @returns Calls to set up social recovery */ declare function enable(guardians: Account[], threshold?: number): LazyCallInput; /** * Recover an account's ownership (ECDSA) * @param address Account address * @param newOwners New owners * @param chain Chain to recover ownership on * @param provider Provider to use for the recovery * @returns Calls to recover ownership */ declare function recoverEcdsaOwnership(address: Address, newOwners: OwnableValidatorConfig, chain: Chain, config: RhinestoneConfig): Promise; /** * Recover an account's ownership (Passkey) * @param address Account address * @param oldCredentials Old credentials to be replaced (with pubKeyX, pubKeyY) * @param newOwners New passkey owners * @param chain Chain to recover ownership on * @param provider Provider to use for the recovery * @returns Calls to recover ownership */ declare function recoverPasskeyOwnership(address: Address, oldCredentials: { pubKeyX: bigint; pubKeyY: bigint; }[], newOwners: WebauthnValidatorConfig, chain: Chain, config: RhinestoneConfig): Promise; export { enable, recoverEcdsaOwnership, recoverPasskeyOwnership }; //# sourceMappingURL=recovery.d.ts.map