import { BlockTransactionCommitment , Transaction } from '../state.interface' ; export interface Aggregator { param transaction returns ingestTransaction ( transaction ) : Promise < BlockTransactionCommitment > ; returns getPublicKey ( ) : Promise < any > ; }