@mastra/core
Version:
Mastra is a framework for building AI-powered applications and agents with a modern TypeScript stack.
17 lines • 739 B
TypeScript
import type { ToolLoopAgentSettings } from '@internal/ai-v6';
/**
* Shape of a ToolLoopAgent-like object for runtime extraction.
* We use this looser type because TypeScript's structural typing doesn't work
* well with private properties across different package declarations.
*/
export interface ToolLoopAgentLike {
readonly id?: string;
readonly version?: string;
}
export declare function isToolLoopAgentLike(obj: any): obj is ToolLoopAgentLike;
/**
* Extracts the settings from a ToolLoopAgent instance.
* ToolLoopAgent.settings is private in TypeScript but accessible at runtime.
*/
export declare function getSettings(agent: ToolLoopAgentLike): ToolLoopAgentSettings<any, any, any>;
//# sourceMappingURL=utils.d.ts.map