/** * @license * Copyright 2026 Steven Roussey * SPDX-License-Identifier: Apache-2.0 */ /** * Single source of truth for HuggingFace Inference's capability sets. * * Both `HFI_RUN_FNS` (worker-side registration) and `workerRunFnSpecs()` * (main-thread proxy declaration) derive their `serves` arrays from these * named exports. SDK-free so the main thread can import without paying the * `@huggingface/inference` cost. */ export declare const HFI_TEXT_GENERATION: ["text.generation"]; export declare const HFI_TOOL_USE: ["text.generation", "tool-use"]; export declare const HFI_TEXT_REWRITER: ["text.rewriter"]; export declare const HFI_TEXT_SUMMARY: ["text.summary"]; export declare const HFI_TEXT_EMBEDDING: ["text.embedding"]; export declare const HFI_IMAGE_GENERATION: ["image.generation"]; export declare const HFI_IMAGE_EDITING: ["image.editing"]; export declare const HFI_MODEL_SEARCH: ["model.search"]; export declare const HFI_MODEL_INFO: ["model.info"]; /** Aggregated list — for `workerRunFnSpecs()` derivation. Order MUST match `HFI_RUN_FNS`. */ export declare const HFI_CAPABILITY_SETS: readonly [["text.generation"], ["text.generation", "tool-use"], ["text.rewriter"], ["text.summary"], ["text.embedding"], ["image.generation"], ["image.editing"], ["model.search"], ["model.info"]];