import Bluebird from "./deps/bluebird_fork";
/** Implemented by workflow containers to customize the creation of various currencies. */
export interface IFacilityFactory {
    /** Activates an instance. */
    (type: string): PromiseLike<{}> | {};
}
/** 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<T extends IFacility>(basis: T): Bluebird<T>;
}
