/** * ZkCompressionApi - ZK Compression API * * Compressed accounts and tokens for 98% cost reduction */ import type { LunaHeliusClient } from '../LunaHeliusClient'; import type { RpcResponse, CompressedAccount, CompressedAccountProof, ValidityProof } from '../types'; export declare class ZkCompressionApi { private readonly client; constructor(client: LunaHeliusClient); /** Get compressed account by hash */ getCompressedAccount(hash: string): Promise>; /** Get compressed accounts by owner */ getCompressedAccountsByOwner(owner: string): Promise>; /** Get compressed account balance */ getCompressedBalance(hashOrAddress: string): Promise>; /** Get combined compressed balance by owner */ getCompressedBalanceByOwner(owner: string): Promise>; /** Get compressed account proof */ getCompressedAccountProof(hashOrAddress: string): Promise>; /** Get multiple compressed account proofs */ getMultipleCompressedAccountProofs(hashes: string[]): Promise>; /** Get validity proof for transaction */ getValidityProof(params: { hashes?: string[]; newAddresses?: string[]; newAddressesWithTrees?: Array<{ address: string; tree: string; }>; }): Promise>; /** Get compression signatures for account */ getCompressionSignaturesForAccount(hash: string): Promise>; /** Get compression signatures for address */ getCompressionSignaturesForAddress(address: string): Promise>; /** Get compression signatures for owner */ getCompressionSignaturesForOwner(owner: string): Promise>; /** Get compressed token accounts by owner */ getCompressedTokenAccountsByOwner(owner: string): Promise>; /** Get compressed token accounts by delegate */ getCompressedTokenAccountsByDelegate(delegate: string): Promise>; /** Get compressed token balances by owner */ getCompressedTokenBalancesByOwner(owner: string): Promise>; /** Get compressed mint token holders */ getCompressedMintTokenHolders(mint: string): Promise>; /** Get multiple compressed accounts */ getMultipleCompressedAccounts(hashes: string[]): Promise>; /** Get new address proof */ getMultipleNewAddressProofs(addresses: string[]): Promise>; /** Get indexer health status */ getIndexerHealth(): Promise>; /** Get indexer slot */ getIndexerSlot(): Promise>; /** Get latest compression signatures */ getLatestCompressionSignatures(limit?: number): Promise>; /** Get latest non-voting signatures */ getLatestNonVotingSignatures(limit?: number): Promise>; /** Get transaction with compression info */ getTransactionWithCompressionInfo(signature: string): Promise>; } //# sourceMappingURL=ZkCompressionApi.d.ts.map