import type { EventEnvelope } from '../events/types.js'; import type { EventCondition, ScenarioRoute } from './types.js'; export declare function matchesCondition(event: EventEnvelope, condition: EventCondition): boolean; export declare function aggregationKey(event: EventEnvelope, route: ScenarioRoute): string | null; export declare function matchScenario(event: EventEnvelope, route: ScenarioRoute): string | null;