import 'reflect-metadata'; import { ChroniclePropertyDecorator } from '../../types/propertyDecoratorMetadata.js'; /** Metadata stored by the setValue property decorator. */ export interface SetValueMetadata { /** The event constructor that triggers the value assignment. */ readonly eventType: Function; /** The constant value to assign to the property when the event occurs. */ readonly value: unknown; } /** * Property decorator that sets the decorated read model property to a constant value when the specified event occurs. * @param eventType - The event constructor. * @param value - The constant value to assign. * @returns A property decorator. */ export declare function setValue(eventType: Function, value: unknown): ChroniclePropertyDecorator; /** * Retrieves all setValue metadata stored on the given property. * @param target - The class prototype. * @param propertyKey - The property name. * @returns An array of setValue metadata entries. */ export declare function getSetValueMetadata(target: object, propertyKey: string): SetValueMetadata[]; //# sourceMappingURL=setValue.d.ts.map