import type { ISaveOptions } from './types.js'; import type { InferBeatmapSerial, InferBeatmapVersion, InferBeatmapWrapper } from '../schema/shared/types/infer.js'; /** * Save beatmap info. * ```ts * const json = saveInfo(data, 4); * console.log(json); * ``` * * Mismatched beatmap version will be automatically converted, unspecified will leave the version as is but not known. */ export declare function saveInfo, TWrapper extends Record = InferBeatmapWrapper<'info'>, TSerial extends Record = InferBeatmapSerial<'info', TVersion>>(data: TWrapper, version?: TVersion | null, options?: ISaveOptions<'info', TVersion, TWrapper, TSerial>): TSerial; export declare function saveInfo, TWrapper extends Record = InferBeatmapWrapper<'info'>, TSerial extends Record = InferBeatmapSerial<'info', TVersion>>(data: TWrapper, options?: ISaveOptions<'info', TVersion, TWrapper, TSerial>): TSerial; //# sourceMappingURL=info.d.ts.map