UNPKG

@kameleoon/javascript-sdk-core

Version:
10 lines (9 loc) 427 B
import { Result } from 'ts-res'; import { KameleoonError } from '../../kameleoonError'; import { EvaluationDataType } from '../../targeting/types'; import { ConditionDataType, ICondition } from './types'; export declare class Conversion implements ICondition { private conditionValue?; constructor({ goalId }: ConditionDataType); evaluate({ targetingData, }: EvaluationDataType): Result<boolean, KameleoonError>; }