/** * [WHO]: Provides createEvalSink() factory and barrel re-exports for EvalSink, EvalEventEnvelope, EvalVariant, EvalEventType, EvalAdapterId, CreateEvalSinkOptions, createEvalEvent * [FROM]: Depends on ./types.js, ./noop-sink.js, ./insforge-sink.js, ./jsonl-sink.js * [TO]: Consumed by extensions/builtin/sal/index.ts as the eval entry point * [HERE]: extensions/builtin/sal/eval/index.ts - adapter selection and public surface; SAL only ever imports from this file (never from sibling sink modules) * * Adapter selection rules: * 1. If options.adapter is set, use it verbatim. * 2. Else infer from options.endpoint scheme: * - http://, https:// → "insforge" * - file://, /…, ./…, ../… → "jsonl" * - missing → "noop" * * Adding a new backend = add one sibling file + one switch case below. */ import type { CreateEvalSinkOptions, EvalSink } from "./types.js"; export { createEvalEvent, type CreateEvalSinkOptions, type EvalAdapterId, type EvalEventEnvelope, type EvalEventType, type EvalSink, type EvalVariant, } from "./types.js"; export declare function createEvalSink(options: CreateEvalSinkOptions): EvalSink;