/** * @license * Copyright 2026 Steven Roussey * SPDX-License-Identifier: Apache-2.0 */ import type { Capability, ModelProfileFamily, ResolvedModelProfile } from "@workglow/ai/worker"; /** * What differs per DeepSeek model. Every DeepSeek chat model is text-only, so * the one decision left is whether it reasons — which DeepSeek splits by id * rather than by parameter. Capability inference, the effort policy, the * thinking switch, the reasoning allowance and model search all read it here. */ export interface DeepSeekModelProfile { /** * Takes `reasoning_effort` and the `thinking` switch, and bills reasoning * tokens against `max_tokens`. */ readonly reasoning: boolean; } /** * One row per canonical id (see {@link normalizeDeepSeekModelId}): adding a * model is a row here plus its price in `DEEPSEEK_PRICING`, and the contract * test fails until both exist. An id with no row is answered by * {@link DEEPSEEK_MODEL_FAMILIES}. */ export declare const DEEPSEEK_MODEL_PROFILES: Readonly>; /** Rows for models `DEEPSEEK_PRICING` has no card for; the contract test allows exactly these. */ export declare const DEEPSEEK_UNPRICED_PROFILE_IDS: ReadonlySet; /** * The answer for an id with no row. Any other `deepseek-` id is a text-only * chat model that does not reason (`deepseek-v3`, `deepseek-coder`). */ export declare const DEEPSEEK_MODEL_FAMILIES: readonly ModelProfileFamily[]; /** * The canonical id for any spelling of a DeepSeek model: the gateway's * `deepseek/` prefix and a trailing `MMDD` snapshot (`deepseek-v4-flash-0731`) * name the same model. A snapshot shares its base id's card and behavior. */ export declare function normalizeDeepSeekModelId(id: string): string; export type DeepSeekResolvedProfile = ResolvedModelProfile; export declare const resolveDeepSeekProfile: (modelName: string | undefined) => DeepSeekResolvedProfile; /** The task capabilities a profile serves: the same text set whether or not it reasons. */ export declare function deepSeekProfileCapabilities(_profile: DeepSeekModelProfile): readonly Capability[];