1 | import { Arch } from "builder-util";
|
2 | import { PackagerOptions, Platform } from "app-builder-lib";
|
3 | import { PublishOptions } from "electron-publish";
|
4 | import * as yargs from "yargs";
|
5 | export declare function createYargs(): yargs.Argv<unknown>;
|
6 | export interface BuildOptions extends PackagerOptions, PublishOptions {
|
7 | }
|
8 | export interface CliOptions extends PackagerOptions, PublishOptions {
|
9 | x64?: boolean;
|
10 | ia32?: boolean;
|
11 | armv7l?: boolean;
|
12 | arm64?: boolean;
|
13 | universal?: boolean;
|
14 | dir?: boolean;
|
15 | }
|
16 |
|
17 | export declare function normalizeOptions(args: CliOptions): BuildOptions;
|
18 |
|
19 | export declare function coerceTypes(host: any): any;
|
20 | export declare function createTargets(platforms: Array<Platform>, type?: string | null, arch?: string | null): Map<Platform, Map<Arch, Array<string>>>;
|
21 | export declare function build(rawOptions?: CliOptions): Promise<Array<string>>;
|
22 |
|
23 |
|
24 |
|
25 | export declare function configureBuildCommand(yargs: yargs.Argv): yargs.Argv;
|