Files
vibn-api/dist/prompts/loader.d.ts
2026-05-17 12:43:53 -07:00

8 lines
367 B
TypeScript

export declare function registerPrompt(id: string, template: string): void;
/**
* Resolve a prompt template by ID, substituting {{variable}} placeholders.
* Missing variables are replaced with an empty string.
*/
export declare function resolvePrompt(id: string, variables?: Record<string, string>): string;
export declare function hasPrompt(id: string): boolean;