import { OutputMatchMode, OutputPatternLogic, QuickAutomationRule } from './types'; export type AutomationRuleOutcome = 'match' | 'error' | 'timeout' | 'stopped'; export type AutomationRuleControl = 'continue' | 'skipLineRules' | 'stop'; export interface OutputMatch { matched: boolean; text: string; } export declare function normalizeTerminalOutput(output: string): string; export declare function findOutputMatch(output: string, pattern: string, mode: OutputMatchMode, logic?: OutputPatternLogic): OutputMatch; export declare function isValidOutputPattern(pattern: string, mode: OutputMatchMode, logic?: OutputPatternLogic): boolean; export declare function resolveAutomationRuleControl(rule: QuickAutomationRule, outcome: AutomationRuleOutcome): AutomationRuleControl;