import { isly } from "isly"; import { Base as RuleBase } from "./Base"; import { control as ruleControl } from "./control"; import { Other as RuleOther } from "./Other"; import { State as RuleState } from "./State"; export type Rule = Rule.Other; export declare namespace Rule { export import Other = RuleOther; export import State = RuleState; export import Base = RuleBase; export import Kind = Base.Kind; export import Category = Base.Category; const control: typeof ruleControl; type Action = (typeof Action.values)[number]; namespace Action { const values: readonly ["review", "reject", "flag"]; const type: isly.Type<"reject" | "review" | "flag">; } const type: import("isly/dist/cjs/object").IslyObject; function evaluate(rules: Rule[], state: RuleState): RuleState.Evaluated; function isLegacy(rule: Rule): boolean; function fromLegacy(rule: Rule): Rule; }