export type IndexerSnapshot = { blockNumber: number; transactionIndex: number; logIndex: number; }; /** * Compares the two snapshots provided. * @param snapA * @param snapB * @returns 0 if they're equal, negative if `a` goes up, positive if `b` goes up */ export declare function snapshotComparator(snapA: IndexerSnapshot, snapB: IndexerSnapshot): number; /** * Compares blockNumber and onChainBlockNumber and returns `true` * if blockNumber is considered confirmed. * @returns boolean */ export declare function isConfirmedBlock(blockNumber: number, onChainBlockNumber: number, maxConfirmations: number): boolean; //# sourceMappingURL=utils.d.ts.map