import type { EventForEventSourceId } from '../eventSequences/EventForEventSourceId.js'; import type { ImportOptions } from './ImportOptions.js'; import type { ImportResult } from './ImportResult.js'; import type { ImportTarget } from './ImportTarget.js'; /** * Imports events in one call: begins an import, adds the events as they are read, and completes it. * @param target - The {@link ImportTarget}. * @param events - The events, in the order they are to be committed. They are read lazily, as they are uploaded. * @param options - The {@link ImportOptions}. * @returns The {@link ImportResult}. */ export declare function importEvents(target: ImportTarget, events: AsyncIterable | Iterable, options?: ImportOptions): Promise; //# sourceMappingURL=importEvents.d.ts.map