/** * @license * Copyright 2026 Steven Roussey * SPDX-License-Identifier: Apache-2.0 */ import type { Capability, ModelRecord } from "@workglow/ai/worker"; export declare const HFI_RUN_FN_SPECS: { serves: ["image.editing"] | ["image.generation"] | ["model.info"] | ["model.search"] | ["text.embedding"] | ["text.generation"] | ["text.rewriter"] | ["text.summary"] | ["text.generation", "tool-use"]; }[]; export declare function hfInferenceWorkerRunFnSpecs(): readonly { readonly serves: readonly Capability[]; }[]; type CapabilityHints = Pick; /** * Heuristic capability inference for a HuggingFace Inference {@link ModelRecord}. * * HF Inference catalog items are HF Hub repo IDs (e.g. `mistralai/Mistral-7B-Instruct`, * `black-forest-labs/FLUX.1-dev`). Like HFT, declared capabilities (set by * model-search) win. Otherwise fall back to id patterns. */ export declare function inferHfInferenceCapabilities(model: CapabilityHints): readonly Capability[]; export {};