import { BigNumber } from '@pigi/core-utils' ; import { HistoryProof , StateQuery , StateQueryResult , Transaction , TransactionResult , } from './state.interface' ; export interface StateManager { param transaction param inBlock param witness returns executeTransaction ( transaction , inBlock , witness ) : Promise < TransactionResult > ; param historyProof returns ingestHistoryProof ( historyProof ) : Promise < void > ; param query returns queryState ( query ) : Promise < StateQueryResult [ ] > ; }