import { Agent } from "@mastra/core/agent"; import { InspectorModelConfig } from "../core/types.js"; import { z } from "zod"; /** * Creates a Mastra agent for skill inspection */ export declare function createInspectorAgent({ name, instructions, model, tools, }: { name: string; instructions: string; model: InspectorModelConfig; tools?: Record; }): Agent; /** * Common output schema for inspection agents */ export declare const InspectionOutputSchema: z.ZodObject<{ findings: z.ZodDefault; message: z.ZodString; fix: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>; export type InspectionOutput = z.infer; /** * Generate with agent, handling Google's limitation with structured outputs + function calling. * For Google providers with tools, we parse JSON from text instead of using structured outputs. */ export declare function generateWithStructuredOutput(agent: Agent, prompt: string, schema: z.ZodSchema, modelConfig: InspectorModelConfig, hasTools: boolean): Promise;