/** * A request or response schema field used when importing a rule. */ export interface RuleImportSchemaField { /** Unique key for this field. */ key: string; /** Whether this field is shown in the editor table. */ show: boolean; /** Display name for this field. */ name: string; /** Optional field description. */ description?: string | undefined; /** Data type for this field. */ type: RuleImportSchemaField.Type; /** Optional default value for this field. */ defaultValue?: (unknown | null) | undefined; /** When true, this field should only accept values from a value collection. */ valuesOnly?: boolean | undefined; /** Prefix used to scope available dynamic values for this field. */ valuesPrefix?: string | undefined; /** Accepts any additional properties */ [key: string]: any; } export declare namespace RuleImportSchemaField { /** Data type for this field. */ const Type: { readonly String: "string"; readonly Number: "number"; readonly Boolean: "boolean"; readonly Date: "date"; readonly List: "list"; readonly Object: "object"; readonly Function: "function"; }; type Type = (typeof Type)[keyof typeof Type]; }