import { EvaluationDetails } from './EvaluationDetails'; import type { StickyValues } from './interfaces/IUserPersistentStorage'; import { SecondaryExposure } from './LogEvent'; export default class ConfigEvaluation { value: boolean; rule_id: string; secondary_exposures: SecondaryExposure[]; json_value: Record; explicit_parameters: string[] | null; config_delegate: string | null; unsupported: boolean; undelegated_secondary_exposures: SecondaryExposure[]; is_experiment_group: boolean; group_name: string | null; evaluation_details: EvaluationDetails | undefined; id_type: string | null; configVersion?: number | undefined; forward_all_exposures: boolean; sample_rate?: number | undefined; seen_analytical_gates: boolean; constructor(value: boolean, rule_id?: string, group_name?: string | null, id_type?: string | null, secondary_exposures?: SecondaryExposure[], json_value?: Record | boolean, explicit_parameters?: string[] | null, config_delegate?: string | null, configVersion?: number, unsupported?: boolean, forward_all_exposures?: boolean, sample_rate?: number, seen_analytical_gates?: boolean); withEvaluationDetails(evaulationDetails: EvaluationDetails): ConfigEvaluation; setIsExperimentGroup(isExperimentGroup?: boolean): void; static unsupported(configSyncTime: number, initialUpdateTime: number, version?: number | undefined, forward_all_exposures?: boolean, sample_rate?: number | undefined): ConfigEvaluation; toStickyValues(): StickyValues; static fromStickyValues(stickyValues: StickyValues, initialUpdateTime: number): ConfigEvaluation; }