import { CloseVectorDocument } from './document';
export declare class SynchronousInMemoryDocstore {
    _docs: Map<string, CloseVectorDocument>;
    constructor(docs?: Map<string, CloseVectorDocument>);
    /**
     * Searches for a document in the store based on its ID.
     * @param search The ID of the document to search for.
     * @returns The document with the given ID.
     */
    search(search: string): CloseVectorDocument;
    /**
     * Adds new documents to the store.
     * @param texts An object where the keys are document IDs and the values are the documents themselves.
     * @returns Void
     */
    add(texts: Record<string, CloseVectorDocument>): void;
}
