import type { InferBeatmapSerial, InferBeatmapVersion, InferBeatmapWrapper } from '../beatmap/schema/shared/types/infer.js'; import type { IWriteOptions } from './types.js'; /** * Asynchronously write beatmap difficulty file. * ```ts * await writeDifficultyFile(beatmap, 4); * ``` */ export declare function writeDifficultyFile, TWrapper extends Record = InferBeatmapWrapper<'difficulty'>, TSerial extends Record = InferBeatmapSerial<'difficulty', TVersion>>(data: TWrapper, version?: TVersion | null, options?: IWriteOptions<'difficulty', TVersion, TWrapper, TSerial>): Promise; export declare function writeDifficultyFile, TWrapper extends Record = InferBeatmapWrapper<'difficulty'>, TSerial extends Record = InferBeatmapSerial<'difficulty', TVersion>>(data: TWrapper, options?: IWriteOptions<'difficulty', TVersion, TWrapper, TSerial>): Promise; /** * Synchronously write beatmap difficulty file. * ```ts * writeDifficultyFileSync(beatmap, 4); * ``` */ export declare function writeDifficultyFileSync, TWrapper extends Record = InferBeatmapWrapper<'difficulty'>, TSerial extends Record = InferBeatmapSerial<'difficulty', TVersion>>(data: TWrapper, version?: TVersion | null, options?: IWriteOptions<'difficulty', TVersion, TWrapper, TSerial>): TSerial; export declare function writeDifficultyFileSync, TWrapper extends Record = InferBeatmapWrapper<'difficulty'>, TSerial extends Record = InferBeatmapSerial<'difficulty', TVersion>>(data: TWrapper, options?: IWriteOptions<'difficulty', TVersion, TWrapper, TSerial>): TSerial; //# sourceMappingURL=difficulty.d.ts.map