import type { MAMAConfig } from '../cli/config/types.js'; import type { NormalizedMessage } from '../gateways/types.js'; import type { DestinationRef, Envelope, MemoryScope, ProjectRef } from './types.js'; export type EnvLike = Record; export interface ReactiveEnvelopeConfig { projectRefsFor(message: NormalizedMessage): ProjectRef[]; rawConnectorsFor(message: NormalizedMessage): string[]; memoryScopesFor(message: NormalizedMessage): MemoryScope[]; sourceFor?(message: NormalizedMessage): Envelope['source']; allowedDestinationsFor?(message: NormalizedMessage): DestinationRef[]; reactiveBudgetSeconds: number; } export interface ReactiveRoutePolicy { source: Envelope['source']; projectRefs: ProjectRef[]; rawConnectors: string[]; memoryScopes: MemoryScope[]; allowedDestinations: DestinationRef[]; reactiveBudgetSeconds: number; } export declare function resolveReactiveProjectRoot(config: MAMAConfig, env?: EnvLike): string; export declare function getReactiveRoutePolicy(message: NormalizedMessage, config: MAMAConfig | ReactiveEnvelopeConfig, env?: EnvLike): ReactiveRoutePolicy; export declare function createDefaultReactiveEnvelopeConfig(config: MAMAConfig, env?: EnvLike): ReactiveEnvelopeConfig; //# sourceMappingURL=reactive-config.d.ts.map