UNPKG

@interep/reputation

Version:
5 lines (4 loc) 289 B
import { ReputationLevel } from "../types"; import { RuleDef } from "../types/rule"; export default function getBin(x: number, bins: [number, number][]): number; export declare const createRule: ({ bins, condition }: RuleDef) => (numericalAttr: number, extraAttr: any) => ReputationLevel;