/** * Dynamic Loop Prompt Generator for Vigil * * Generates unique, context-aware prompts for the /loop auto-prompt mode. * DeepSeek V4 Pro is the PRIMARY prompt source — Vigil self-prompts optimally * each iteration, removing the need for manual prompting. Falls back to a rich * static rotation across all 5 domains only when the API is unavailable. * * Every iteration produces a truly unique prompt — no two runs are ever identical. */ export type LoopDomain = 'general-coding' | 'security' | 'offensive' | 'attack' | 'cybersecurity' | 'exploit-chaining'; export interface DynamicLoopConfig { iteration: number; domain?: LoopDomain; phaseIndex?: number; useAI?: boolean; } /** * Pre-generate the next iteration's prompt in the background. * Call this AFTER the current iteration fires so the next one * has an AI-generated prompt ready. */ export declare function preGenerateNextPrompt(iteration: number): Promise; /** * Generate a unique, context-aware prompt for a loop iteration. * Attempts DeepSeek API first; falls back to static rotation. * Uses pre-generated cache when available. */ export declare function generateDynamicLoopPrompt(config: DynamicLoopConfig): Promise; /** * Synchronous static fallback — used when async generation is not possible. */ export declare function generateStaticLoopPrompt(iteration: number): string; /** * Get the total number of unique phase combinations across all domains. */ export declare function getTotalPhaseCount(): number; /** * Get the domain and phase for a given iteration. */ export declare function getIterationDomainAndPhase(iteration: number): { domain: LoopDomain; phase: string; }; /** * Check if the DeepSeek API is currently available for prompt generation. */ export declare function isApiAvailable(): boolean | null; /** * Clear the prompt cache and reset API availability. */ export declare function resetLoopState(): void; //# sourceMappingURL=dynamicLoopPrompt.d.ts.map