import { Cancellation } from '@dolittle/sdk.resilience'; import { ProjectionProcessor } from './Internal/ProjectionProcessor'; /** * Defines the system for projections. */ export declare abstract class IProjections { /** * Register a a projection. * @template T Type of the readmodel. * @param {ProjectionProcessor} projectionProcessor - Projection processor to register. * @param {Cancellation} cancellation - Used to close the connection to the Runtime. */ abstract register(projectionProcessor: ProjectionProcessor, cancellation?: Cancellation): void; } //# sourceMappingURL=IProjections.d.ts.map