import { SchemaDefinition } from "../types/index.js";
/**
 * 类型转换结果接口
 */
export interface ConversionResult {
    success: boolean;
    value: any;
    errors: string[];
}
/**
 * 类型转换器
 */
export declare class TypeConverter {
    /**
     * 将数据转换为符合目标Schema的格式
     * @param value 要转换的数据
     * @param targetSchema 目标Schema
     * @returns 转换结果
     */
    static convert(value: any, targetSchema: SchemaDefinition): ConversionResult;
    /**
     * 转换为字符串
     */
    private static convertToString;
    /**
     * 转换为数字
     */
    private static convertToNumber;
    /**
     * 转换为整数
     */
    private static convertToInteger;
    /**
     * 转换为布尔值
     */
    private static convertToBoolean;
    /**
     * 转换为数组
     */
    private static convertToArray;
    /**
     * 转换为对象
     */
    private static convertToObject;
    /**
     * 转换为日期
     */
    private static convertToDate;
}
