import { type JsonObject, type EntryKind } from '../serialization/validate.js'; import type { EmbeddingDocument } from './types.js'; export declare const EMBEDDING_DOCUMENT_TEMPLATE_VERSION: 1; export declare const EMBEDDING_DOCUMENT_TEMPLATE_VERSION_V2: 2; export declare const EMBEDDING_INPUT_CONTRACT: "e5-query-passage-v1"; export declare const MAX_EMBEDDING_DOCUMENT_BYTES: number; export declare const BODY_TRUNCATION_MARKER: "[body truncated]"; export interface EmbeddingDocumentInput { readonly kind: EntryKind; readonly title: string; readonly summary: string | null; readonly body: string; readonly tags: readonly string[]; readonly scope: JsonObject; } export declare function buildEmbeddingDocument(input: EmbeddingDocumentInput): EmbeddingDocument; /** Build the provider-neutral v2 memory representation for E5 models. */ export declare function buildCanonicalEmbeddingDocument(input: EmbeddingDocumentInput): EmbeddingDocument; export declare function renderEmbeddingProviderInput(canonicalText: string, prefix?: string): string; //# sourceMappingURL=document.d.ts.map