import { ParallelExecutor } from "./ParallelExecutor"; export declare abstract class ConsensusExecutor extends ParallelExecutor { private readonly quorumRatio; constructor(quorumRatio: number, timeoutMs?: number); protected verifySettlements(successfulResults: R[], errorResults: unknown[], totalLength: number): boolean; private getQuorum; } export declare class AllEqualConsensusExecutor extends ConsensusExecutor { aggregate(results: R[]): R; } export declare class MedianConsensusExecutor extends ConsensusExecutor { aggregate(results: R[]): R; static getMedian(results: R[]): R; } //# sourceMappingURL=ConsensusExecutor.d.ts.map