UNPKG

1.53 kBTypeScriptView Raw
1/**
2 * Copyright (c) Facebook, Inc. and its affiliates.
3 *
4 * This source code is licensed under the MIT license found in the
5 * LICENSE file in the root directory of this source tree.
6 *
7 */
8import { Config } from '@react-native-community/cli-types';
9import { BuildFlags } from './buildProject';
10export interface FlagsT extends BuildFlags {
11 configuration?: string;
12 simulator?: string;
13 device?: string | true;
14 udid?: string;
15 scheme?: string;
16}
17declare function buildIOS(_: Array<string>, ctx: Config, args: FlagsT): void | Promise<string>;
18export declare const iosBuildOptions: ({
19 name: string;
20 description: string;
21 default?: undefined;
22 parse?: undefined;
23} | {
24 name: string;
25 default: string | number;
26 parse: NumberConstructor;
27 description?: undefined;
28} | {
29 name: string;
30 description: string;
31 default: string | undefined;
32 parse?: undefined;
33})[];
34declare const _default: {
35 name: string;
36 description: string;
37 func: typeof buildIOS;
38 examples: {
39 desc: string;
40 cmd: string;
41 }[];
42 options: ({
43 name: string;
44 description: string;
45 default?: undefined;
46 parse?: undefined;
47 } | {
48 name: string;
49 default: string | number;
50 parse: NumberConstructor;
51 description?: undefined;
52 } | {
53 name: string;
54 description: string;
55 default: string | undefined;
56 parse?: undefined;
57 })[];
58};
59export default _default;
60//# sourceMappingURL=index.d.ts.map
\No newline at end of file