import Bluebird from "bluebird"; /** * Implemented by workflow containers to customize the creation of various currencies. */ interface IFacilityFactory { /** Activates an instance. */ (type: string): PromiseLike | object | undefined; } /** Implemented by facilities to uniquely identify that facility. */ export interface IFacility { type: string; } /** * Exposes functionality for activating well-known facilities. */ export declare class Activator { /** Provides a means to provide a factory implementations. */ factories: IFacilityFactory[]; /** * Activates an instance of a type. * @param type The type to activate an instnace of. * @param name The cardinal name of the instance. */ activate(basis: T): Bluebird; } export {};