import 'reflect-metadata'; import { ChroniclePropertyDecorator } from '../../types/propertyDecoratorMetadata.js'; /** Metadata stored by the fromEvery property decorator. */ export interface FromEveryMetadata { /** The event or event context property name to read the value from. */ readonly property?: string; /** The event context property name to read the value from. */ readonly contextProperty?: string; } /** * Property decorator that sets the decorated read model property from a property present on every projected event. * @param property - Optional event property name. If not specified, uses the model property name. * @param contextProperty - Optional event context property name. * @returns A property decorator. */ export declare function fromEvery(property?: string, contextProperty?: string): ChroniclePropertyDecorator; /** * Retrieves fromEvery metadata stored on the given property. * @param target - The class prototype. * @param propertyKey - The property name. * @returns The fromEvery metadata, or undefined if not decorated. */ export declare function getFromEveryMetadata(target: object, propertyKey: string): FromEveryMetadata | undefined; //# sourceMappingURL=fromEvery.d.ts.map