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