import { KVMap } from "../../schemas.js"; import { toBeRelativeCloseTo, toBeAbsoluteCloseTo, toBeSemanticCloseTo } from "./matchers.js"; import { SimpleEvaluationResult } from "./types.js"; import type { LangSmithJestlikeWrapperConfig, LangSmithJestlikeWrapperParams, LangSmithJestlikeDescribeWrapper } from "./types.js"; export declare function logFeedback(feedback: SimpleEvaluationResult, config?: { sourceRunId?: string; }): void; export declare function logOutputs(output: Record): void; export declare function _objectHash(obj: KVMap, depth?: number): string; export declare function generateWrapperFromJestlikeMethods(methods: Record, testRunnerName: string): { test: ( = Record, O extends Record = Record>(name: string, lsParams: LangSmithJestlikeWrapperParams, testFn: (data: { inputs: I; referenceOutputs?: O; } & Record) => unknown | Promise, timeout?: number) => void) & { only: ( = Record, O extends Record = Record>(name: string, lsParams: LangSmithJestlikeWrapperParams, testFn: (data: { inputs: I; referenceOutputs?: O; } & Record) => unknown | Promise, timeout?: number) => void) & { each: (table: ({ inputs: I; referenceOutputs?: O; } & Record)[], config?: LangSmithJestlikeWrapperConfig) => (name: string, fn: (params: { inputs: I; referenceOutputs?: O; } & Record) => unknown | Promise, timeout?: number) => void; }; skip: ( = Record, O extends Record = Record>(name: string, lsParams: LangSmithJestlikeWrapperParams, testFn: (data: { inputs: I; referenceOutputs?: O; } & Record) => unknown | Promise, timeout?: number) => void) & { each: (table: ({ inputs: I; referenceOutputs?: O; } & Record)[], config?: LangSmithJestlikeWrapperConfig) => (name: string, fn: (params: { inputs: I; referenceOutputs?: O; } & Record) => unknown | Promise, timeout?: number) => void; }; concurrent: ( = Record, O extends Record = Record>(name: string, lsParams: LangSmithJestlikeWrapperParams, testFn: (data: { inputs: I; referenceOutputs?: O; } & Record) => unknown | Promise, timeout?: number) => void) & { each: (table: ({ inputs: I; referenceOutputs?: O; } & Record)[], config?: LangSmithJestlikeWrapperConfig) => (name: string, fn: (params: { inputs: I; referenceOutputs?: O; } & Record) => unknown | Promise, timeout?: number) => void; only: ( = Record, O extends Record = Record>(name: string, lsParams: LangSmithJestlikeWrapperParams, testFn: (data: { inputs: I; referenceOutputs?: O; } & Record) => unknown | Promise, timeout?: number) => void) & { each: (table: ({ inputs: I; referenceOutputs?: O; } & Record)[], config?: LangSmithJestlikeWrapperConfig) => (name: string, fn: (params: { inputs: I; referenceOutputs?: O; } & Record) => unknown | Promise, timeout?: number) => void; }; skip: ( = Record, O extends Record = Record>(name: string, lsParams: LangSmithJestlikeWrapperParams, testFn: (data: { inputs: I; referenceOutputs?: O; } & Record) => unknown | Promise, timeout?: number) => void) & { each: (table: ({ inputs: I; referenceOutputs?: O; } & Record)[], config?: LangSmithJestlikeWrapperConfig) => (name: string, fn: (params: { inputs: I; referenceOutputs?: O; } & Record) => unknown | Promise, timeout?: number) => void; }; }; each: (table: ({ inputs: I; referenceOutputs?: O; } & Record)[], config?: LangSmithJestlikeWrapperConfig) => (name: string, fn: (params: { inputs: I; referenceOutputs?: O; } & Record) => unknown | Promise, timeout?: number) => void; }; it: ( = Record, O extends Record = Record>(name: string, lsParams: LangSmithJestlikeWrapperParams, testFn: (data: { inputs: I; referenceOutputs?: O; } & Record) => unknown | Promise, timeout?: number) => void) & { only: ( = Record, O extends Record = Record>(name: string, lsParams: LangSmithJestlikeWrapperParams, testFn: (data: { inputs: I; referenceOutputs?: O; } & Record) => unknown | Promise, timeout?: number) => void) & { each: (table: ({ inputs: I; referenceOutputs?: O; } & Record)[], config?: LangSmithJestlikeWrapperConfig) => (name: string, fn: (params: { inputs: I; referenceOutputs?: O; } & Record) => unknown | Promise, timeout?: number) => void; }; skip: ( = Record, O extends Record = Record>(name: string, lsParams: LangSmithJestlikeWrapperParams, testFn: (data: { inputs: I; referenceOutputs?: O; } & Record) => unknown | Promise, timeout?: number) => void) & { each: (table: ({ inputs: I; referenceOutputs?: O; } & Record)[], config?: LangSmithJestlikeWrapperConfig) => (name: string, fn: (params: { inputs: I; referenceOutputs?: O; } & Record) => unknown | Promise, timeout?: number) => void; }; concurrent: ( = Record, O extends Record = Record>(name: string, lsParams: LangSmithJestlikeWrapperParams, testFn: (data: { inputs: I; referenceOutputs?: O; } & Record) => unknown | Promise, timeout?: number) => void) & { each: (table: ({ inputs: I; referenceOutputs?: O; } & Record)[], config?: LangSmithJestlikeWrapperConfig) => (name: string, fn: (params: { inputs: I; referenceOutputs?: O; } & Record) => unknown | Promise, timeout?: number) => void; only: ( = Record, O extends Record = Record>(name: string, lsParams: LangSmithJestlikeWrapperParams, testFn: (data: { inputs: I; referenceOutputs?: O; } & Record) => unknown | Promise, timeout?: number) => void) & { each: (table: ({ inputs: I; referenceOutputs?: O; } & Record)[], config?: LangSmithJestlikeWrapperConfig) => (name: string, fn: (params: { inputs: I; referenceOutputs?: O; } & Record) => unknown | Promise, timeout?: number) => void; }; skip: ( = Record, O extends Record = Record>(name: string, lsParams: LangSmithJestlikeWrapperParams, testFn: (data: { inputs: I; referenceOutputs?: O; } & Record) => unknown | Promise, timeout?: number) => void) & { each: (table: ({ inputs: I; referenceOutputs?: O; } & Record)[], config?: LangSmithJestlikeWrapperConfig) => (name: string, fn: (params: { inputs: I; referenceOutputs?: O; } & Record) => unknown | Promise, timeout?: number) => void; }; }; each: (table: ({ inputs: I; referenceOutputs?: O; } & Record)[], config?: LangSmithJestlikeWrapperConfig) => (name: string, fn: (params: { inputs: I; referenceOutputs?: O; } & Record) => unknown | Promise, timeout?: number) => void; }; describe: LangSmithJestlikeDescribeWrapper & { only: LangSmithJestlikeDescribeWrapper; skip: LangSmithJestlikeDescribeWrapper; concurrent: LangSmithJestlikeDescribeWrapper; }; expect: jest.Expect; toBeRelativeCloseTo: typeof toBeRelativeCloseTo; toBeAbsoluteCloseTo: typeof toBeAbsoluteCloseTo; toBeSemanticCloseTo: typeof toBeSemanticCloseTo; }; export declare function isInTestContext(): boolean; export { wrapEvaluator } from "./vendor/evaluatedBy.js"; export * from "./types.js";