import type { StandardSchemaV1 } from '@standard-schema/spec'; import type { ISchemaCheckOptions } from './types/schema.js'; import type { BeatmapFileType } from '../schema/shared/types/schema.js'; import type { InferBeatmapSerial, InferBeatmapVersion } from '../schema/shared/types/infer.js'; type CheckMap = { [TVersion in InferBeatmapVersion]: () => StandardSchemaV1>; }; /** Data check version map for schema beatmap info. */ export declare const infoCheckMap: CheckMap<'info'>; /** Data check version map for schema beatmap audio data. */ export declare const audioDataCheckMap: CheckMap<'audioData'>; /** Data check version map for schema beatmap difficulty. */ export declare const difficultyCheckMap: CheckMap<'difficulty'>; /** Data check version map for schema beatmap lightshow. */ export declare const lightshowCheckMap: CheckMap<'lightshow'>; /** * Ensures the serial contents of the beatmap file conforms to its schema. * @param type The beatmap file type. * @param data The serial contents of the beatmap file. * @param version The implied map format of the beatmap file. * @param options The options supplied to the validator. */ export declare function validateJSON, TSerial extends InferBeatmapSerial>(type: BeatmapFileType, data: TSerial, version: TVersion, options?: Partial): StandardSchemaV1.Issue[]; export {}; //# sourceMappingURL=validator.d.ts.map