import type { Condition } from './Condition'; /** * @type ConditionsResult: Result document containing an array of conditions. * * @property limit: Maximum records to retrieve per request, not to exceed the maximum defined. A limit must be at least 1 so at least one record is returned (if any match the criteria). * * @property conditions: The list of conditions for a rule. This can be empty. * * @property total: The total number of hits that match the search\'s criteria. This can be greater than the number of results returned as search results are pagenated. * */ export type ConditionsResult = { limit: number; conditions?: Array; total: number; } & { [key: string]: any; };