import { Rn as ProviderToolSchemaDiagnostic, an as ProviderNormalizeToolSchemasContext } from "./types-CLo6hM78.js";
import { r as AnyAgentTool } from "./common-C7RKFa1F.js";
import { TSchema } from "typebox";

//#region src/agents/schema/clean-for-gemini.d.ts
declare const GEMINI_UNSUPPORTED_SCHEMA_KEYWORDS: Set<string>;
declare function cleanSchemaForGemini(schema: unknown): TSchema;
//#endregion
//#region src/shared/schema-keyword-strip.d.ts
declare function stripUnsupportedSchemaKeywords(schema: unknown, unsupportedKeywords: ReadonlySet<string>): unknown;
//#endregion
//#region src/plugin-sdk/provider-tools.d.ts
declare function findUnsupportedSchemaKeywords(schema: unknown, path: string, unsupportedKeywords: ReadonlySet<string>): 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<string>;
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 };