import { Guid } from '@cratis/fundamentals'; import type { IEventImport } from './IEventImport.js'; import type { ImportOptions } from './ImportOptions.js'; import type { ImportTarget } from './ImportTarget.js'; /** * Begins a new import session, or reattaches to an existing one by its identifier. * @param target - The {@link ImportTarget}. * @param importIdOrOptions - The identifier of an import to reattach to, or the options for a new one. * @param options - The options, when reattaching. * @returns The {@link IEventImport}. * @throws {@link ImportsNotSupported} when the kernel does not serve imports. * @throws {@link ImportCouldNotBegin} when the kernel refuses the import, or the import to reattach to does not exist * or targets another event sequence. */ export declare function beginEventImport(target: ImportTarget, importIdOrOptions?: string | Guid | ImportOptions, options?: ImportOptions): Promise; //# sourceMappingURL=beginEventImport.d.ts.map