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