declare module "@xmcl/common/gamesetting" { namespace GameSetting { /** * Parse raw game setting options.txt content * * @param str the options.txt content * @param strict strictly follow the current version of options format (outdate version might cause problem. If your options.txt is new one with new fields, don't turn on this) */ function parse(str: string, strict?: T): T extends true ? GameSetting : GameSetting.Frame; /** * Generate text format game setting for options.txt file. * * @param setting The game setting object * @param original * @param eol The end of line character, default is `\n` */ function stringify(setting: GameSetting | GameSetting.Frame | any, original?: string, eol?: string): string; } } export * from "@xmcl/common/gamesetting";