/** * @license * Copyright 2025 Steven Roussey * SPDX-License-Identifier: Apache-2.0 */ import type { Capability } from "../capability/Capabilities"; /** Convert an app task type to its primary HuggingFace pipeline name. */ export declare function taskTypeToPipeline(taskType: string): string | undefined; /** Convert an app task type to all matching HuggingFace pipeline names. */ export declare function taskTypeToPipelines(taskType: string): string[]; /** Reverse lookup: given a HuggingFace pipeline name, return all matching app task types. */ export declare function pipelineToTaskTypes(pipeline: string): string[]; /** * Map a HuggingFace `pipeline_tag` to canonical {@link Capability} ids. * Returns an empty array for unknown pipelines (model-search consumers should * fall back to the provider's heuristic `inferCapabilities` in that case). */ export declare function pipelineToCapabilities(pipeline: string): readonly Capability[]; /** Normalize HuggingFace Hub pipeline tags to pipeline names accepted by Transformers.js. */ export declare function normalizeTransformersJsPipeline(pipeline: string): string; //# sourceMappingURL=PipelineTaskMapping.d.ts.map