/** * Workflow Presets for Ralph Loop * Pre-configured settings for common development scenarios */ export interface PresetConfig { name: string; description: string; maxIterations: number; validate: boolean; commit: boolean; completionPromise?: string; promptPrefix?: string; rateLimit?: number; circuitBreaker?: { maxConsecutiveFailures: number; maxSameErrorCount: number; }; } export declare const PRESETS: Record; /** * Load custom presets from .ralph/presets/*.json in the given directory. * Each JSON file should match the PresetConfig shape (name is derived from filename if missing). */ export declare function loadCustomPresets(cwd: string): Record; /** * Get a preset by name. Checks custom presets (from cwd) first, then built-in presets. */ export declare function getPreset(name: string, cwd?: string): PresetConfig | undefined; /** * Get all available preset names (built-in + custom from cwd). */ export declare function getPresetNames(cwd?: string): string[]; /** * Get presets grouped by category */ export declare function getPresetsByCategory(cwd?: string): Record; /** * Format presets for CLI help */ export declare function formatPresetsHelp(cwd?: string): string; //# sourceMappingURL=index.d.ts.map