@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
6 lines (5 loc) • 509 B
TypeScript
import type { AccountCoolingReason, PersistedAccountCooldown } from "../types/index.js";
export declare function initAccountCooldown(cooldownFilePath: string): void;
export declare function loadAccountCooldowns(): Promise<Record<string, PersistedAccountCooldown>>;
export declare function saveAccountCooldown(accountKey: string, coolingUntil: number, reason: AccountCoolingReason): Promise<void>;
export declare function clearAccountCooldown(accountKey: string, expectedCoolingUntil?: number): Promise<void>;