import { AsyncLocalStorage } from 'node:async_hooks'; import type { CryptoKey } from '../encryption.js'; import type { WorkflowMetadata } from '../workflow/get-workflow-metadata.js'; import type { StepMetadata } from './get-step-metadata.js'; export type StepContext = { stepMetadata: StepMetadata; workflowMetadata: WorkflowMetadata; /** Deployment that owns the current workflow run, used for forwarded streams. */ workflowDeploymentId?: string; ops: Promise[]; closureVars?: Record; encryptionKey?: CryptoKey; }; export declare const contextStorage: AsyncLocalStorage; //# sourceMappingURL=context-storage.d.ts.map