import { IAddress } from './IAddress'; import { z } from 'zod'; /** * @name IWallet * @description Interface for the implementors of the wallet * * This is present in the system in case it is needed to add extra information to the * wallet type */ export interface IWallet extends IWalletData { /** Address of the wallet, valid for the different chains */ readonly address: IAddress; } /** * @description Zod schema for IWallet */ export declare const WalletDataSchema: z.ZodObject<{ address: z.ZodObject<{ value: z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>; type: z.ZodNativeEnum; }, "strip", z.ZodTypeAny, { type: import("..").AddressType; value: `0x${string}`; }, { type: import("..").AddressType; value: `0x${string}`; }>; }, "strip", z.ZodTypeAny, { address: { type: import("..").AddressType; value: `0x${string}`; }; }, { address: { type: import("..").AddressType; value: `0x${string}`; }; }>; /** * Type for the data part of the IWallet interface */ export type IWalletData = Readonly>; /** * @description Type guard for IWallet * @param maybeWallet * @returns true if the object is an IWallet */ export declare function isWallet(maybeWallet: unknown): maybeWallet is IWallet; //# sourceMappingURL=IWallet.d.ts.map