import { Rule } from "./Rule";
import { ValidationContext } from "../validation/ValidationContext";
import { SendVoteorder } from "../protocol/SendVoteorder";
export declare class VotesCountRule extends Rule {
    rule: string;
    value: number;
    mode: VotesCountRule.Mode;
    constructor(mode: VotesCountRule.Mode, value: number);
    type(): Rule.Type;
    validate(voteorder: SendVoteorder, context: ValidationContext): Promise<void>;
    validateRuleObject(unprototypedObj: any): void;
    getDescription(): string;
}
export declare namespace VotesCountRule {
    enum Mode {
        MORE_THAN = "more_than",
        LESS_THAN = "less_than",
        EQUAL = "equal"
    }
}
