export interface IInstaller { arch: string; path: string; hash: string; created: number; } export interface IUpdater { arch: string; fromVersion: string; path: string; hash: string; created: number; } export interface IVersion { version: string; changelog: string; source: string; installers: IInstaller[]; updaters: IUpdater[]; } export interface IVersionInfoData { latest: string; versions: IVersion[]; } export declare class NsisVersionInfo { protected path: string; protected outputDir: string; protected data: IVersionInfoData; constructor(path: string); addVersion(version: string, changelog: string, source: string): Promise; getVersions(): Promise; getVersion(version: string): Promise; addInstaller(version: string, arch: string, path: string): Promise; addUpdater(version: string, fromVersion: string, arch: string, path: string): Promise; save(): Promise; protected getData(): Promise; protected updateLatestVersion(): void; protected hashFile(type: string, path: string): Promise; }