import type { GetPromptResult } from "@modelcontextprotocol/client"; export interface CatalogPrompt { server: string; identity: string; name: string; title?: string; description: string; arguments: { name: string; description: string; required: boolean; }[]; } export declare function preparePrompt(server: string, identity: string, value: unknown): CatalogPrompt; export declare function validPromptArguments(prompt: CatalogPrompt, args: Record): boolean; /** Quoted command tokens, never shell interpolation. */ export declare function promptCommand(prompt: Pick): string; export interface PromptSnapshot { body: string; preview: string; count: number; usable: boolean; } /** Keep message roles as data, not synthetic conversation turns. Never dereference links. */ export declare function preparePromptSnapshot(result: GetPromptResult, server: string): PromptSnapshot;