/** * Persona configuration loader * * Loads persona prompts with user → builtin fallback: * 1. User personas: ~/.takt/personas/*.md * 2. Builtin personas: builtins/{lang}/facets/personas/*.md */ import type { CustomAgentConfig } from '../../../core/models/index.js'; export declare function validatePersonaPromptPath(personaPath: string, cwd: string, workflowBundleResourceRoot?: string): void; /** Load agents from markdown files in a directory */ export declare function loadAgentsFromDir(dirPath: string): CustomAgentConfig[]; /** Load all custom agents from ~/.takt/personas/ */ export declare function loadCustomAgents(): Map; /** List available custom agents */ export declare function listCustomAgents(): string[]; /** Load agent prompt content. */ export declare function loadAgentPrompt(agent: CustomAgentConfig, cwd: string): string; /** Load persona prompt from a resolved path. */ export declare function loadPersonaPromptFromPath(personaPath: string, cwd: string, workflowBundleResourceRoot?: string): string; //# sourceMappingURL=agentLoader.d.ts.map