UNPKG

@toolplex/client

Version:

The official ToolPlex client for AI agent tool discovery and execution

26 lines (25 loc) 566 B
export declare class PromptsCache { private _prompts; private _version; constructor(); /** * Initialize prompts cache with prompts from init response */ init(prompts: Record<string, string>): void; /** * Get a specific prompt by key from the cache */ getPrompt(key: string): string; /** * Get the version of the current prompts */ getVersion(): string; /** * Check if the cache is initialized */ isInitialized(): boolean; /** * Reset the cache */ reset(): void; }