import type { AISDKCoreTool } from '../../types/index.js';
/**
 * Shared helpers for reading description / JSON Schema off an AI SDK tool when
 * building system-prompt tool definitions. Used by both the XML and JSON
 * prompt formatters so the extraction logic lives in one place.
 */
export type ToolInputSchema = {
    properties?: unknown;
    required?: unknown;
};
/**
 * Extracts the top-level description from an AI SDK tool.
 */
export declare function extractToolDescription(tool: AISDKCoreTool): string | undefined;
/**
 * Extracts the input JSON Schema from an AI SDK tool, unwrapping the
 * `jsonSchema()` wrapper and falling back to the older `parameters` shape.
 */
export declare function extractToolSchema(tool: AISDKCoreTool): ToolInputSchema | undefined;
/**
 * Picks up to two example parameter names for a tool-call example — preferring
 * required params, falling back to whatever properties exist.
 */
export declare function selectExampleParamNames(properties: Record<string, unknown>, required: string[]): string[];
//# sourceMappingURL=tool-schema-extract.d.ts.map