@inversifyjs/core
Version:
InversifyJs core package
17 lines • 1.29 kB
TypeScript
import { type Binding } from '../../binding/models/Binding.js';
import { type InternalBindingConstraints } from '../../binding/models/BindingConstraintsImplementation.js';
import { type SingleImmutableLinkedList } from '../../common/models/SingleImmutableLinkedList.js';
import { type PlanServiceNodeBindingAddedResult } from '../../metadata/models/PlanServiceNodeBindingAddedResult.js';
import { type BasePlanParams } from '../models/BasePlanParams.js';
import { type PlanServiceNode } from '../models/PlanServiceNode.js';
/**
* Attach a binding to a service node if the binding is context-free.
* @param params The plan parameters.
* @param serviceNode The service node to attach the binding to.
* @param binding The binding to attach.
* @param bindingConstraintsList The list of binding constraints.
* @param chainedBindings Whether the bindings are chained.
* @returns True if the binding requires ancestor metadata, false otherwise.
*/
export declare function addServiceNodeBindingIfContextFree(params: BasePlanParams, serviceNode: PlanServiceNode, binding: Binding<unknown>, bindingConstraintsList: SingleImmutableLinkedList<InternalBindingConstraints>, chainedBindings: boolean): PlanServiceNodeBindingAddedResult;
//# sourceMappingURL=addServiceNodeBindingIfContextFree.d.ts.map