import { Container } from "inversify"; import "reflect-metadata"; export declare class TxComponentContainer { txContainer: Container; constructor(type: any, bind: any, driver: any); /** * Create the component by inject all its dependencies. * * @param bind - type value of the component * @param name - the name of TxQueuePoint | TxRoutePoint members. * @returns - instance of the component. */ get(bind: any, name: any): unknown; /** * A component that need be injected TxQueuePoint or TxRoutePoint member class * * @param type - type value of a component * @param bind - the bind name, something like TxTYPES.xxx */ addComponent(type: any, bind: any): void; /** * Add any other bind member of component class. If a component include other member use this * method to their binding. * * @param type - type value of member of a component * @param bind - its binding name */ addBind(type: any, bind: any): void; addBindConstantValue(bind: any, value: any): void; /** * set the driver type that needed to inject into TxQueuePoint or TxRoutePoint member of * a component. * * @param driver - type value of a driver class needed to inject into TxQueuePoint or TxRoutePoint. * the TxQueuePoint or TxRoutePoint are member of the component. */ setDriver(driver: any): void; }