/** * Functions that define common functionality and structure * for all meta function implementations. */ import { FunctionDefinitionFormat } from '../types/functions'; /** * Base schema interface for meta functions */ export interface BaseSchema { name: string; description: string; parameters: Record; [key: string]: any; } /** * Convert a base schema to a format-specific schema * * @param baseSchema - The base schema to convert * @param format - The schema format to use (OPENAI, ANTHROPIC, etc.) * @returns Schema formatted according to the specified format */ export declare const toJsonSchema: (baseSchema: BaseSchema, format?: FunctionDefinitionFormat) => Record; /** * Creates a function that converts a schema to a specific format * * @param getBaseSchema - Function that returns the base schema * @returns Function that converts the schema to a specified format */ export declare const createSchemaFormatter: (getBaseSchema: () => BaseSchema) => { getSchema: () => BaseSchema; toJsonSchema: (format?: FunctionDefinitionFormat) => Record; };