UNPKG

@kameleoon/javascript-sdk-core

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