/**
 * Copy non-undefined fields from a {@link StreamInternal} bag into the per-run
 * `RunScope` on `Mastra`. Called once by `workflowLoopStream` *after*
 * `__registerInternalWorkflow` has allocated the scope, so it does not touch
 * the scope's refcount.
 *
 * Step factories read through the scope in production. They still accept the
 * legacy `_internal` argument so tests that construct factories directly
 * (without going through `loop()`) keep working via the fallback path in
 * `run-scope-access.ts`.
 */
import type { Mastra } from '../mastra/index.js';
import type { StreamInternal } from './types.js';
export declare function hydrateRunScopeFromInternal(mastra: Mastra, runId: string, internal: StreamInternal | undefined): void;
//# sourceMappingURL=hydrate-run-scope.d.ts.map