import type { AdapterLibrary, SearchAdapterInstance } from './types.js'; interface Manager { getOrCreate: (type: string, id: unknown) => Promise; } export default function (manager: Manager, searchLib: AdapterLibrary): { adapters: Record; find: (type: string, criteria: Record) => Promise; update: (type: string, fieldList: string[], updated: Record, original: Record) => Promise; }; export {};