/** * @license * Copyright 2026 Steven Roussey * SPDX-License-Identifier: Apache-2.0 */ /** * Closed vocabulary of all recognized AI capability identifiers. * Use `Capability` (the derived key type) to constrain function parameters and * model registration so that unknown strings are rejected at compile time. */ export declare const CAPABILITIES: { readonly "text.generation": "Free-form text completion / chat"; readonly "text.embedding": "Text → vector"; readonly "text.classification": "Single-label / multi-label text classification"; readonly "text.translation": "Source → target language"; readonly "text.summary": "Long → short text"; readonly "text.rewriter": "Style / tone rewrite"; readonly "text.question-answering": "Extractive / abstractive QA"; readonly "text.fill-mask": "Masked language modeling"; readonly "text.ner": "Named entity recognition"; readonly "text.language-detection": "Detect input language"; readonly "text.reranking": "Score query/document pairs"; readonly "image.generation": "Text → image"; readonly "image.editing": "Image + prompt → image"; readonly "image.classification": "Image → label(s)"; readonly "image.embedding": "Image → vector"; readonly "image.segmentation": "Image → mask(s)"; readonly "image.object-detection": "Image → bounding boxes + labels"; readonly "image.background-removal": "Image → foreground mask"; readonly "image.to-text": "Image → caption"; readonly "vision.face-detection": "Faces in an image"; readonly "vision.face-landmarks": "Facial keypoints"; readonly "vision.hand-landmarks": "Hand keypoints"; readonly "vision.pose-landmarks": "Body pose keypoints"; readonly "vision.gesture": "Hand gesture recognition"; readonly "tool-use": "Function/tool calling — emit structured tool invocations from input text"; readonly "json-mode": "Structured-output JSON conformance — emit JSON matching a schema"; readonly "vision-input": "Accepts image inputs alongside text"; readonly "model.search": "Search this provider's catalog"; readonly "model.info": "Fetch metadata about a specific model"; readonly "model.count-tokens": "Tokenize input for cost / context calculation"; readonly "model.download-remove": "Uncache a model's weights from cache and disk"; readonly "model.download": "Fetch / cache a model's weights locally (lifecycle)"; readonly "model.dispose": "Dispose model-resident resources in memory"; }; export type Capability = keyof typeof CAPABILITIES; //# sourceMappingURL=Capabilities.d.ts.map