import type { Guid } from '@cratis/fundamentals'; import type { EventForEventSourceId } from '../eventSequences/EventForEventSourceId.js'; import type { EventImportSettings } from './EventImportSettings.js'; import type { IEventImport } from './IEventImport.js'; import type { ImportProgress } from './ImportProgress.js'; import type { ImportResult } from './ImportResult.js'; /** * Represents an implementation of {@link IEventImport} that cuts events into chunks within the kernel's limits and * keeps a bounded number of them in flight. */ export declare class EventImport implements IEventImport { #private; readonly importId: Guid; readonly eventsAcknowledged: number; /** * Creates a new {@link EventImport}. * @param settings - The {@link EventImportSettings}. */ constructor(settings: EventImportSettings); /** @inheritdoc */ progress(signal?: AbortSignal): AsyncIterable; /** @inheritdoc */ add(events: AsyncIterable | Iterable, signal?: AbortSignal): Promise; /** @inheritdoc */ complete(signal?: AbortSignal): Promise; /** @inheritdoc */ abandon(signal?: AbortSignal): Promise; } //# sourceMappingURL=EventImport.d.ts.map