/** * @license * Copyright 2026 Steven Roussey * SPDX-License-Identifier: Apache-2.0 */ import type { Capability, ModelRecord } from "@workglow/ai/worker"; /** * Closed list of capability-set specs the DeepSeek provider serves. Derived * from {@link DEEPSEEK_CAPABILITY_SETS}. Used by the main-thread provider * shells when registering worker-mode proxies so the dispatcher can route * requests to the worker proxy. */ export declare const DEEPSEEK_RUN_FN_SPECS: { serves: ["model.count-tokens"] | ["model.info"] | ["model.search"] | ["text.generation"] | ["text.rewriter"] | ["text.summary"] | ["text.generation", "json-mode"] | ["text.generation", "tool-use"]; }[]; export declare function deepSeekWorkerRunFnSpecs(): readonly { readonly serves: readonly Capability[]; }[]; /** * Shape read for the model id — `model_id` is required, the rest is * loosely-typed metadata only used to opportunistically widen the inferred * capability set. */ type CapabilityHints = Pick; /** * Capability inference for a DeepSeek {@link ModelRecord}. Reads the model's * profile (see `DEEPSEEK_MODEL_PROFILES`) by its id, or its * `provider_config.model_name` when there is no id. Falls back to the model's * stored `capabilities` array (or a baseline of search + info) when the id * names no known family. * * The DeepSeek chat models are text-only — no vision input and no image * generation — so the inferred set never includes those. * * Main-thread method only — workers do not run capability inference. */ export declare function inferDeepSeekCapabilities(model: CapabilityHints): readonly Capability[]; export {};