import type { GenericLightshowFilename } 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 lightshow file. * ```ts * readLightshowFile('Lightshow.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 readLightshowFile, TWrapper extends Record = InferBeatmapWrapper<'lightshow'>, TSerial extends Record = InferBeatmapSerial<'lightshow', TVersion>>(path: LooseAutocomplete, version?: TVersion | null, options?: IReadOptions<'lightshow', TVersion, TWrapper, TSerial>): Promise; export declare function readLightshowFile, TWrapper extends Record = InferBeatmapWrapper<'lightshow'>, TSerial extends Record = InferBeatmapSerial<'lightshow', TVersion>>(path: LooseAutocomplete, options?: IReadOptions<'lightshow', TVersion, TWrapper, TSerial>): Promise; /** * Synchronously read beatmap lightshow file. * ```ts * const lightshow = readLightshowFileSync('Lightshow.dat', 4); * console.log(lightshow); * ``` * * Mismatched beatmap version will be automatically converted, unspecified will leave the version as is but not known. */ export declare function readLightshowFileSync, TWrapper extends Record = InferBeatmapWrapper<'lightshow'>, TSerial extends Record = InferBeatmapSerial<'lightshow', TVersion>>(path: LooseAutocomplete, version?: TVersion | null, options?: IReadOptions<'lightshow', TVersion, TWrapper, TSerial>): TWrapper; export declare function readLightshowFileSync, TWrapper extends Record = InferBeatmapWrapper<'lightshow'>, TSerial extends Record = InferBeatmapSerial<'lightshow', TVersion>>(path: LooseAutocomplete, options?: IReadOptions<'lightshow', TVersion, TWrapper, TSerial>): TWrapper; //# sourceMappingURL=lightshow.d.ts.map