import type { Network } from "@fogo/sessions-sdk"; import type { Connection } from "@solana/web3.js"; import { PublicKey } from "@solana/web3.js"; import type { State } from "../components/component-library/useData/index.js"; import type { WalletConnectedSessionState } from "../session-state.js"; export { StateType } from "../components/component-library/useData/index.js"; export declare const useTokenAccountData: (sessionState: WalletConnectedSessionState) => State; export declare const getCacheKey: (network: Network, walletPublicKey: PublicKey) => (string | Network)[]; export type TokenAccountData = Awaited>; export type Token = Awaited>["tokensInWallet"][number]; declare const getTokenAccounts: (connection: Connection, sessionState: WalletConnectedSessionState, network: Network) => Promise<{ sessionLimits: { image?: string; name?: string; symbol?: string | undefined; decimals: number; mint: PublicKey; sessionLimit: bigint; }[]; tokensInWallet: ({ image?: string; name?: string; symbol?: string | undefined; amountInWallet: bigint; decimals: number; isNative: false; mint: PublicKey; } | { amountInWallet: bigint; decimals: number; image: string; isNative: true; name: string; symbol: string; })[]; }>;