import type { NewMessage } from './core/types.js'; export interface AutomationRunnerDependencies { enqueueMessage: (chatJid: string, msg: NewMessage) => void; } export interface AutomationCompletionDependencies { sendMessage: (jid: string, text: string) => Promise; ensureNotificationThreadExists?: (targetJid: string, fallbackAgentId?: string) => void; now?: () => string; } export interface AutomationCompletionResult { suppressReply: boolean; outcome: 'succeeded' | 'failed'; detail: string; error: string | null; } export declare function shouldSuppressAutomationReply(sourceMessage: NewMessage, outcome: 'succeeded' | 'failed', detail: string): boolean; export declare function completeAutomationRun(deps: AutomationCompletionDependencies, sourceMessage: NewMessage, runChatJid: string, outcome: 'succeeded' | 'failed', detail: string): Promise; export declare function forceAutomationCheck(): void; export declare function startAutomationLoop(deps: AutomationRunnerDependencies): void; export declare function _resetAutomationLoopForTests(): void; //# sourceMappingURL=automation-runner.d.ts.map