@mastra/core
Version:
11 lines • 563 B
TypeScript
import type { ProcessorWorkflow } from './index.js';
/**
* Type guard to check if an object is a Workflow that can be used as a processor.
*
* Extracted to its own module so that `runner.ts` (and by extension
* `stream/base/output.ts`) can use it without loading the full processors
* barrel — which re-exports every built-in processor, many of which import
* from the agent barrel and create ESM init-time cycles.
*/
export declare function isProcessorWorkflow(obj: unknown): obj is ProcessorWorkflow;
//# sourceMappingURL=is-processor-workflow.d.ts.map