import 'reflect-metadata'; import type { TypedPropertyDecorator, Ctor } from '../types.js'; /** Decorators for metadata purposes. */ export declare abstract class Metadata { /** * Associates a display name with the member to which it is applied. * @param val The name. */ static readonly displayName: (val: string) => { (target: Function): void; (target: Object, propertyKey: string | symbol): void; }; /** * Associates a description with the member to which it is applied. * @param val The description. */ static readonly description: (val: string) => { (target: Function): void; (target: Object, propertyKey: string | symbol): void; }; /** * Associates a format function with the member to which it is applied. * @param fn The format function. */ static readonly format: (fn: (val: T) => string) => TypedPropertyDecorator; /** Associates a child's prototype data on the parent in which it appears. */ static readonly model: (ctor: Ctor) => TypedPropertyDecorator; } //# sourceMappingURL=metadata.d.ts.map