type NetworkType = 'bitcoin' | 'ethereum' | 'ton' | 'tron' | 'solana' | 'spark'; interface ZubariWalletConfig { network: 'mainnet' | 'testnet'; enabledNetworks: NetworkType[]; gasless: boolean; paymasterUrl?: string; bundlerUrl?: string; rpcUrls?: Partial>; } interface TokenBalance { symbol: string; address: string; balance: bigint; balanceFormatted: string; balanceUsd: number; decimals: number; } interface NetworkBalance { network: NetworkType; native: { symbol: string; balance: bigint; balanceFormatted: string; balanceUsd: number; }; tokens: TokenBalance[]; } interface TxResult { hash: string; network: NetworkType; status: 'pending' | 'confirmed' | 'failed'; blockNumber?: number; gasUsed?: bigint; error?: string; metadata?: Record; } interface SendParams { to: string; amount: bigint; token?: string; gasless?: boolean; } interface Account { network: NetworkType; address: string; publicKey: string; derivationPath: string; } interface NFTMetadata { name: string; description: string; image: string; attributes?: Array<{ trait_type: string; value: string | number; }>; royaltyBps: number; } interface LazyMintVoucher { tokenId: string; uri: string; creator: string; royaltyBps: number; deadline: number; signature: string; } interface NFT { tokenId: string; contractAddress: string; owner: string; creator: string; uri: string; metadata?: NFTMetadata; isLazyMinted: boolean; } interface ListingParams { tokenId: string; price: bigint; paymentToken: string; duration: number; } interface TipData { recipient: string; amount: bigint; token: string; message?: string; } interface TipResult { txHash: string; tipId: string; recipient: string; amount: bigint; platformFee: bigint; timestamp: number; } interface TipStats { totalReceived: bigint; tipCount: number; uniqueTippers: number; } interface SubscriptionPlan { planId?: string; name: string; description: string; price: bigint; paymentToken: string; duration: number; perks: string[]; maxSubscribers?: number; nftBadge: boolean; } interface Subscription { subscriptionId: string; planId: string; creator: string; subscriber: string; startTime: number; endTime: number; autoRenew: boolean; status: 'active' | 'expired' | 'cancelled'; } interface EarningsBreakdown { tips: bigint; subscriptions: bigint; nftSales: bigint; royalties: bigint; total: bigint; } interface RevenueSplit { recipient: string; basisPoints: number; } interface SwapQuote { tokenIn: string; tokenOut: string; amountIn: bigint; amountOut: bigint; priceImpact: number; route: string[]; estimatedGas: bigint; } interface SwapParams { tokenIn: string; tokenOut: string; amountIn: bigint; minAmountOut: bigint; deadline: number; } type ZubariErrorCode = 'TX_FAILED' | 'AUTH_EXPIRED' | 'RPC_ERROR' | 'VOUCHER_EXPIRED' | 'SLIPPAGE_ERROR' | 'RATE_LIMITED' | 'UPLOAD_ERROR' | 'INSUFFICIENT_FUNDS' | 'INVALID_SIGNATURE' | 'UNSUPPORTED_NETWORK' | 'UNKNOWN_ERROR'; declare class ZubariError extends Error { readonly code: ZubariErrorCode; readonly details?: unknown | undefined; constructor(code: ZubariErrorCode, message: string, details?: unknown | undefined); } export { type Account as A, type EarningsBreakdown as E, type LazyMintVoucher as L, type NetworkType as N, type RevenueSplit as R, type SwapQuote as S, type TxResult as T, type ZubariWalletConfig as Z, type NetworkBalance as a, type TokenBalance as b, type SendParams as c, type NFTMetadata as d, type NFT as e, type ListingParams as f, type TipData as g, type TipResult as h, type TipStats as i, type SubscriptionPlan as j, type Subscription as k, type SwapParams as l, type ZubariErrorCode as m, ZubariError as n };