/** * Convert an integration field name to UPPER_SNAKE_CASE for env var injection. * - UPPER_SNAKE_CASE already (e.g. "API_KEY", "BOT_TOKEN") → kept as-is * - camelCase / PascalCase (e.g. "apiKey", "ChatId") → UPPER_SNAKE_CASE * - mixed (e.g. "my_apiKey") → upper-snake with boundaries inserted */ export declare function toUpperSnake(field: string): string; export declare function isRunning(agentId: string): boolean; export declare function startAgent(agentId: string, trigger: 'cron' | 'manual' | 'assignment' | 'api'): Promise; export declare function stopAgent(agentId: string): boolean; /** * On startup, mark any stale "running" runs as "error" (orphan detection). */ export declare function cleanupOrphanRuns(): string[]; export declare function getRunningAgents(): string[];