import type { ISaveOptions } from './types.js'; import type { InferBeatmapSerial, InferBeatmapVersion, InferBeatmapWrapper } from '../schema/shared/types/infer.js'; /** * Save beatmap difficulty. * ```ts * const json = saveDifficulty(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 saveDifficulty, TWrapper extends Record = InferBeatmapWrapper<'difficulty'>, TSerial extends Record = InferBeatmapSerial<'difficulty', TVersion>>(data: TWrapper, version?: TVersion | null, options?: ISaveOptions<'difficulty', TVersion, TWrapper, TSerial>): TSerial; export declare function saveDifficulty, TWrapper extends Record = InferBeatmapWrapper<'difficulty'>, TSerial extends Record = InferBeatmapSerial<'difficulty', TVersion>>(data: TWrapper, options?: ISaveOptions<'difficulty', TVersion, TWrapper, TSerial>): TSerial; //# sourceMappingURL=difficulty.d.ts.map