@mastra/core
Version:
16 lines • 716 B
TypeScript
import type { RequestContext } from './index.js';
/** @internal */
export declare const REQUEST_CONTEXT_INPUT_SOURCE: unique symbol;
/**
* Returns the input-form context that schema validation should consume.
*
* Schema-transformed execution views retain their source through a global
* symbol so forwarding a view across tools or duplicated module instances does
* not validate already-decoded values again.
*
* @internal
*/
export declare function getRequestContextInputSource(requestContext?: RequestContext): RequestContext | undefined;
/** @internal */
export declare function getRequestContextInputValues(requestContext?: RequestContext): Record<string, any>;
//# sourceMappingURL=input-source.d.ts.map