import { isly } from "isly";
import { isly as isly2 } from "isly2";
import { Preset } from "../Card/Preset";
export interface Base {
code: string;
name: string;
description: string;
type: Base.Kind;
category: Base.Category;
condition: string;
flags: string[];
groups?: string[];
presets?: Preset[];
}
export declare namespace Base {
type Kind = (typeof Kind.values)[number];
namespace Kind {
const values: readonly ["authorization", "outbound", "inbound", "capture", "refund"];
const type: isly.Type<"authorization" | "outbound" | "inbound" | "capture" | "refund">;
const type2: isly2.String<"authorization" | "outbound" | "inbound" | "capture" | "refund">;
function is(kind: Kind, rule: Base, groups: string[] | undefined, preset: Preset | undefined): boolean;
}
type Category = (typeof Category.values)[number];
namespace Category {
const values: readonly ["fincrime", "product", "customer"];
const type: isly.Type<"fincrime" | "product" | "customer">;
const type2: isly2.String<"fincrime" | "product" | "customer">;
}
const type: import("isly/dist/cjs/object").IslyObject;
const type2: isly2.Object;
}