export declare type ConstructorOrObject = T; export declare type IndexOrTypedPropertyDescriptor = TypedPropertyDescriptor | number; export declare type AnyDescriptorReturn = T extends Function ? T : TypedPropertyDescriptor; export declare type AnyDecorator = (target: ConstructorOrObject, propertyKey?: PropertyKey, descriptorOrIndex?: IndexOrTypedPropertyDescriptor) => AnyDescriptorReturn | void; export declare const DecoratorType: { classDecorator: string; methodDecorator: string; propertyDecorator: string; parameterDecorator: string; }; export declare function nameOfDecorator(target: ConstructorOrObject, propertyKey?: PropertyKey, descriptorOrIndex?: IndexOrTypedPropertyDescriptor): { decoratorType: string; returnVal: AnyDescriptorReturn | undefined; }; //# sourceMappingURL=util.d.ts.map