import { Decorators } from '@dolittle/sdk.common'; import { Constructor } from '@dolittle/types'; import { Conversion } from '../../Copies/MongoDB/Conversion'; import { MongoDBConversionDecoratedProperty } from './MongoDBConversionDecoratedProperty'; /** * Decorator for specifying conversions to be applied when producing read model copies to MongoDB. * @param {Conversion} conversion - The conversion to apply for the decorated property. * @returns {Decorators.Decorator} The decorator. */ export declare function convertToMongoDB(conversion: Conversion): Decorators.Decorator; /** * Gets the MongoDB conversion decorated projection properties of the specified class. * @param {Constructor} type - The class to get the MongoDB conversion decorated projection properties for. * @returns {MongoDBConversionDecoratedProperty[]} The MongoDB conversion decorated projection properties. */ export declare function getConvertToMongoDBDecoratedProperties(type: Constructor): MongoDBConversionDecoratedProperty[]; //# sourceMappingURL=convertToMongoDBDecorator.d.ts.map