import { Rn as ProviderToolSchemaDiagnostic, an as ProviderNormalizeToolSchemasContext } from "./types-VTSyQW4p.js"; import { r as AnyAgentTool } from "./common-BdhtzyVj.js"; import { TSchema } from "typebox"; //#region src/agents/schema/clean-for-gemini.d.ts declare const GEMINI_UNSUPPORTED_SCHEMA_KEYWORDS: Set; declare function cleanSchemaForGemini(schema: unknown): TSchema; //#endregion //#region src/shared/schema-keyword-strip.d.ts declare function stripUnsupportedSchemaKeywords(schema: unknown, unsupportedKeywords: ReadonlySet): unknown; //#endregion //#region src/plugin-sdk/provider-tools.d.ts declare function findUnsupportedSchemaKeywords(schema: unknown, path: string, unsupportedKeywords: ReadonlySet): string[]; declare function normalizeGeminiToolSchemas(ctx: ProviderNormalizeToolSchemasContext): AnyAgentTool[]; declare function inspectGeminiToolSchemas(ctx: ProviderNormalizeToolSchemasContext): ProviderToolSchemaDiagnostic[]; declare function normalizeOpenAIToolSchemas(ctx: ProviderNormalizeToolSchemasContext): AnyAgentTool[]; declare function findOpenAIStrictSchemaViolations(schema: unknown, path: string, options?: { requireObjectRoot?: boolean; }): string[]; declare function inspectOpenAIToolSchemas(ctx: ProviderNormalizeToolSchemasContext): ProviderToolSchemaDiagnostic[]; declare const DEEPSEEK_UNSUPPORTED_SCHEMA_KEYWORDS: Set; declare function normalizeDeepSeekToolSchemas(ctx: ProviderNormalizeToolSchemasContext): AnyAgentTool[]; declare function inspectDeepSeekToolSchemas(ctx: ProviderNormalizeToolSchemasContext): ProviderToolSchemaDiagnostic[]; type ProviderToolCompatFamily = "deepseek" | "gemini" | "openai"; declare function buildProviderToolCompatFamilyHooks(family: ProviderToolCompatFamily): { normalizeToolSchemas: (ctx: ProviderNormalizeToolSchemasContext) => AnyAgentTool[]; inspectToolSchemas: (ctx: ProviderNormalizeToolSchemasContext) => ProviderToolSchemaDiagnostic[]; }; //#endregion export { DEEPSEEK_UNSUPPORTED_SCHEMA_KEYWORDS, GEMINI_UNSUPPORTED_SCHEMA_KEYWORDS, ProviderToolCompatFamily, buildProviderToolCompatFamilyHooks, cleanSchemaForGemini, findOpenAIStrictSchemaViolations, findUnsupportedSchemaKeywords, inspectDeepSeekToolSchemas, inspectGeminiToolSchemas, inspectOpenAIToolSchemas, normalizeDeepSeekToolSchemas, normalizeGeminiToolSchemas, normalizeOpenAIToolSchemas, stripUnsupportedSchemaKeywords };