import { BMSChart } from '../bms/chart'; export interface ISongInfoData { title: string; artist: string; genre: string; subtitles: string[]; subartists: string[]; difficulty: number; level: number; } /** * A SongInfo represents the song info, such as title, artist, genre. * * ## Example * * If you have a BMS like this: * * ``` * #TITLE Exargon [HYPER] * ``` * * Having parsed it using a {Compiler} into a {BMSChart}, * you can create a {SongInfo} using `fromBMSChart()`: * * ```js * var info = SongInfo.fromBMSChart(bmsChart) * ``` * * Then you can query the song information by accessing its properties. * * ```js * info.title // => 'Exargon' * info.subtitles // => ['HYPER'] * ``` */ export declare class SongInfo implements ISongInfoData { title: string; artist: string; genre: string; subtitles: string[]; subartists: string[]; difficulty: number; level: number; /** * Constructs a SongInfo with given data * @param info the properties to set on this new instance */ constructor(info: { [propertyName: string]: any; }); /** * Constructs a new {SongInfo} object from a {BMSChart}. * @param chart A {BMSChart} to construct a {SongInfo} from */ static fromBMSChart(chart: BMSChart): SongInfo; } //# sourceMappingURL=index.d.ts.map