UNPKG

@mastra/core

Version:
6 lines • 518 B
import { z } from 'zod/v4'; import type { SpanStopReason, SpanStopReasonContext, SpanTermination } from './types/outcome.js'; /** @internal Allowlist tooltip facts for framework producers, including untyped runtime inputs. */ export declare function compactStopReasonContext<Reason extends SpanStopReason>(stopReason: Reason | null | undefined, context: unknown): SpanStopReasonContext<Reason> | null; export declare const spanTerminationSchema: z.ZodType<SpanTermination>; //# sourceMappingURL=outcome-schema.d.ts.map