import type { InferBeatmapVersion, InferBeatmapWrapper } from '../schema/shared/types/infer.js'; import type { BeatmapFileType } from '../schema/shared/types/schema.js'; type ConverterMap = { [TVersion in InferBeatmapVersion]: >(data: TWrapper, fromVersion?: number) => TWrapper; }; /** Conversion function version map for beatmap info. */ export declare const infoConvertMap: ConverterMap<'info'>; /** Conversion function version map for beatmap audio data. */ export declare const audioDataConvertMap: ConverterMap<'audioData'>; /** Conversion function version map for beatmap data. */ export declare const beatmapConvertMap: ConverterMap<'difficulty' | 'lightshow'>; /** * Modifies the wrapper contents of a beatmap file for compatibility with the indicated map format. * @param type The beatmap file type. * @param targetVersion The new map format to convert the beatmap file into. * @param data The wrapper contents of the beatmap file. * @param sourceVersion The original map format of the beatmap file. * @returns The converted wrapper contents of the beatmap file. */ export declare function convertBeatmap, TWrapper extends InferBeatmapWrapper>(type: TFileType, targetVersion: TVersion, data: TWrapper, sourceVersion?: InferBeatmapVersion): TWrapper; export {}; //# sourceMappingURL=converter.d.ts.map