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<T>(projectionProcessor: ProjectionProcessor<T>, cancellation?: Cancellation): void;
}
//# sourceMappingURL=IProjections.d.ts.map