import { ICmsSDK } from '../core/sdk.type'; import { PromptCreatePayload, PromptTemplate, PromptUpdatePayload } from '../services/llm/llm.type'; /** * LLM prompt-template store — backs the dashboard "Skill" page (FEAT-002). * * Skills are managed through `/api/v1/llm/prompts` (NOT the generic content * endpoint — that path was retired in LT-13). A skill's on/off state lives on * its **linked `llm_agent` ContentRule** (`trigger.sourceConfig.promptName`), * not on the prompt; this store only mirrors the prompt catalog and CRUDs it. * * The list response omits `content` / `systemPrompt`; call `fetchDetail(name)` * before editing so the editor has the full template. */ export declare const useLlmStore: import('pinia').StoreDefinition<"cms-llm", Pick<{ prompts: import('vue').Ref<{ id?: string | number | undefined; name: string; version?: string | undefined; description?: string | undefined; variables?: string[] | undefined; model?: string | null | undefined; content?: string | undefined; systemPrompt?: string | undefined; }[], PromptTemplate[] | { id?: string | number | undefined; name: string; version?: string | undefined; description?: string | undefined; variables?: string[] | undefined; model?: string | null | undefined; content?: string | undefined; systemPrompt?: string | undefined; }[]>; isLoading: import('vue').Ref; loadError: import('vue').Ref; isEmpty: import('vue').ComputedRef; setSdk: (instance: ICmsSDK) => void; fetchPrompts: () => Promise; fetchDetail: (name: string) => Promise; create: (payload: PromptCreatePayload) => Promise; update: (name: string, payload: PromptUpdatePayload) => Promise; remove: (name: string) => Promise; }, "isLoading" | "loadError" | "prompts">, Pick<{ prompts: import('vue').Ref<{ id?: string | number | undefined; name: string; version?: string | undefined; description?: string | undefined; variables?: string[] | undefined; model?: string | null | undefined; content?: string | undefined; systemPrompt?: string | undefined; }[], PromptTemplate[] | { id?: string | number | undefined; name: string; version?: string | undefined; description?: string | undefined; variables?: string[] | undefined; model?: string | null | undefined; content?: string | undefined; systemPrompt?: string | undefined; }[]>; isLoading: import('vue').Ref; loadError: import('vue').Ref; isEmpty: import('vue').ComputedRef; setSdk: (instance: ICmsSDK) => void; fetchPrompts: () => Promise; fetchDetail: (name: string) => Promise; create: (payload: PromptCreatePayload) => Promise; update: (name: string, payload: PromptUpdatePayload) => Promise; remove: (name: string) => Promise; }, "isEmpty">, Pick<{ prompts: import('vue').Ref<{ id?: string | number | undefined; name: string; version?: string | undefined; description?: string | undefined; variables?: string[] | undefined; model?: string | null | undefined; content?: string | undefined; systemPrompt?: string | undefined; }[], PromptTemplate[] | { id?: string | number | undefined; name: string; version?: string | undefined; description?: string | undefined; variables?: string[] | undefined; model?: string | null | undefined; content?: string | undefined; systemPrompt?: string | undefined; }[]>; isLoading: import('vue').Ref; loadError: import('vue').Ref; isEmpty: import('vue').ComputedRef; setSdk: (instance: ICmsSDK) => void; fetchPrompts: () => Promise; fetchDetail: (name: string) => Promise; create: (payload: PromptCreatePayload) => Promise; update: (name: string, payload: PromptUpdatePayload) => Promise; remove: (name: string) => Promise; }, "create" | "update" | "remove" | "setSdk" | "fetchPrompts" | "fetchDetail">>; //# sourceMappingURL=llm.d.ts.map