1 |
|
2 | import { Readable, Stream } from 'stream';
|
3 | import lazystream from 'lazystream';
|
4 | import pumpify from 'pumpify';
|
5 | import { BuildTargetDescriptor } from './buildTargets';
|
6 | import { ComponentType } from './componentTargets';
|
7 | import { DiagnosticCategory, DiagnosticHandler } from './diagnostics';
|
8 | import ProjectConfiguration from './ProjectConfiguration';
|
9 | export { DiagnosticCategory };
|
10 | export declare function generateBuildId(): string;
|
11 | export declare function loadProjectConfig({ hasNativeComponents, onDiagnostic, fileName, }: {
|
12 | hasNativeComponents?: boolean | undefined;
|
13 | onDiagnostic?: DiagnosticHandler | undefined;
|
14 | fileName?: string | undefined;
|
15 | }): import("./ProjectConfiguration").AppProjectConfiguration | import("./ProjectConfiguration").ClockProjectConfiguration;
|
16 | export declare function buildComponent({ projectConfig, component, onDiagnostic, }: {
|
17 | projectConfig: ProjectConfiguration;
|
18 | component: ComponentType;
|
19 | onDiagnostic?: DiagnosticHandler;
|
20 | }): lazystream.Readable | undefined;
|
21 | export declare function buildDeviceResources(projectConfig: ProjectConfiguration, { resourceFilterTag }: BuildTargetDescriptor, onDiagnostic?: DiagnosticHandler): pumpify;
|
22 | export declare function buildDeviceComponents({ projectConfig, buildId, onDiagnostic, }: {
|
23 | projectConfig: ProjectConfiguration;
|
24 | buildId: string;
|
25 | onDiagnostic?: DiagnosticHandler;
|
26 | }): NodeJS.ReadableStream;
|
27 | export declare function buildCompanion({ projectConfig, buildId, onDiagnostic, }: {
|
28 | projectConfig: ProjectConfiguration;
|
29 | buildId: string;
|
30 | onDiagnostic?: DiagnosticHandler;
|
31 | }): lazystream.Readable | undefined;
|
32 | export declare function buildAppPackage({ projectConfig, buildId, existingDeviceComponents, onDiagnostic, }: {
|
33 | projectConfig: ProjectConfiguration;
|
34 | buildId: string;
|
35 | existingDeviceComponents?: Readable;
|
36 | onDiagnostic?: DiagnosticHandler;
|
37 | }): pumpify;
|
38 | export declare function buildProject({ nativeDeviceComponentPaths, onDiagnostic, }: {
|
39 | nativeDeviceComponentPaths?: string[];
|
40 | onDiagnostic?: DiagnosticHandler;
|
41 | }): pumpify;
|
42 | export declare function build({ dest, onDiagnostic, nativeDeviceComponentPaths, }?: {
|
43 | dest?: Stream;
|
44 | nativeDeviceComponentPaths?: string[];
|
45 | onDiagnostic?: DiagnosticHandler;
|
46 | }): Promise<void>;
|