import { AwilixContainer, ResolveOptions } from "awilix"; /** * The following interface acts as a bucket that other modules or the * utils package can fill using declaration merging */ export interface ModuleImplementations { } /** * The Medusa Container extends [Awilix](https://github.com/jeffijoe/awilix) to * provide dependency injection functionalities. */ export type MedusaContainer = Omit & { resolve(key: K, resolveOptions?: ResolveOptions): Cradle[K]; resolve(key: string, resolveOptions?: ResolveOptions): T; /** * @ignore */ registerAdd: (name: string, registration: T) => MedusaContainer; /** * @ignore */ createScope: () => MedusaContainer; }; export type ContainerLike = { resolve(key: string): T; }; //# sourceMappingURL=medusa-container.d.ts.map