import 'reflect-metadata'; import type { EntityMeta, EntityOptions, FieldOptions, HookEvent, RelationOptions, Type } from '../../type/index.js'; export declare function defineField(entity: Type, key: string, opts?: FieldOptions): EntityMeta; export declare function defineId(entity: Type, key: string, opts: FieldOptions): EntityMeta; export declare function defineRelation(entity: Type, key: string, opts: RelationOptions): EntityMeta; export declare function defineEntity(entity: Type, opts?: EntityOptions): EntityMeta; export declare function getEntities(): Type[]; export declare function defineHook(entity: Type, methodName: string, event: HookEvent): EntityMeta; export declare function getMeta(entity: Type): EntityMeta; export declare function isValidEntityType(type: unknown): type is Type; //# sourceMappingURL=definition.d.ts.map