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

16 lines (15 loc) • 353 B
import type { FrameBus } from "./frameBus.js"; export declare enum TurnState { IDLE = 0, USER_SPEAKING = 1, PROCESSING = 2, ASSISTANT_SPEAKING = 3 } export declare class TurnManager { state: TurnState; constructor(bus: FrameBus); private onVadStart; private onVadStop; assistantSpeaking(): void; reset(): void; }