import type { ObservablePath, StackTrace } from "@surface/htmlx-parser"; import type DestructuredEvaluator from "../types/destructured-evaluator.js"; import type Evaluator from "../types/evaluator.js"; import type NodeFactory from "../types/node-factory.js"; export default function createInjectionFactory(keyEvaluator: Evaluator, valueEvaluator: DestructuredEvaluator, observables: [key: ObservablePath[], value: ObservablePath[]], factory: NodeFactory, source?: { key: string; scope: string; }, stackTrace?: StackTrace): NodeFactory;