/** * Embedded fallback to the original DeepSeek web-search provider. * * The Firecrawl plugin is mounted as the configured `web.searchProvider` * (`firecrawl`). A settings-page switch can turn Firecrawl off; instead of * making the configured provider unavailable (which would fail every search), * the Firecrawl provider delegates to this DeepSeekSearchProvider instance — * the same implementation the shipped `web-search-deepseek` row registers. * Its endpoint/model/limits resolve from the official `web-search-deepseek` * settings namespace when that row is mounted, so the switch behaves like the * original provider, not a simplified copy. * @module @elves-ai/dsh-web-search-firecrawl/deepseek-provider */ import type { Context } from '@deepseek-ai/cordis'; import { DeepSeekSearchProvider } from '@deepseek-ai/dsh-web-search-deepseek'; /** * Create the fallback provider used while the settings-page switch is off. * @param ctx - plugin context (resolves settings/credentials/env per search). * @returns a DeepSeek-backed `WebSearchProvider`. */ export declare function createDeepSeekSearchProvider(ctx: Context): DeepSeekSearchProvider;