@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
20 lines (19 loc) • 785 B
TypeScript
/**
* LiveKit join-token minting.
*
* Mints a short-lived JWT a browser uses to join a room. The token is signed
* locally with the LiveKit API key/secret — no network call and no room
* pre-creation (rooms are auto-created on first join).
*
* `livekit-server-sdk` is an optional dependency and is imported dynamically so
* the core package does not require it unless the LiveKit voice agent is used.
*
*/
import type { LiveKitTokenRequest } from "../../types/index.js";
/**
* Mint a LiveKit join token for an authenticated participant.
*
* Grants `roomJoin` plus publish/subscribe for the named room. The room is
* created automatically by LiveKit when the first participant joins.
*/
export declare function mintJoinToken(req: LiveKitTokenRequest): Promise<string>;