import { DefaultPromptStore } from '../storage/prompt-store.js'; import { PromptUsageStore } from '../storage/prompt-usage-store.js'; import type { PromptLoader } from '../types/prompt.js'; import type { WstackPaths } from '../utils/wstack-paths.js'; import type { Plugin } from '../types/plugin.js'; interface PromptsPluginOptions { store?: DefaultPromptStore | undefined; loader?: PromptLoader | undefined; usage?: PromptUsageStore | undefined; paths?: WstackPaths | undefined; } /** * PromptsPlugin — built-in prompt library. * * Registers three slash commands: * - `/prompts` manage your library (list/view/add/edit/delete/favorite/extend) * - `/prompt` search the merged library (builtin + user + project) and insert * - `/prompt-gen` AI-guided authoring of a new high-quality prompt * * Active by default for all WrongStack sessions. The host injects a * `PromptLoader` (cross-layer read + copy-on-write) via `config.promptLoader`; * without one the commands degrade to the writable user store only. */ export declare function createPromptsPlugin(opts?: PromptsPluginOptions): Plugin; export {}; //# sourceMappingURL=prompts-plugin.d.ts.map