@juspay/neurolink
Version:
Universal AI Development Platform with working MCP integration, multi-provider support, voice (TTS/STT/realtime), and professional CLI. 58+ external MCP servers discoverable, multimodal file processing, RAG pipelines. Build, test, and deploy AI applicatio
18 lines (17 loc) • 823 B
TypeScript
/**
* Dynamic Arguments Runtime Utilities
*
* Provides type guard functions for dynamic argument resolution.
* Type definitions live in src/lib/types/dynamic.ts (canonical location).
*
* @module dynamic/resolution
*/
import type { DynamicArgument, DynamicResolutionContext } from "../types/index.js";
/**
* Type guard to check if a value is a DynamicArgument function
*/
export declare function isDynamicFunction<T>(value: DynamicArgument<T>): value is (() => T) | (() => Promise<T>) | ((context: DynamicResolutionContext) => T) | ((context: DynamicResolutionContext) => Promise<T>);
/**
* Type guard to check if a function expects context
*/
export declare function isContextAwareFunction<T>(fn: Function): fn is ((context: DynamicResolutionContext) => T) | ((context: DynamicResolutionContext) => Promise<T>);