import { DmgOptions, MacPackager, PlatformPackager } from "app-builder-lib"; import { TmpDir } from "builder-util"; export { DmgTarget } from "./dmg"; export declare function getDmgTemplatePath(): string; export declare function attachAndExecute(dmgPath: string, readWrite: boolean, forceDetach: boolean, task: (devicePath: string) => Promise): Promise; export declare function detach(name: string, alwaysForce: boolean): Promise; export declare function computeBackground(packager: PlatformPackager): Promise; type DmgBuilderConfig = { appPath: string; artifactPath: string; volumeName: string; specification: DmgOptions; packager: MacPackager; }; export declare function customizeDmg({ appPath, artifactPath, volumeName, specification, packager }: DmgBuilderConfig): Promise; export declare function transformBackgroundFileIfNeed(file: string, tmpDir: TmpDir): Promise; export declare function getImageSizeUsingSips(background: string): Promise<{ width: number; height: number; }>;