import type { ImportEvent } from '@cratis/chronicle.contracts'; import type { IEventSources } from '../eventSources/IEventSources.js'; import type { EventForEventSourceId } from '../eventSequences/EventForEventSourceId.js'; /** * Converts an event to the form an import sends it in, keeping everything the event says about its source. * @param event - The {@link EventForEventSourceId}. * @param eventSources - The registered event sources, for events routed through a definition. * @returns The {@link ImportEvent}. * @remarks * What the event does not say is left for the kernel to resolve: an omitted occurrence time, subject, route or * correlation is not filled in from the importing process. */ export declare function toImportEvent(event: EventForEventSourceId, eventSources?: IEventSources): ImportEvent; //# sourceMappingURL=toImportEvent.d.ts.map