/** * Preset System * * Provides a registry of target presets for AgenShield. * Each preset defines how to detect, migrate, and run a specific application. */ import type { TargetPreset, PresetDetectionResult } from './types.js'; export * from './types.js'; export { openclawPreset } from './openclaw.js'; export { devHarnessPreset } from './dev-harness.js'; export { customPreset } from './custom.js'; /** * All available presets * Order matters: openclaw is preferred over dev-harness when both exist. * 'custom' is excluded from auto-detection by listAutoDetectablePresets(). */ export declare const PRESETS: Record; /** * Get preset by ID * * @param id - Preset identifier * @returns The preset or undefined if not found */ export declare function getPreset(id: string): TargetPreset | undefined; /** * List all available presets * * @returns Array of all presets */ export declare function listPresets(): TargetPreset[]; /** * List presets that can auto-detect (excludes 'custom') * * @returns Array of auto-detectable presets */ export declare function listAutoDetectablePresets(): TargetPreset[]; /** * Auto-detect which preset matches the current system * Returns the first matching preset found. * * @returns Object with preset and detection result, or null if none found */ export declare function autoDetectPreset(): Promise<{ preset: TargetPreset; detection: PresetDetectionResult; } | null>; /** * Format preset list for display * * @returns Formatted string showing available presets */ export declare function formatPresetList(): string; //# sourceMappingURL=index.d.ts.map