import type { IDisposable } from "@surface/core"; import type { ObservablePath, StackTrace } from "@surface/htmlx-parser"; import type DirectiveEntry from "../types/directive-entry.js"; import type Evaluator from "../types/evaluator.js"; import type NodeFactory from "../types/node-factory.js"; import type Block from "./block.js"; type Context = { block: Block; directives: Map; factory: NodeFactory; host: Node; key: Evaluator; observables: [key: ObservablePath[], value: ObservablePath[]]; parent: Node; scope: object; value: Evaluator; source?: { key: string; scope: string; }; stackTrace?: StackTrace; }; export default class PlaceholderDirective implements IDisposable { private readonly context; private readonly cancellationTokenSource; private readonly keySubscription; private readonly metadata; private currentDisposable; private disposed; private key; private lazyInjectionCancellationTokenSource; private subscription; private injectionContext?; constructor(context: Context); private readonly applyInjection; private readonly applyLazyInjection; private readonly inject; private readonly onKeyChange; private readonly task; private readonly defaultTask; dispose(): void; } export {};