export type CustomConditionError = string; /** * Use to fail an assertion other part of Condition for any reason (like validation). * Use custom error message if available * @category Conditions */ export declare function throwError(target: Record, message: string): void; export declare function getCustomError(target: Record): CustomConditionError;