import { type Chain, type HashTypedDataParameters, type Hex, type PublicClient, type TypedData } from 'viem'; import type { Module } from '../modules/common'; import type { ResolvedSessionSignerSet } from '../modules/validators/smart-sessions'; import type { AccountProviderConfig, Call, OwnerSet, RhinestoneConfig, SignerSet } from '../types'; import { AccountConfigurationNotSupportedError, AccountError, Eip712DomainNotAvailableError, Eip7702AccountMustHaveEoaError, Eip7702NotSupportedForAccountError, EoaAccountMustHaveAccountError, EoaSigningMethodNotConfiguredError, EoaSigningNotSupportedError, ExistingEip7702AccountsNotSupportedError, FactoryArgsNotAvailableError, isAccountError, ModuleInstallationNotSupportedError, OwnersFieldRequiredError, SigningNotSupportedForAccountError, SmartSessionsNotEnabledError, WalletClientNoConnectedAccountError } from './error'; import { type ValidatorConfig } from './utils'; type InternalSignerSet = SignerSet | ResolvedSessionSignerSet; declare function getInitCode(config: RhinestoneConfig): { address: import("viem").Address; } | { factory: `0x${string}`; factoryData: `0x${string}`; } | undefined; declare function getV0InitCode(config: RhinestoneConfig): { address: import("viem").Address; } | { factory: `0x${string}`; factoryData: `0x${string}`; } | undefined; declare function signEip7702InitData(config: RhinestoneConfig): Promise<`0x${string}`>; declare function getEip7702InitCall(config: RhinestoneConfig, signature: Hex): { initData: `0x${string}`; contract: `0x${string}`; }; declare function getEip712Domain(config: RhinestoneConfig, chain: Chain): { name: string; version: string; chainId: number; verifyingContract: `0x${string}`; salt: "0x0000000000000000000000000000000000000000000000000000000000000000"; }; declare function getModuleInstallationCalls(config: RhinestoneConfig, module: Module): Call[]; declare function getModuleUninstallationCalls(config: RhinestoneConfig, module: Module): Call[]; declare function getAddress(config: RhinestoneConfig): `0x${string}`; declare function checkAddress(config: RhinestoneConfig): boolean; declare function getEip1271Signature(config: RhinestoneConfig, signers: InternalSignerSet | undefined, chain: Chain, validator: ValidatorConfig, hash: Hex, transformSignature?: (signature: Hex) => Hex): Promise; declare function getEmissarySignature(config: RhinestoneConfig, signers: InternalSignerSet | undefined, chain: Chain, hash: Hex, transformSignature?: (signature: Hex) => Hex): Promise; declare function getTypedDataPackedSignature = TypedData, primaryType extends keyof typedData | 'EIP712Domain' = keyof typedData>(config: RhinestoneConfig, signers: InternalSignerSet | undefined, chain: Chain, validator: ValidatorConfig, parameters: HashTypedDataParameters, transformSignature?: (signature: Hex) => Hex): Promise; declare function isDeployed(config: RhinestoneConfig, chain: Chain): Promise; declare function deploy(config: RhinestoneConfig, chain: Chain, params?: { sponsored?: boolean; eip7702InitSignature?: Hex; }): Promise; declare function setup(config: RhinestoneConfig, chain: Chain): Promise; declare function toErc6492Signature(config: RhinestoneConfig, signature: Hex, chain: Chain): Promise; declare function getSmartAccount(config: RhinestoneConfig, client: PublicClient, chain: Chain): Promise> | undefined>; declare function getGuardianSmartAccount(config: RhinestoneConfig, client: PublicClient, chain: Chain, guardians: OwnerSet): Promise> | undefined>; declare function is7702(config: RhinestoneConfig): boolean; declare function getAccountProvider(config: RhinestoneConfig): AccountProviderConfig; export { getEip712Domain, getModuleInstallationCalls, getModuleUninstallationCalls, getAddress, checkAddress, getAccountProvider, getInitCode, getV0InitCode, signEip7702InitData, getEip7702InitCall, is7702, isDeployed, deploy, setup, toErc6492Signature, getSmartAccount, getGuardianSmartAccount, getEip1271Signature, getEmissarySignature, getTypedDataPackedSignature, isAccountError, AccountError, AccountConfigurationNotSupportedError, Eip712DomainNotAvailableError, Eip7702AccountMustHaveEoaError, Eip7702NotSupportedForAccountError, EoaAccountMustHaveAccountError, EoaSigningMethodNotConfiguredError, EoaSigningNotSupportedError, ExistingEip7702AccountsNotSupportedError, FactoryArgsNotAvailableError, ModuleInstallationNotSupportedError, OwnersFieldRequiredError, SigningNotSupportedForAccountError, SmartSessionsNotEnabledError, WalletClientNoConnectedAccountError, }; //# sourceMappingURL=index.d.ts.map