import { Arch, AsyncTaskManager } from "builder-util"; import { SignOptions } from "../electron-osx-sign"; import { Lazy } from "lazy-val"; import { AppInfo } from "./appInfo"; import { CodeSigningInfo, Identity } from "./codeSign/macCodeSign"; import { Target } from "./core"; import { AfterPackContext } from "./index"; import { MacConfiguration } from "./options/macOptions"; import { Packager } from "./packager"; import { PlatformPackager } from "./platformPackager"; export default class MacPackager extends PlatformPackager { readonly codeSigningInfo: Lazy; private _iconPath; constructor(info: Packager); readonly defaultTarget: Array; protected prepareAppInfo(appInfo: AppInfo): AppInfo; getIconPath(): Promise; createTargets(targets: Array, mapper: (name: string, factory: (outDir: string) => Target) => void): void; pack(outDir: string, arch: Arch, targets: Array, taskManager: AsyncTaskManager): Promise; private sign; private adjustSignOptions; protected doSign(opts: SignOptions): Promise; protected doFlat(appPath: string, outFile: string, identity: Identity, keychain: string | null | undefined): Promise; getElectronSrcDir(dist: string): string; getElectronDestinationDir(appOutDir: string): string; applyCommonInfo(appPlist: any, contentsPath: string): Promise; protected signApp(packContext: AfterPackContext, isAsar: boolean): Promise; }