import { DeviceInfo, TonProofItemReply } from "../"; export declare enum TONCHAIN { MAINNET = "-239" } export interface Account { /** * User's address in "hex" format: ":". */ address: string; /** * User's selected chain. */ chain: TONCHAIN; /** * Base64 (not url safe) encoded wallet contract stateInit. * Can be used to get user's public key from the stateInit if the wallet contract doesn't support corresponding get method. */ walletStateInit: string; /** * Hex string without 0x prefix. */ publicKey?: string; } export interface TONWallet { /** * Information about user's wallet's device. */ device: DeviceInfo; /** * Provider type: http bridge or injected js. */ provider: 'http' | 'injected'; /** * Selected account. */ account: Account; /** * Response for connect items request. */ connectItems?: { tonProof?: TonProofItemReply; }; }