import { BlueNode } from '@blue-labs/language'; import { ContractBundle } from './contract-bundle.js'; import { DocumentProcessingRuntime } from '../runtime/document-processing-runtime.js'; import { TerminationKind } from '../runtime/scope-runtime-context.js'; export interface TerminationExecutionAdapter { recordPendingTermination(scopePath: string, kind: TerminationKind, reason: string | null): void; normalizeScope(scopePath: string): string; bundleForScope(scopePath: string): ContractBundle | undefined; deliverLifecycle(scopePath: string, bundle: ContractBundle | null, event: BlueNode, finalizeAfter: boolean): Promise; clearPendingTermination(scopePath: string): void; } export declare class TerminationService { private readonly runtime; constructor(runtime: DocumentProcessingRuntime); terminateScope(execution: TerminationExecutionAdapter, scopePath: string, bundle: ContractBundle | null, kind: TerminationKind, reason: string | null): Promise; } //# sourceMappingURL=termination-service.d.ts.map