import type { AutomationConfig, AutomationGuardrailContext, LoadedAutomation } from './types.js'; /** Resolve a script path from a name or path */ export declare function resolveScriptPath(nameOrPath: string): string; /** Resolve a bundled example by name */ export declare function resolveExamplePath(name: string): string; /** List bundled example automations */ export declare function listExamples(): Array<{ name: string; path: string; }>; /** Load config metadata from all bundled examples */ export declare function loadExampleConfigs(): Promise>; /** Load an automation module and validate its factory plus required guardrails export. */ export declare function loadAutomation(scriptPath: string, context?: AutomationGuardrailContext): Promise; /** List available automation scripts in ~/.openbroker/automations/ */ export declare function listAutomations(): Array<{ name: string; path: string; }>; /** Ensure the automations directory exists */ export declare function ensureAutomationsDir(): void; //# sourceMappingURL=loader.d.ts.map