import type { EvaluationContext, Logger, JsonValue } from '@openfeature/core'; import type { FlagdCoreOptions } from '../options'; export declare class Targeting { private logger; private readonly _compiledLogic?; private readonly _engine?; private readonly _logic?; private readonly _useInterpreter; constructor(logic: unknown, logger: Logger, options?: FlagdCoreOptions); /** * Recursively walks the json-logic tree and throws if any referenced method * is not registered on the engine. This mirrors the validation that * engine.build() performs at compile time, ensuring consistent PARSE_ERROR * behavior in interpreter mode. */ private static validateMethods; evaluate(flagKey: string, ctx: EvaluationContext, logger?: Logger): T; }