temp
This commit is contained in:
7
dist/prompts/loader.d.ts
vendored
Normal file
7
dist/prompts/loader.d.ts
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user