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