import type { Config } from '../config.js'; import type { Directus } from '../directus.js'; import type { Schema } from '../types/schema.js'; export interface PromptItem { id: string; name: string; description: string; systemPrompt: string; messages: Array<{ role: 'user' | 'assistant'; text: string; }>; } export interface McpPrompt { name: string; description: string; arguments: Array<{ name: string; description: string; required: boolean; }>; } /** * Fetches prompts from the Directus collection specified in the config * @param directus - The Directus client * @param config - The application config * @returns A map of prompt name to MCP prompt definition */ export declare function fetchPrompts(directus: Directus, config: Config, schema: Schema): Promise>; /** * Fetches a specific prompt by name from Directus * @param directus - The Directus client * @param config - The application config * @param promptName - The name of the prompt to fetch * @returns The prompt item if found, undefined otherwise */ export declare function fetchPromptByName(directus: Directus, config: Config, promptName: string): Promise;