UNPKG

@nomyx/assistant

Version:

A powerful assistant library and cli for your AI projects. works with Vertex AI (Claude and Gemini)

16 lines (15 loc) 626 B
import { StructuredPrompt } from './StructuredPrompt'; import { PromptDefinition } from '../types/common'; export declare class PromptRegistry { private prompts; register(prompt: StructuredPrompt): void; get(name: string): StructuredPrompt; getAllPrompts(): StructuredPrompt[]; getPromptNames(): string[]; removePrompt(name: string): boolean; clear(): void; size(): number; getPromptsSortedByPriority(): StructuredPrompt[]; getHighestPriorityPrompt(): StructuredPrompt | undefined; getPromptsByConfig(config: Partial<NonNullable<PromptDefinition['config']>>): StructuredPrompt[]; }