import { VoteResult, AggregatedVote } from '../config/types.js'; export declare class ConsensusService { /** * Build a voting prompt that asks the LLM to vote on options */ buildVotePrompt(question: string, options: string[], requireReasoning?: boolean): string; /** * Parse a vote from an LLM response */ parseVote(response: string, voter: string, nickname: string, options: string[]): VoteResult; /** * Fallback parsing when JSON fails - try to extract choice from text */ private fallbackParse; /** * Aggregate votes into a final result */ aggregateVotes(question: string, options: string[], votes: VoteResult[]): AggregatedVote; /** * Determine the level of consensus reached */ private determineConsensusLevel; /** * Format the aggregated vote result for display */ formatVoteResult(result: AggregatedVote): string; } //# sourceMappingURL=consensus.d.ts.map