import 'reflect-metadata'; import type { IndexDefinition } from '@cratis/chronicle.contracts'; import { ChroniclePropertyDecorator } from '../types/propertyDecoratorMetadata.js'; /** * Marks a read-model property for a single ascending, non-unique index. * Indexed fields on nested objects or typed collections use dotted property paths. * @returns A property decorator. */ export declare function index(): ChroniclePropertyDecorator; /** * Collects the indexed paths of a read model, including nested objects and typed collections. * @param type - The read-model type to inspect. * @returns Index definitions with property paths for the read model. */ export declare function getIndexesForType(type: Function): IndexDefinition[]; //# sourceMappingURL=indexDecorator.d.ts.map