import { ChunkingOptions } from "./ChunkingOptions.js"; /** * The name of the function that must be called in transformation scripts to generate embeddings. */ export declare const GENERATE_EMBEDDINGS_FUNCTION_NAME = "embeddings.generate"; /** * Configuration for a custom transformation script that generates embeddings. */ export interface EmbeddingsTransformation { /** * JavaScript transformation script. * Must call embeddings.generate() function. */ script: string; /** * Chunking configuration for the transformation output. */ chunkingOptions: ChunkingOptions; } /** * Validates an embeddings transformation and returns an array of error messages. * @param transformation The transformation to validate * @returns Array of validation error messages, empty if valid */ export declare function validateEmbeddingsTransformation(transformation: EmbeddingsTransformation): string[]; /** * Compares two EmbeddingsTransformation objects for equality. * @param left First transformation to compare * @param right Second transformation to compare * @returns true if both are equal or both are null/undefined, false otherwise */ export declare function areEmbeddingsTransformationsEqual(left: EmbeddingsTransformation | null | undefined, right: EmbeddingsTransformation | null | undefined): boolean; //# sourceMappingURL=EmbeddingsTransformation.d.ts.map