import type { SearchAdapter, SearchAdapterConfig } from './types.js'; import type { SqlTagFn } from './postgresAdapter.js'; /** * Create a search adapter based on the provided configuration. * * - If `meiliClient` is provided, returns a MeilisearchSearchAdapter. * - If `db` is provided (with a `sqlTag`), returns a PostgresSearchAdapter. * - Throws if neither is provided. */ export declare function createSearchAdapter(config: SearchAdapterConfig & { sqlTag?: SqlTagFn; language?: string; }): SearchAdapter; //# sourceMappingURL=factory.d.ts.map