import { Address } from '@graphprotocol/common-ts'; import { SubgraphClient } from '../subgraph-client'; type U256 = bigint; export type EscrowAccountResponse = { escrowAccounts: { balance: string; sender: { id: string; }; }[]; }; export declare class EscrowAccounts { private sendersBalances; constructor(sendersBalances: Map
); getBalanceForSender(sender: Address): U256; subtractSenderBalance(sender: Address, ravValue: U256): void; static fromResponse(response: EscrowAccountResponse): EscrowAccounts; } export declare const getEscrowAccounts: (tapSubgraph: SubgraphClient, indexer: Address) => Promise