UNPKG

@juspay/neurolink

Version:

The pipe layer of an AI nervous system: one interface connecting provider neurons to your application, across three inference types — generate, stream and decide. `decide` returns typed, calibrated judgements from a non-generative model (~400ms, ~$0.00002

19 lines (18 loc) • 1.04 kB
import type { MediaHandlerDescriptor, MediaHandlerKind } from "../types/index.js"; /** * Static catalog of every shipped media-handler provider, across all six * ecosystems (TTS, STT, Realtime, Video, Avatar, Music). Pure data — no * factory functions, no class imports — mirroring the * src/lib/factories/providerDescriptors.ts pattern for text/image * providers. * * Entries mirror providerRegistry.ts's hand-constructed TTS/STT/Realtime/ * Video/Avatar/Music registration blocks (registerAllProviders()) exactly — * this file states today's truth, not an aspirational shape. Keep it in * sync if those blocks change. */ export declare const MEDIA_HANDLER_CATALOG: readonly MediaHandlerDescriptor[]; /** Every selectable provider name for `kind`, primaries and aliases both. */ export declare function providerChoicesFor(kind: MediaHandlerKind): string[]; /** The first-listed primary provider name for `kind` — used as a fallback default. */ export declare function defaultProviderFor(kind: MediaHandlerKind): string;