74 lines
1.9 KiB
TypeScript
74 lines
1.9 KiB
TypeScript
import { Config } from '@react-native-community/cli-types';
|
|
export interface BuildFlags {
|
|
mode?: string;
|
|
variant?: string;
|
|
activeArchOnly?: boolean;
|
|
packager?: boolean;
|
|
port: number;
|
|
terminal: string;
|
|
tasks?: Array<string>;
|
|
extraParams?: Array<string>;
|
|
interactive?: boolean;
|
|
}
|
|
export declare function runPackager(args: BuildFlags, config: Config): Promise<void>;
|
|
declare function buildAndroid(_argv: Array<string>, config: Config, args: BuildFlags): Promise<void>;
|
|
export declare function build(gradleArgs: string[], sourceDir: string): void;
|
|
export declare const options: ({
|
|
name: string;
|
|
description: string;
|
|
default?: undefined;
|
|
parse?: undefined;
|
|
} | {
|
|
name: string;
|
|
default: string | number;
|
|
parse: NumberConstructor;
|
|
description?: undefined;
|
|
} | {
|
|
name: string;
|
|
description: string;
|
|
default: string | undefined;
|
|
parse?: undefined;
|
|
} | {
|
|
name: string;
|
|
description: string;
|
|
parse: (val: string) => string[];
|
|
default?: undefined;
|
|
} | {
|
|
name: string;
|
|
description: string;
|
|
default: boolean;
|
|
parse?: undefined;
|
|
})[];
|
|
declare const _default: {
|
|
name: string;
|
|
description: string;
|
|
func: typeof buildAndroid;
|
|
options: ({
|
|
name: string;
|
|
description: string;
|
|
default?: undefined;
|
|
parse?: undefined;
|
|
} | {
|
|
name: string;
|
|
default: string | number;
|
|
parse: NumberConstructor;
|
|
description?: undefined;
|
|
} | {
|
|
name: string;
|
|
description: string;
|
|
default: string | undefined;
|
|
parse?: undefined;
|
|
} | {
|
|
name: string;
|
|
description: string;
|
|
parse: (val: string) => string[];
|
|
default?: undefined;
|
|
} | {
|
|
name: string;
|
|
description: string;
|
|
default: boolean;
|
|
parse?: undefined;
|
|
})[];
|
|
};
|
|
export default _default;
|
|
//# sourceMappingURL=index.d.ts.map
|