export declare class RaftVoteRequest {
    readonly term: number;
    readonly lastLogIndex: number;
    readonly lastLogTerm: number;
    readonly peerId: string;
    readonly candidateId: string;
    constructor(term: number, lastLogIndex: number, lastLogTerm: number, peerId: string, candidateId: string);
    createResponse(voteGranted: boolean): RaftVoteResponse;
}
export declare class RaftVoteResponse {
    readonly term: number;
    readonly voteGranted: boolean;
    readonly destinationPeerId: string;
    readonly sourcePeerId: string;
    constructor(term: number, voteGranted: boolean, destinationPeerId: string, sourcePeerId: string);
}
//# sourceMappingURL=RaftVote.d.ts.map