import { FactoryFunction } from './types';
export declare class Factory {
    static readonly DefaultContext = "factory";
    /**
     * Create factory method.
     * @param ctor the class
     *
     * Note: Avoid using `this` in this method.
     */
    static createFactory<T>(ctor: new () => T): FactoryFunction<T>;
}
