import type { GenericBeatmapFilename } from '../beatmap/schema/shared/types/filename.js'; import type { InferBeatmapSerial, InferBeatmapVersion, InferBeatmapWrapper } from '../beatmap/schema/shared/types/infer.js'; import type { IReadOptions } from './types.js'; import type { LooseAutocomplete } from '../types/utils.js'; /** * Asynchronously read beatmap difficulty file. * ```ts * readDifficultyFile('EasyStandard.dat', 4).then((data) => console.log(data)); * ``` * * Mismatched beatmap version will be automatically converted, unspecified will leave the version as is but not known. */ export declare function readDifficultyFile, TWrapper extends Record = InferBeatmapWrapper<'difficulty'>, TSerial extends Record = InferBeatmapSerial<'difficulty', TVersion>>(path: LooseAutocomplete, version?: TVersion | null, options?: IReadOptions<'difficulty', TVersion, TWrapper, TSerial>): Promise; export declare function readDifficultyFile, TWrapper extends Record = InferBeatmapWrapper<'difficulty'>, TSerial extends Record = InferBeatmapSerial<'difficulty', TVersion>>(path: LooseAutocomplete, options?: IReadOptions<'difficulty', TVersion, TWrapper, TSerial>): Promise; /** * Synchronously read beatmap difficulty file. * ```ts * const difficulty = readDifficultyFileSync('EasyStandard.dat', 4); * console.log(difficulty); * ``` * * Mismatched beatmap version will be automatically converted, unspecified will leave the version as is but not known. */ export declare function readDifficultyFileSync, TWrapper extends Record = InferBeatmapWrapper<'difficulty'>, TSerial extends Record = InferBeatmapSerial<'difficulty', TVersion>>(path: LooseAutocomplete, version?: TVersion | null, options?: IReadOptions<'difficulty', TVersion, TWrapper, TSerial>): TWrapper; export declare function readDifficultyFileSync, TWrapper extends Record = InferBeatmapWrapper<'difficulty'>, TSerial extends Record = InferBeatmapSerial<'difficulty', TVersion>>(path: LooseAutocomplete, options?: IReadOptions<'difficulty', TVersion, TWrapper, TSerial>): TWrapper; //# sourceMappingURL=difficulty.d.ts.map