import type { VectorStoreAdapter, VectorStoreCreateOptions, VectorStoreInfo, VectorStoreFileInfo, VectorStoreAddOptions, VectorStoreListOptions, VectorStoreList, VectorStoreFileList } from '../../types.js'; import type { OpenAIConfig } from './config.js'; /** * OpenAI hosted vector store adapter. Wraps `client.vectorStores.*` and * `client.vectorStores.files.*` from the v4+ SDK. Lazy SDK load mirrors * the rest of the OpenAI provider. * * `addFile` defaults to polling until the file is fully indexed * (`status === 'completed'`). Pass `{ wait: false }` to fire-and-forget. * * Local file paths route through OpenAI's Files API first * (`client.files.create({ purpose: 'assistants' })`); the resulting * `file_id` then attaches to the vector store. Apps that already have * a file id pass `{ fileId }` directly. */ export declare class OpenAIVectorStoreAdapter implements VectorStoreAdapter { private readonly config; constructor(config: OpenAIConfig); private readonly getClient; create(opts: VectorStoreCreateOptions): Promise; list(opts?: VectorStoreListOptions): Promise; get(id: string): Promise; delete(id: string): Promise; addFile(storeId: string, opts: VectorStoreAddOptions): Promise; removeFile(storeId: string, fileId: string): Promise; listFiles(storeId: string, opts?: VectorStoreListOptions): Promise; } //# sourceMappingURL=vector-store.d.ts.map