import * as certGenerator from "./cert_generator"; import * as bsgamesdkPwdAuthenticate from "./bsgamesdk-pwd-authenticate"; import * as userdataDump from "./userdata_dump"; export declare type listenAddr = { port: number; host: string; }; export declare type listenList = Record & { controlInterface: listenAddr; httpProxy: listenAddr; localServer: listenAddr; }; export declare enum mode { ONLINE = 1, LOCAL_OFFLINE = 2 } export declare const defaultJPDump = "\u56FD\u670D\u79BB\u7EBF\u6A21\u5F0F"; export declare type overrides = { gameUser?: { bgItemId?: string; modifyChara?: [number, Record]; }; }; export declare class params { static VERBOSE: boolean; static readonly isAliveReqMarker = "2f53b99c5bc307e9e4005ea1087eeca0"; static readonly isAliveRespMarker = "614cb4bf76a743055e924a0a3073f850"; static readonly defaultPath: string; private path; private mapData; private lastSaved; private unfinishedSave; static load(path?: string): Promise; private static import; stringify(): string; save(param?: { key: string; val: any; } | Array<{ key: string; val: any; }> | string, path?: string): Promise; checkModified(): boolean; readonly overridesDB: Map; static readonly overridesDBPath: string; saveOverrideDB(fileContent?: string): void; get mode(): mode; get selectedJPDump(): string; get autoOpenWeb(): boolean; get injectMadokamiSE(): boolean; get listenList(): listenList; get lastHttpProxy(): listenAddr; get httpProxyUsername(): string; get httpProxyPassword(): string; getClashYaml(host?: string): string; get upstreamProxy(): listenAddr; get upstreamProxyEnabled(): boolean; get upstreamProxyCACert(): string | undefined | null; get CACertAndKey(): certGenerator.certAndKey; get bsgamesdkIDs(): bsgamesdkPwdAuthenticate.bsgamesdkIDs; get magirecoIDs(): userdataDump.magirecoIDs; get bsgamesdkResponse(): bsgamesdkPwdAuthenticate.bsgamesdkResponse | undefined; get openIdTicket(): userdataDump.openIdTicket | undefined; get fetchCharaEnhancementTree(): boolean; get arenaSimulate(): boolean; get concurrentFetch(): boolean; get crawlWebRes(): boolean; get crawlAssets(): boolean; get concurrentCrawl(): boolean; get lastDownloadedFileName(): string; set lastDownloadedFileName(fileName: string); get CACertPEM(): string; get CACertSubjectHashOld(): string; readonly CACerts: Array; private readonly supportH2Map; private supportH2Expire; private supportH2MaxSize; private constructor(); private refreshCACert; private static prepare; private cleanupSupportH2; getSupportH2(url: URL): boolean | undefined; setSupportH2(url: URL, supportH2: boolean | null): void; private static avoidUsedPorts; private static checkIsAliveMarker; }