import { getSearchProvider } from "../providers/search-provider.js";
async function handleSearch(input, engines, router, backendStatus, samplingServer, onProgress) {
  const provider = await getSearchProvider();
  return provider.search(input, {
    engines,
    router,
    backendStatus,
    samplingServer,
    onProgress
  });
}
export {
  handleSearch
};
//# sourceMappingURL=search.js.map