import type { EvaluationContext, Hook, HookContext, JsonValue } from '@openfeature/server-sdk'; import { ExporterMetadata } from '../model'; /** * Enrich the evaluation context with additional information */ export declare class EnrichEvaluationContextHook implements Hook { private readonly metadata; /** * Constructor of the Hook * @param metadata - metadata to use in order to enrich the evaluation context */ constructor(metadata?: ExporterMetadata); /** * Enrich the evaluation context with additional information before the evaluation of the flag * @param context - The hook context * @param hints - Caller provided data * @returns The enriched evaluation context */ before(context: HookContext, _hints?: Record): Promise; }