@mastra/core
Version:
12 lines • 612 B
TypeScript
import type { MappingStepEntry } from '../types.js';
import type { EntryExecuteContext } from './types.js';
/**
* Runs a declarative `mapping` entry. Function configs are invoked directly;
* object configs are interpreted key-by-key (`value` / `fn` / `template` /
* `requestContextPath` / `step`+`path` / `initData`+`path`).
*
* Object configs resolve every step they read up front, so no key evaluation
* goes through the sync `getStepResult`.
*/
export declare function runMappingEntry(entry: MappingStepEntry, ctx: EntryExecuteContext): Promise<unknown>;
//# sourceMappingURL=run-mapping-entry.d.ts.map