8 lines
367 B
TypeScript
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;
|