import type { EventsToObserve, ReduceOperationMessage } from '@cratis/chronicle.contracts'; import { BatchContext } from './BatchContext.js'; import type { BatchContextObserver } from './BatchContextObserver.js'; import type { DeliveredPartition } from './DeliveredPartition.js'; /** * Creates the {@link BatchContext} describing a delivered page. * @param observer - The observer the page is delivered to. * @param message - The delivered message. * @param partitions - The partitions of the delivery. * @returns The {@link BatchContext}. */ export declare function createBatchContext(observer: BatchContextObserver, message: EventsToObserve | ReduceOperationMessage, partitions: readonly DeliveredPartition[]): BatchContext; //# sourceMappingURL=createBatchContext.d.ts.map