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