@hot-updater/cli-tools 1.0.0-rc.1 → 1.0.0-rc.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -2,8 +2,7 @@ import { Readable } from "stream";
2
2
  import { Key as Key$1 } from "node:readline";
3
3
  import { Readable as Readable$1, Writable } from "node:stream";
4
4
  import { Bundle, BundleSigningPlugin, ConfigInput, LocalSigningConfig, Platform, RequiredDeep, SigningConfig, StoragePluginWith, StoragePutResult } from "@hot-updater/plugin-core";
5
- import * as _$_hot_updater_core0 from "@hot-updater/core";
6
-
5
+ import { ManifestArchive } from "@hot-updater/core";
7
6
  //#region src/BuildLogger.d.ts
8
7
  type LinePattern = string | RegExp;
9
8
  interface BuildLoggerConfig {
@@ -165,63 +164,17 @@ declare const copyDirToTmp: (dir: string, childDirname?: string) => Promise<{
165
164
  }>;
166
165
  //#endregion
167
166
  //#region src/createTarBr.d.ts
168
- declare const createTarBrTargetFiles: ({
169
- outfile,
170
- targetFiles
171
- }: {
172
- targetFiles: {
173
- path: string;
174
- name: string;
175
- }[];
167
+ /** Build the one supported bulk transport from the exact manifest file set. */
168
+ declare function createTarBrTargetFiles({ outfile, targetFiles }: {
176
169
  outfile: string;
177
- }) => Promise<string>;
178
- declare const createTarBr: ({
179
- outfile,
180
- targetDir,
181
- excludeExts
182
- }: {
183
- targetDir: string;
184
- outfile: string;
185
- excludeExts?: string[];
186
- }) => Promise<string>;
187
- //#endregion
188
- //#region src/createTarGz.d.ts
189
- declare const createTarGzTargetFiles: ({
190
- outfile,
191
- targetFiles
192
- }: {
193
170
  targetFiles: {
194
171
  path: string;
195
172
  name: string;
196
173
  }[];
197
- outfile: string;
198
- }) => Promise<string>;
199
- declare const createTarGz: ({
200
- outfile,
201
- targetDir,
202
- excludeExts
203
- }: {
204
- targetDir: string;
205
- outfile: string;
206
- excludeExts?: string[];
207
- }) => Promise<string>;
174
+ }): Promise<ManifestArchive>;
208
175
  //#endregion
209
176
  //#region src/createZip.d.ts
210
- declare const createZipTargetFiles: ({
211
- outfile,
212
- targetFiles
213
- }: {
214
- targetFiles: {
215
- path: string;
216
- name: string;
217
- }[];
218
- outfile: string;
219
- }) => Promise<string>;
220
- declare const createZip: ({
221
- outfile,
222
- targetDir,
223
- excludeExts
224
- }: {
177
+ declare const createZip: ({ outfile, targetDir, excludeExts }: {
225
178
  targetDir: string;
226
179
  outfile: string;
227
180
  excludeExts?: string[];
@@ -303,18 +256,8 @@ type WriteHotUpdaterConfigResult = {
303
256
  path: string;
304
257
  reason?: string;
305
258
  };
306
- declare const createHotUpdaterConfigScaffold: ({
307
- build,
308
- storage,
309
- database,
310
- extraImports,
311
- helperStatements,
312
- updateStrategy
313
- }: CreateHotUpdaterConfigScaffoldOptions) => HotUpdaterConfigScaffold;
314
- declare const createHotUpdaterConfigScaffoldFromBuilder: (builder: ConfigBuilder, {
315
- helperStatements,
316
- updateStrategy
317
- }?: CreateHotUpdaterConfigScaffoldFromBuilderOptions) => HotUpdaterConfigScaffold;
259
+ declare const createHotUpdaterConfigScaffold: ({ build, storage, database, extraImports, helperStatements, updateStrategy }: CreateHotUpdaterConfigScaffoldOptions) => HotUpdaterConfigScaffold;
260
+ declare const createHotUpdaterConfigScaffoldFromBuilder: (builder: ConfigBuilder, { helperStatements, updateStrategy }?: CreateHotUpdaterConfigScaffoldFromBuilderOptions) => HotUpdaterConfigScaffold;
318
261
  declare const writeHotUpdaterConfig: (scaffold: HotUpdaterConfigScaffold, filePath?: string) => Promise<WriteHotUpdaterConfigResult>;
319
262
  //#endregion
320
263
  //#region src/hotUpdaterEnv.d.ts
@@ -323,14 +266,38 @@ type HotUpdaterInitEnv = {
323
266
  readonly inputEnv?: Readonly<Record<string, string>>;
324
267
  readonly managedEnv: Readonly<Record<string, string>>;
325
268
  };
326
- declare const getHotUpdaterInitInputEnv: ({
327
- env,
328
- managedEnv
329
- }: HotUpdaterInitEnv, nonInteractive: boolean) => Readonly<Record<string, string>>;
269
+ declare const getHotUpdaterInitInputEnv: ({ env, managedEnv }: HotUpdaterInitEnv, nonInteractive: boolean) => Readonly<Record<string, string>>;
330
270
  declare const readHotUpdaterInitEnv: (cwd: string, envFile?: string) => Promise<HotUpdaterInitEnv>;
331
271
  declare const readHotUpdaterEnv: (cwd: string) => Promise<Readonly<Record<string, string>>>;
332
272
  declare const getHotUpdaterEnvValue: (env: Readonly<Record<string, string>>, key: string) => string | undefined;
333
273
  //#endregion
274
+ //#region src/hotUpdaterPlugins.d.ts
275
+ /** Where `hot-updater init` writes a managed server's plugin list. */
276
+ declare const HOT_UPDATER_PLUGINS_PATH = "hotUpdater.plugins.ts";
277
+ /**
278
+ * The plugins file for a managed provider: a re-export of the fixed list its
279
+ * package ships, which its prebuilt server runs too.
280
+ */
281
+ declare const renderHotUpdaterPlugins: (pkg: string) => string;
282
+ type WriteHotUpdaterPluginsResult = {
283
+ readonly status: "created" | "unchanged";
284
+ readonly path: string;
285
+ } | {
286
+ readonly status: "skipped";
287
+ readonly path: string;
288
+ readonly reason: string;
289
+ };
290
+ /** Writes the plugins file; an existing file that differs is kept. */
291
+ declare const writeHotUpdaterPlugins: (pkg: string, filePath?: string) => Promise<WriteHotUpdaterPluginsResult>;
292
+ /** Writes the plugins file for `pkg` and reports what happened. */
293
+ declare const generateHotUpdaterPlugins: (pkg: string, filePath?: string) => Promise<WriteHotUpdaterPluginsResult>;
294
+ /**
295
+ * The plugins a project's `hotUpdater.plugins.ts` exports, which its server
296
+ * runs; undefined when the project has no such file. The console assembles
297
+ * them in process to read Insights and API keys as the server would.
298
+ */
299
+ declare const loadHotUpdaterPlugins: (cwd?: string) => Promise<readonly unknown[] | undefined>;
300
+ //#endregion
334
301
  //#region src/HotUpdateDirUtil.d.ts
335
302
  declare const HotUpdateDirUtil: {
336
303
  readonly dirName: ".hot-updater";
@@ -338,41 +305,25 @@ declare const HotUpdateDirUtil: {
338
305
  readonly logDirName: "log";
339
306
  readonly outputGitignorePath: ".hot-updater/output";
340
307
  readonly logGitignorePath: ".hot-updater/log";
341
- readonly getDirPath: ({
342
- cwd
343
- }: {
308
+ readonly getDirPath: ({ cwd }: {
344
309
  cwd: string;
345
310
  }) => string;
346
- readonly getDefaultOutputPath: ({
347
- cwd
348
- }: {
311
+ readonly getDefaultOutputPath: ({ cwd }: {
349
312
  cwd: string;
350
313
  }) => string;
351
- readonly getLogDirPath: ({
352
- cwd
353
- }: {
314
+ readonly getLogDirPath: ({ cwd }: {
354
315
  cwd: string;
355
316
  }) => string;
356
317
  };
357
318
  //#endregion
358
319
  //#region src/infrastructureGeneration.d.ts
359
320
  type Fetch = typeof fetch;
360
- declare const assertInfrastructureGenerationPayload: ({
361
- payload,
362
- provider,
363
- resource
364
- }: {
321
+ declare const assertInfrastructureGenerationPayload: ({ payload, provider, resource }: {
365
322
  readonly payload: unknown;
366
323
  readonly provider: string;
367
324
  readonly resource: string;
368
325
  }) => void;
369
- declare const assertInfrastructureGenerationAtUrl: ({
370
- fetchImpl,
371
- legacyStatuses,
372
- provider,
373
- resource,
374
- versionUrl
375
- }: {
326
+ declare const assertInfrastructureGenerationAtUrl: ({ fetchImpl, legacyStatuses, provider, resource, versionUrl }: {
376
327
  readonly fetchImpl?: Fetch;
377
328
  readonly legacyStatuses?: readonly number[];
378
329
  readonly provider: string;
@@ -410,10 +361,7 @@ type InitProviderDefinition<TInputs extends InitProviderInputsDefinition = InitP
410
361
  readonly label: string;
411
362
  };
412
363
  declare const defineInitProvider: <const TInputs extends InitProviderInputsDefinition>(provider: InitProviderDefinition<TInputs>) => InitProviderDefinition<TInputs>;
413
- declare const shouldAutoSelectOnlyInitResource: ({
414
- availableResourceCount,
415
- savedIdentifier
416
- }: {
364
+ declare const shouldAutoSelectOnlyInitResource: ({ availableResourceCount, savedIdentifier }: {
417
365
  readonly availableResourceCount: number;
418
366
  readonly savedIdentifier?: string;
419
367
  }) => boolean;
@@ -423,40 +371,23 @@ declare const getInitProviderTextPromptValues: (prompt: InitProviderTextPromptDe
423
371
  };
424
372
  declare const resolveInitProviderInput: (env: Readonly<Record<string, string>>, input: InitProviderInputDefinition) => string | undefined;
425
373
  declare const resolveInitProviderInputs: (env: Readonly<Record<string, string>>, provider: InitProviderDefinition) => Readonly<Record<string, string | undefined>>;
426
- declare const getMissingInitProviderInputs: ({
427
- inputs,
428
- preflightOnly,
429
- provider
430
- }: {
374
+ declare const getMissingInitProviderInputs: ({ inputs, preflightOnly, provider }: {
431
375
  readonly inputs: Readonly<Record<string, string | undefined>>;
432
376
  readonly preflightOnly?: boolean;
433
377
  readonly provider: InitProviderDefinition;
434
378
  }) => readonly string[];
435
- declare const assertInitProviderInputs: <TInputs extends InitProviderInputsDefinition>({
436
- inputs,
437
- provider,
438
- strict
439
- }: {
379
+ declare const assertInitProviderInputs: <TInputs extends InitProviderInputsDefinition>({ inputs, provider, strict }: {
440
380
  readonly inputs: Readonly<Record<string, string | undefined>>;
441
381
  readonly provider: InitProviderDefinition<TInputs>;
442
382
  readonly strict?: boolean;
443
383
  }) => void;
444
- declare const confirmInitInputPersistence: <TInputs extends InitProviderInputsDefinition>({
445
- existingEnv,
446
- inputs,
447
- nonInteractive,
448
- provider
449
- }: {
384
+ declare const confirmInitInputPersistence: <TInputs extends InitProviderInputsDefinition>({ existingEnv, inputs, nonInteractive, provider }: {
450
385
  readonly existingEnv: Readonly<Record<string, string>>;
451
386
  readonly inputs: Readonly<Record<string, string | undefined>>;
452
387
  readonly nonInteractive: boolean;
453
388
  readonly provider: InitProviderDefinition<TInputs>;
454
389
  }) => Promise<boolean>;
455
- declare const getInitProviderEnvVars: <TInputs extends InitProviderInputsDefinition>({
456
- includeConsentInputs,
457
- inputs,
458
- provider
459
- }: {
390
+ declare const getInitProviderEnvVars: <TInputs extends InitProviderInputsDefinition>({ includeConsentInputs, inputs, provider }: {
460
391
  readonly includeConsentInputs: boolean;
461
392
  readonly inputs: Readonly<Record<string, string | undefined>>;
462
393
  readonly provider: InitProviderDefinition<TInputs>;
@@ -482,10 +413,7 @@ declare class LegacyInfrastructureError extends InitError {
482
413
  readonly name = "LegacyInfrastructureError";
483
414
  constructor(provider: string, resource: string);
484
415
  }
485
- declare const assertInitInputs: ({
486
- inputs,
487
- strict
488
- }: {
416
+ declare const assertInitInputs: ({ inputs, strict }: {
489
417
  readonly inputs: Readonly<Record<string, string | undefined>>;
490
418
  readonly strict?: boolean;
491
419
  }) => void;
@@ -499,10 +427,7 @@ type HotUpdaterLogWriter = {
499
427
  close: () => Promise<void>;
500
428
  };
501
429
  declare const stripAnsi: (value: string) => string;
502
- declare const createLogWriter: ({
503
- prefix,
504
- logFilePath
505
- }: {
430
+ declare const createLogWriter: ({ prefix, logFilePath }: {
506
431
  prefix: string;
507
432
  logFilePath?: string;
508
433
  }) => Promise<HotUpdaterLogWriter>;
@@ -545,12 +470,7 @@ declare const makeEnv: (newEnvVars: Record<string, EnvVarValue>, filePath?: stri
545
470
  //#region src/promoteBundle.d.ts
546
471
  type PromoteStoragePlugin = StoragePluginWith<"get" | "put" | "exists" | "delete">;
547
472
  declare const LEGACY_BUNDLE_ERROR = "This OTA bundle was created by a version that does not support manifest.json. Copy bundle is not available.";
548
- declare function createCopiedBundleArchive({
549
- bundle,
550
- config,
551
- nextBundleId,
552
- storagePlugin
553
- }: {
473
+ declare function createCopiedBundleArtifacts({ bundle, config, nextBundleId, storagePlugin }: {
554
474
  bundle: Bundle;
555
475
  config: ConfigResponse;
556
476
  nextBundleId: string;
@@ -558,15 +478,12 @@ declare function createCopiedBundleArchive({
558
478
  }): Promise<{
559
479
  bundle: {
560
480
  id: string;
561
- archiveByteSize: number;
562
- storageUri: string;
563
- fileHash: string;
564
- metadata: _$_hot_updater_core0.BundleMetadata | undefined;
481
+ metadata: import("@hot-updater/core").BundleMetadata | undefined;
565
482
  assetBaseStorageUri: string;
566
483
  patches: never[];
567
484
  manifestFileHash: string;
568
485
  manifestStorageUri: string;
569
- platform: _$_hot_updater_core0.Platform;
486
+ platform: import("@hot-updater/core").Platform;
570
487
  gitCommitHash: string | null;
571
488
  };
572
489
  uploadedStorageUris: string[];
@@ -625,12 +542,18 @@ interface ClackSettings {
625
542
  * Date prompt localization
626
543
  */
627
544
  date?: {
628
- /** Month names for validation messages (January, February, ...) */monthNames?: string[];
545
+ /** Month names for validation messages (January, February, ...) */
546
+ monthNames?: string[];
629
547
  messages?: {
630
- /** Shown when date is missing */required?: string; /** Shown when month > 12 */
631
- invalidMonth?: string; /** (days, monthName) => message for invalid day */
632
- invalidDay?: (days: number, month: string) => string; /** (min) => message when date is before minDate */
633
- afterMin?: (min: Date) => string; /** (max) => message when date is after maxDate */
548
+ /** Shown when date is missing */
549
+ required?: string;
550
+ /** Shown when month > 12 */
551
+ invalidMonth?: string;
552
+ /** (days, monthName) => message for invalid day */
553
+ invalidDay?: (days: number, month: string) => string;
554
+ /** (min) => message when date is before minDate */
555
+ afterMin?: (min: Date) => string;
556
+ /** (max) => message when date is after maxDate */
634
557
  beforeMax?: (max: Date) => string;
635
558
  };
636
559
  };
@@ -749,12 +672,6 @@ declare namespace StandardSchemaV1 {
749
672
  * ```
750
673
  */
751
674
  type Validate<TValue> = ((value: TValue | undefined) => string | Error | undefined) | StandardSchemaV1<TValue | undefined, unknown>;
752
- /**
753
- * Runs the `validate()` option and normalizes the result
754
- * @param validate - The validate option
755
- * @param value - The user input
756
- * @returns the validation result
757
- */
758
675
  interface PromptOptions<TValue, Self extends Prompt<TValue>> {
759
676
  render(this: Omit<Self, 'prompt'>): string | undefined;
760
677
  initialValue?: any;
@@ -1246,12 +1163,12 @@ interface DateOptions extends CommonOptions {
1246
1163
  * ```
1247
1164
  */
1248
1165
  declare const date: (opts: DateOptions) => Promise<Date | symbol>;
1249
- type Prettify<T> = { [P in keyof T]: T[P] } & {};
1166
+ type Prettify<T> = { [P in keyof T]: T[P]; } & {};
1250
1167
  /**
1251
1168
  * The return type of a {@link PromptGroup}.
1252
1169
  * Resolves all prompt results, excluding the cancel symbol.
1253
1170
  */
1254
- type PromptGroupAwaitedReturn<T> = { [P in keyof T]: Exclude<Awaited<T[P]>, symbol> };
1171
+ type PromptGroupAwaitedReturn<T> = { [P in keyof T]: Exclude<Awaited<T[P]>, symbol>; };
1255
1172
  /**
1256
1173
  * Options for the {@link group} utility.
1257
1174
  */
@@ -1269,7 +1186,7 @@ interface PromptGroupOptions<T> {
1269
1186
  */
1270
1187
  type PromptGroup<T> = { [P in keyof T]: (opts: {
1271
1188
  results: Prettify<Partial<PromptGroupAwaitedReturn<Omit<T, P>>>>;
1272
- }) => undefined | Promise<T[P] | undefined> };
1189
+ }) => undefined | Promise<T[P] | undefined>; };
1273
1190
  /**
1274
1191
  * The `group` utility provides a consistent way to combine a series of prompts,
1275
1192
  * combining each answer into one object. Each prompt receives the results of
@@ -1427,32 +1344,19 @@ interface LimitOptionsParams<TOption> extends CommonOptions {
1427
1344
  * });
1428
1345
  * ```
1429
1346
  */
1430
- declare const limitOptions: <TOption>({
1431
- cursor,
1432
- options,
1433
- style,
1434
- output,
1435
- maxItems,
1436
- columnPadding,
1437
- rowPadding
1438
- }: LimitOptionsParams<TOption>) => string[];
1347
+ declare const limitOptions: <TOption>({ cursor, options, style, output, maxItems, columnPadding, rowPadding }: LimitOptionsParams<TOption>) => string[];
1439
1348
  interface LogMessageOptions extends CommonOptions {
1440
1349
  symbol?: string;
1441
1350
  spacing?: number;
1442
1351
  secondarySymbol?: string;
1443
1352
  }
1444
1353
  declare const log$1: {
1445
- message: (message?: string | string[], {
1446
- symbol,
1447
- secondarySymbol,
1448
- output,
1449
- spacing,
1450
- withGuide
1451
- }?: LogMessageOptions) => void;
1354
+ message: (message?: string | string[], { symbol, secondarySymbol, output, spacing, withGuide }?: LogMessageOptions) => void;
1452
1355
  info: (message: string, opts?: LogMessageOptions) => void;
1453
1356
  success: (message: string, opts?: LogMessageOptions) => void;
1454
1357
  step: (message: string, opts?: LogMessageOptions) => void;
1455
- warn: (message: string, opts?: LogMessageOptions) => void; /** alias for `log.warn()`. */
1358
+ warn: (message: string, opts?: LogMessageOptions) => void;
1359
+ /** alias for `log.warn()`. */
1456
1360
  warning: (message: string, opts?: LogMessageOptions) => void;
1457
1361
  error: (message: string, opts?: LogMessageOptions) => void;
1458
1362
  };
@@ -1712,17 +1616,7 @@ interface SpinnerResult {
1712
1616
  clear(): void;
1713
1617
  readonly isCancelled: boolean;
1714
1618
  }
1715
- declare const spinner: ({
1716
- indicator,
1717
- onCancel,
1718
- output,
1719
- cancelMessage,
1720
- errorMessage,
1721
- frames,
1722
- delay,
1723
- signal,
1724
- ...opts
1725
- }?: SpinnerOptions) => SpinnerResult;
1619
+ declare const spinner: ({ indicator, onCancel, output, cancelMessage, errorMessage, frames, delay, signal, ...opts }?: SpinnerOptions) => SpinnerResult;
1726
1620
  interface ProgressOptions extends SpinnerOptions {
1727
1621
  style?: 'light' | 'heavy' | 'block';
1728
1622
  max?: number;
@@ -1731,12 +1625,7 @@ interface ProgressOptions extends SpinnerOptions {
1731
1625
  interface ProgressResult extends SpinnerResult {
1732
1626
  advance(step?: number, msg?: string): void;
1733
1627
  }
1734
- declare function progress({
1735
- style,
1736
- max: userMax,
1737
- size: userSize,
1738
- ...spinnerOptions
1739
- }?: ProgressOptions): ProgressResult;
1628
+ declare function progress({ style, max: userMax, size: userSize, ...spinnerOptions }?: ProgressOptions): ProgressResult;
1740
1629
  interface SelectKeyOptions<Value extends string> extends CommonOptions {
1741
1630
  message: string;
1742
1631
  options: Option<Value>[];
@@ -1745,13 +1634,12 @@ interface SelectKeyOptions<Value extends string> extends CommonOptions {
1745
1634
  }
1746
1635
  declare const selectKey: <Value extends string>(opts: SelectKeyOptions<Value>) => Promise<Value | symbol>;
1747
1636
  declare const stream: {
1748
- message: (iterable: Iterable<string> | AsyncIterable<string>, {
1749
- symbol
1750
- }?: LogMessageOptions) => Promise<void>;
1637
+ message: (iterable: Iterable<string> | AsyncIterable<string>, { symbol }?: LogMessageOptions) => Promise<void>;
1751
1638
  info: (iterable: Iterable<string> | AsyncIterable<string>) => Promise<void>;
1752
1639
  success: (iterable: Iterable<string> | AsyncIterable<string>) => Promise<void>;
1753
1640
  step: (iterable: Iterable<string> | AsyncIterable<string>) => Promise<void>;
1754
- warn: (iterable: Iterable<string> | AsyncIterable<string>) => Promise<void>; /** alias for `log.warn()`. */
1641
+ warn: (iterable: Iterable<string> | AsyncIterable<string>) => Promise<void>;
1642
+ /** alias for `log.warn()`. */
1755
1643
  warning: (iterable: Iterable<string> | AsyncIterable<string>) => Promise<void>;
1756
1644
  error: (iterable: Iterable<string> | AsyncIterable<string>) => Promise<void>;
1757
1645
  };
@@ -1833,7 +1721,7 @@ declare const transformEnv: <T extends Record<string, string>>(filename: string,
1833
1721
  //#endregion
1834
1722
  //#region src/transformTemplate.d.ts
1835
1723
  type ExtractPlaceholders<T extends string> = T extends `${infer _Start}%%${infer Key}%%${infer Rest}` ? Key | ExtractPlaceholders<Rest> : never;
1836
- type TransformTemplateArgs<T extends string> = { [Key in ExtractPlaceholders<T>]: string };
1724
+ type TransformTemplateArgs<T extends string> = { [Key in ExtractPlaceholders<T>]: string; };
1837
1725
  /**
1838
1726
  * Replaces placeholders in the format %%key%% in a template string with values from the values object.
1839
1727
  * Uses generic type T to automatically infer placeholder keys from the template string to ensure type safety.
@@ -1845,4 +1733,4 @@ type TransformTemplateArgs<T extends string> = { [Key in ExtractPlaceholders<T>]
1845
1733
  */
1846
1734
  declare function transformTemplate<T extends string>(templateString: T, values: TransformTemplateArgs<T>): string;
1847
1735
  //#endregion
1848
- export { BuildLogger, BuildLoggerConfig, BuildType, BundleSigningSession, ConfigBuilder, ConfigBuilderScaffold, ConfigResponse, CreateHotUpdaterConfigScaffoldFromBuilderOptions, CreateHotUpdaterConfigScaffoldOptions, HOT_UPDATER_SERVER_PACKAGE_VERSION_ENV, HotUpdateDirUtil, HotUpdaterConfigOptions, HotUpdaterConfigScaffold, HotUpdaterInitEnv, HotUpdaterLogWriter, IConfigBuilder, ImportInfo, InitEnvFileError, InitError, InitProviderDefinition, InitProviderInputDefinition, InitProviderInputPersistence, LEGACY_BUNDLE_ERROR, LegacyInfrastructureError, ManagedHelperStatement, ManagedHelperStrategy, MissingInitInputsError, PromptProgress, PromptSpinner, ProviderConfig, ReactNativeMetadata, ReadPackageUpResult, RunInitOptions, WriteHotUpdaterConfigResult, assertInfrastructureGenerationAtUrl, assertInfrastructureGenerationPayload, assertInitInputs, assertInitProviderInputs, banner, typedColors as colors, confirmInitInputPersistence, copyDirToTmp, createCopiedBundleArchive, createHotUpdaterConfigScaffold, createHotUpdaterConfigScaffoldFromBuilder, createLogWriter, createTarBr, createTarBrTargetFiles, createTarGz, createTarGzTargetFiles, createZip, createZipTargetFiles, decryptJson, defineInitProvider, encryptJson, ensureInstallPackages, formatApiKeyNote, getAndroidSdkPath, getBundleSigningPublicKey, getCwd, getHotUpdaterEnvValue, getHotUpdaterInitInputEnv, getInitProviderEnvVars, getInitProviderTextPromptValues, getMissingInitInputs, getMissingInitProviderInputs, getPackageManager, getReactNativeMetadatas, getStorageFileByteSize, link, loadConfig, log, makeEnv, p, prepareBundleSigning, printBanner, putStorageFile, readBundleSigningPublicKeyFile, readHotUpdaterEnv, readHotUpdaterInitEnv, readPackageUp, renderImportStatements, resolveHotUpdaterServerVersion, resolveInitProviderInput, resolveInitProviderInputs, resolvePackageVersion, shouldAutoSelectOnlyInitResource, stripAnsi, transformEnv, transformTemplate, writeHotUpdaterConfig, writeStorageFile, writeStorageResponseFile };
1736
+ export { BuildLogger, BuildLoggerConfig, BuildType, BundleSigningSession, ConfigBuilder, ConfigBuilderScaffold, ConfigResponse, CreateHotUpdaterConfigScaffoldFromBuilderOptions, CreateHotUpdaterConfigScaffoldOptions, HOT_UPDATER_PLUGINS_PATH, HOT_UPDATER_SERVER_PACKAGE_VERSION_ENV, HotUpdateDirUtil, HotUpdaterConfigOptions, HotUpdaterConfigScaffold, HotUpdaterInitEnv, HotUpdaterLogWriter, IConfigBuilder, ImportInfo, InitEnvFileError, InitError, InitProviderDefinition, InitProviderInputDefinition, InitProviderInputPersistence, LEGACY_BUNDLE_ERROR, LegacyInfrastructureError, ManagedHelperStatement, ManagedHelperStrategy, MissingInitInputsError, PromptProgress, PromptSpinner, ProviderConfig, ReactNativeMetadata, ReadPackageUpResult, RunInitOptions, WriteHotUpdaterConfigResult, WriteHotUpdaterPluginsResult, assertInfrastructureGenerationAtUrl, assertInfrastructureGenerationPayload, assertInitInputs, assertInitProviderInputs, banner, typedColors as colors, confirmInitInputPersistence, copyDirToTmp, createCopiedBundleArtifacts, createHotUpdaterConfigScaffold, createHotUpdaterConfigScaffoldFromBuilder, createLogWriter, createTarBrTargetFiles, createZip, decryptJson, defineInitProvider, encryptJson, ensureInstallPackages, formatApiKeyNote, generateHotUpdaterPlugins, getAndroidSdkPath, getBundleSigningPublicKey, getCwd, getHotUpdaterEnvValue, getHotUpdaterInitInputEnv, getInitProviderEnvVars, getInitProviderTextPromptValues, getMissingInitInputs, getMissingInitProviderInputs, getPackageManager, getReactNativeMetadatas, getStorageFileByteSize, link, loadConfig, loadHotUpdaterPlugins, log, makeEnv, p, prepareBundleSigning, printBanner, putStorageFile, readBundleSigningPublicKeyFile, readHotUpdaterEnv, readHotUpdaterInitEnv, readPackageUp, renderHotUpdaterPlugins, renderImportStatements, resolveHotUpdaterServerVersion, resolveInitProviderInput, resolveInitProviderInputs, resolvePackageVersion, shouldAutoSelectOnlyInitResource, stripAnsi, transformEnv, transformTemplate, writeHotUpdaterConfig, writeHotUpdaterPlugins, writeStorageFile, writeStorageResponseFile };