import { z } from "zod"; /** * Unified Prompt Hierarchy Tool * * Consolidates prompt hierarchy tools into a single interface with mode-based routing: * - 'build': Create structured hierarchical prompts (context → goal → requirements) * - 'select': (Deprecated) Alias for 'select-level', use 'select-level' instead * - 'select-level': Recommend optimal hierarchy level based on task and agent characteristics * - 'evaluate': Score and analyze existing prompts against hierarchy criteria * - 'chain': Build sequential prompt chains with dependencies * - 'flow': Build declarative prompt flows with branching and parallelism * - 'quick': Generate quick developer prompts from the Best of 25 bundle * * This tool provides a unified API for all prompt hierarchy operations while maintaining * backward compatibility with existing tool implementations. */ export declare const promptHierarchySchema: z.ZodObject<{ mode: z.ZodEnum<["build", "select", "select-level", "evaluate", "chain", "flow", "quick"]>; context: z.ZodOptional; goal: z.ZodOptional; requirements: z.ZodOptional>; outputFormat: z.ZodOptional; audience: z.ZodOptional; taskDescription: z.ZodOptional; agentCapability: z.ZodOptional>; taskComplexity: z.ZodOptional>; autonomyPreference: z.ZodOptional>; promptText: z.ZodOptional; targetLevel: z.ZodOptional>; chainName: z.ZodOptional; steps: z.ZodOptional; prompt: z.ZodString; outputKey: z.ZodOptional; dependencies: z.ZodOptional>; errorHandling: z.ZodOptional>; }, "strip", z.ZodTypeAny, { name: string; prompt: string; description?: string | undefined; dependencies?: string[] | undefined; outputKey?: string | undefined; errorHandling?: "skip" | "retry" | "abort" | undefined; }, { name: string; prompt: string; description?: string | undefined; dependencies?: string[] | undefined; outputKey?: string | undefined; errorHandling?: "skip" | "retry" | "abort" | undefined; }>, "many">>; executionStrategy: z.ZodOptional>; flowName: z.ZodOptional; nodes: z.ZodOptional; name: z.ZodString; description: z.ZodOptional; config: z.ZodOptional>; }, "strip", z.ZodTypeAny, { type: "prompt" | "condition" | "loop" | "parallel" | "merge" | "transform"; name: string; id: string; description?: string | undefined; config?: Record | undefined; }, { type: "prompt" | "condition" | "loop" | "parallel" | "merge" | "transform"; name: string; id: string; description?: string | undefined; config?: Record | undefined; }>, "many">>; edges: z.ZodOptional; }, "strip", z.ZodTypeAny, { from: string; to: string; condition?: string | undefined; }, { from: string; to: string; condition?: string | undefined; }>, "many">>; entryPoint: z.ZodOptional; category: z.ZodOptional>; includeExamples: z.ZodOptional; includeReferences: z.ZodOptional; includeRecommendations: z.ZodOptional; includeMetadata: z.ZodOptional; includeFrontmatter: z.ZodOptional; includeDisclaimer: z.ZodOptional; includeVisualization: z.ZodOptional; includeExecutionGuide: z.ZodOptional; }, "strip", z.ZodTypeAny, { mode: "select" | "flow" | "evaluate" | "build" | "select-level" | "chain" | "quick"; context?: string | undefined; includeFrontmatter?: boolean | undefined; includeReferences?: boolean | undefined; includeMetadata?: boolean | undefined; goal?: string | undefined; requirements?: string[] | undefined; outputFormat?: string | undefined; audience?: string | undefined; includeDisclaimer?: boolean | undefined; chainName?: string | undefined; steps?: { name: string; prompt: string; description?: string | undefined; dependencies?: string[] | undefined; outputKey?: string | undefined; errorHandling?: "skip" | "retry" | "abort" | undefined; }[] | undefined; flowName?: string | undefined; nodes?: { type: "prompt" | "condition" | "loop" | "parallel" | "merge" | "transform"; name: string; id: string; description?: string | undefined; config?: Record | undefined; }[] | undefined; category?: "documentation" | "testing" | "all" | "code-quality" | "devops" | "strategy-planning" | undefined; includeExamples?: boolean | undefined; taskDescription?: string | undefined; promptText?: string | undefined; targetLevel?: "independent" | "scaffolding" | "modeling" | "indirect" | "direct" | "full-physical" | undefined; includeRecommendations?: boolean | undefined; agentCapability?: "advanced" | "novice" | "intermediate" | "expert" | undefined; taskComplexity?: "moderate" | "simple" | "complex" | "very-complex" | undefined; autonomyPreference?: "low" | "medium" | "high" | undefined; includeVisualization?: boolean | undefined; executionStrategy?: "sequential" | "parallel-where-possible" | undefined; edges?: { from: string; to: string; condition?: string | undefined; }[] | undefined; entryPoint?: string | undefined; includeExecutionGuide?: boolean | undefined; }, { mode: "select" | "flow" | "evaluate" | "build" | "select-level" | "chain" | "quick"; context?: string | undefined; includeFrontmatter?: boolean | undefined; includeReferences?: boolean | undefined; includeMetadata?: boolean | undefined; goal?: string | undefined; requirements?: string[] | undefined; outputFormat?: string | undefined; audience?: string | undefined; includeDisclaimer?: boolean | undefined; chainName?: string | undefined; steps?: { name: string; prompt: string; description?: string | undefined; dependencies?: string[] | undefined; outputKey?: string | undefined; errorHandling?: "skip" | "retry" | "abort" | undefined; }[] | undefined; flowName?: string | undefined; nodes?: { type: "prompt" | "condition" | "loop" | "parallel" | "merge" | "transform"; name: string; id: string; description?: string | undefined; config?: Record | undefined; }[] | undefined; category?: "documentation" | "testing" | "all" | "code-quality" | "devops" | "strategy-planning" | undefined; includeExamples?: boolean | undefined; taskDescription?: string | undefined; promptText?: string | undefined; targetLevel?: "independent" | "scaffolding" | "modeling" | "indirect" | "direct" | "full-physical" | undefined; includeRecommendations?: boolean | undefined; agentCapability?: "advanced" | "novice" | "intermediate" | "expert" | undefined; taskComplexity?: "moderate" | "simple" | "complex" | "very-complex" | undefined; autonomyPreference?: "low" | "medium" | "high" | undefined; includeVisualization?: boolean | undefined; executionStrategy?: "sequential" | "parallel-where-possible" | undefined; edges?: { from: string; to: string; condition?: string | undefined; }[] | undefined; entryPoint?: string | undefined; includeExecutionGuide?: boolean | undefined; }>; export type PromptHierarchyInput = z.infer; /** * Unified prompt hierarchy tool handler * Routes to appropriate sub-tool based on mode parameter */ export declare function promptHierarchy(args: unknown): Promise<{ mode: "select" | "flow" | "evaluate" | "build" | "select-level" | "chain" | "quick"; prompt: string; metadata: { source: string; }; content?: Array<{ type: string; text: string; }>; }>; //# sourceMappingURL=prompt-hierarchy.d.ts.map