/**
 * Model-driven JSON mapping file processor for rawsql-ts integration.
 * Handles detection and conversion of both UnifiedJsonMapping and ModelDrivenJsonMapping formats.
 */
import { JsonMapping, TypeProtectionConfig } from 'rawsql-ts';
/**
 * Supported JSON mapping file formats.
 */
export type MappingFileFormat = 'unified' | 'model-driven' | 'legacy';
/**
 * Result of mapping file detection and conversion.
 */
export interface MappingFileResult {
    format: MappingFileFormat;
    jsonMapping: JsonMapping;
    typeProtection: TypeProtectionConfig;
    sourceFile: string;
}
/**
 * Detect the format of a JSON mapping file based on its structure.
 */
export declare function detectMappingFormat(mappingData: any): MappingFileFormat;
/**
 * Load and convert a JSON mapping file to the standard JsonMapping format.
 * Supports both UnifiedJsonMapping and ModelDrivenJsonMapping formats.
 */
export declare function loadAndConvertMappingFile(filePath: string): MappingFileResult;
/**
 * Search for mapping files in a directory and return conversion results.
 * Supports multiple file naming patterns:
 * - *.model-driven.json (ModelDrivenJsonMapping format)
 * - *.unified.json (UnifiedJsonMapping format)
 * - *.json (legacy JsonMapping format)
 */
export declare function findAndConvertMappingFiles(baseDir: string): MappingFileResult[];
/**
 * Get mapping file statistics for a directory.
 */
export declare function getMappingFileStats(baseDir: string): {
    totalFiles: number;
    byFormat: Record<MappingFileFormat, number>;
    files: {
        path: string;
        format: MappingFileFormat;
    }[];
};
