import type { InAppWallet, InAppWalletCreationOptions } from "../core/wallet/types.js"; /** * Creates an in-app wallet. * @param createOptions - configuration options * @returns The created in-app wallet. * @example * ```ts * import { inAppWallet } from "thirdweb/wallets"; * * const wallet = inAppWallet(); * * const account = await wallet.connect({ * client, * chain, * strategy: "google", * }); * ``` * * Enable smart accounts and sponsor gas for your users: * ```ts * import { inAppWallet } from "thirdweb/wallets"; * const wallet = inAppWallet({ * smartAccount: { * chain: sepolia, * sponsorGas: true, * }, * }); * ``` * * Specify a logo for your login page * ```ts * import { inAppWallet } from "thirdweb/wallets"; * const wallet = inAppWallet({ * metadata: { * image: { * src: "https://example.com/logo.png", * alt: "My logo", * width: 100, * height: 100, * }, * }, * }); * ``` * * Hide the ability to export the private key within the Connect Modal * ```ts * import { inAppWallet } from "thirdweb/wallets"; * const wallet = inAppWallet({ * hidePrivateKeyExport: true * }); * ``` * @wallet */ export declare function inAppWallet(createOptions?: InAppWalletCreationOptions): InAppWallet; //# sourceMappingURL=in-app.d.ts.map