@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
9 lines (8 loc) • 736 B
TypeScript
import type { AccountAllowlist } from "../types/index.js";
export declare const LEGACY_ANTHROPIC_ACCOUNT_KEY = "anthropic:legacy-default";
export declare const ENV_ANTHROPIC_ACCOUNT_KEY = "anthropic:env";
export declare function normalizeAnthropicAccountKey(value: string): string;
export declare function anthropicAccountKeysEqual(left: string, right: string): boolean;
export declare function createAccountAllowlist(values?: readonly string[]): AccountAllowlist | undefined;
export declare function isAccountAllowed(accountKey: string, allowlist?: AccountAllowlist): boolean;
export declare function shouldLoadFallbackCredential(storedAnthropicAccountCount: number, fallbackAccountKey: string, allowlist?: AccountAllowlist): boolean;