@mastra/core
Version:
12 lines • 450 B
TypeScript
/**
* Normalize `resumeGenerate` arguments for durable agents.
*
* Accepts the `Agent` signature `(resumeData, { runId, ...options })` and the
* deprecated durable-only signature `(runId, resumeData, options?)`.
*/
export declare function normalizeResumeGenerateArgs<TOptions extends Record<string, any>>(args: unknown[]): {
runId: string;
resumeData: unknown;
options: TOptions;
};
//# sourceMappingURL=resume-generate-args.d.ts.map