UNPKG

@mastra/core

Version:

Mastra is a framework for building AI-powered applications and agents with a modern TypeScript stack.

19 lines 631 B
import type z from 'zod'; import type { Step } from './step.js'; export declare function getZodErrors(error: z.ZodError): z.ZodIssue[]; export declare function validateStepInput({ prevOutput, step, validateInputs, }: { prevOutput: any; step: Step<string, any, any>; validateInputs: boolean; }): Promise<{ inputData: any; validationError: Error | undefined; }>; export declare function getResumeLabelsByStepId(resumeLabels: Record<string, { stepId: string; foreachIndex?: number; }>, stepId: string): Record<string, { stepId: string; foreachIndex?: number; }>; //# sourceMappingURL=utils.d.ts.map