UNPKG

@mastra/core

Version:
17 lines • 1.19 kB
import type { PubSub } from '../../events/pubsub.js'; import type { IMastraLogger } from '../../logger/index.js'; import type { ShouldPersistSnapshotFn } from '../../workflows/types.js'; import { DurableExecutionEngine } from './execution-engine.js'; import type { ExecutionCompletion, ExecutionOutcome } from './execution-engine.js'; import type { ExecutionFence } from './execution-fence.js'; export declare class EventedExecutionEngine extends DurableExecutionEngine { #private; prepareExecution(pubsub: PubSub | undefined, fence: ExecutionFence | undefined, workflowEngine: 'default' | 'evented', logger: IMastraLogger, guardrailLogger: IMastraLogger | undefined): { sharedExecution: boolean; usesRunPubSub: boolean; }; finishExecution(runId: string, executionFence: ExecutionFence | undefined, sharedExecution: boolean, completion: ExecutionCompletion): ExecutionOutcome; resolveShouldPersistSnapshot(_predicate?: ShouldPersistSnapshotFn): ShouldPersistSnapshotFn; warnOnRiskyPersistencePolicy(predicate: ShouldPersistSnapshotFn | undefined, guardrailLogger: IMastraLogger | undefined): void; } //# sourceMappingURL=evented-execution-engine.d.ts.map