Public declaration syntax from forge-ts/packages/forge-embed/src/index.ts Original source SHA-256: 0fa5f724b4e93768ad0d20d4dc1080c2004cb9e1803be041bdf163a00c8c89bf Function bodies and constant values are omitted. This is not the complete implementation. Source line 29 export { ForgeEmbedError, ForgeEmbedErrorCode, type ForgeEmbedErrorCodeType } from './error.js'; Source line 32 export { type EmbeddingProvider, type EmbeddingResult, embed, embedMany } from './embed.js'; Source line 35 export { cosineSimilarity, euclideanDistance, dotProduct } from './similarity.js'; Source line 38 export { type Reranker, type RerankResult, rerank } from './rerank.js'; Source line 41 export { type VectorStore, type VectorEntry, type SearchResult, InMemoryVectorStore, } from './vector-store.js'; Source line 49 export { type TextSplitter, RecursiveCharacterSplitter, type RecursiveCharacterSplitterOptions, TokenSplitter, type TokenSplitterOptions, } from './chunking.js'; Source line 58 export { type Document, type DocumentLoader, TextLoader, JsonLoader, } from './document.js';