export type ConditionOperator = '==' | '===' | '!=' | '!==' | '>' | '<' | '>=' | '<=' | 'contains' | 'not_contains' | 'is_empty' | 'is_not_empty'; export interface IfElseProps { /** The primary value being evaluated */ source: any; /** The logical operator to apply */ condition: ConditionOperator; /** The secondary value to compare against (Optional for 'is_empty' checks) */ target?: any; /** The value to return if the condition evaluates to true */ trueValue: any; /** The value to return if the condition evaluates to false */ falseValue: any; } export default function IfElse({ source, condition, target, trueValue, falseValue }: IfElseProps): any;