import { DefaultConstructor } from '../types'; import { Descriptor, Typed } from './descriptor'; /** * Registers descriptor for specific type * @param type Name of the type to register descriptor for */ export declare function DescriptorFor(type: string): >(constructor: DefaultConstructor) => DefaultConstructor; /** * Retrieves descriptor for given type * @param type Name of type */ export declare function getDescriptorFor(type: string): Descriptor; /** * Retrieves descriptor for given typed object * @param obj Object to retrieve descriptor for */ export declare function getDescriptorFor(obj: Typed): Descriptor; export declare function clearAllDescriptors(): void;