import type { EventEnvelope } from './types.js'; export declare function getEventByDedupeKey(dedupeKey: string): EventEnvelope | null; export declare function insertEvent(event: EventEnvelope): boolean; export declare function isEventRouted(eventId: string): boolean; export declare function markEventRouted(eventId: string, routedAt: string): void; export declare function listEvents(input?: { limit?: number; type?: string; }): EventEnvelope[];