import type { AutomationEventEnvelope } from '../automations/domain/types.js'; import type { ProactiveMatchPredicates, ProactiveSubscription } from './types.js'; /** Wildcard pattern matcher supporting exact strings, `*`, `prefix*`, and `*suffix`. */ export declare function matchesProactivePattern(pattern: string, value: string): boolean; export declare function isLikelyAutomatedNoiseEvent(event: AutomationEventEnvelope): boolean; export declare function evaluateMatchPredicates(predicates: ProactiveMatchPredicates, event: AutomationEventEnvelope): boolean; export declare function selectMatchingSubscription(subscriptions: readonly ProactiveSubscription[], event: AutomationEventEnvelope, projectId?: string): ProactiveSubscription | undefined; export declare function computeCoalesceKey(event: AutomationEventEnvelope, projectId?: string): string; export declare function computeSignalFingerprint(event: AutomationEventEnvelope): string; /** * Wraps external event payloads inside an explicit untrusted boundary so downstream * classifiers and Read-Only Scouts never treat third-party text as instructions. */ export declare function formatUntrustedSignalEnvelope(input: { source: string; eventType: string; trust: AutomationEventEnvelope['trust']; coalescedCount: number; payload: Record; }): string;