///
///
///
///
///
import { type SpawnSyncReturns } from 'node:child_process';
export type HermesExportRunner = (command: string, args: string[], opts: {
cwd: string;
env: NodeJS.ProcessEnv;
stdio: 'inherit' | 'pipe';
}) => SpawnSyncReturns;
export type HermesExportOptions = {
projectRoot: string;
/** Project-root relative or absolute entry (targets/.../index.tsx). */
entryFile: string;
/** Absolute path for main.jsbundle (Hermes bytecode when bytecode=true). */
bundleOutput: string;
/** Optional assets dest for images referenced by the entry. */
assetsDest?: string;
bytecode?: boolean;
platform?: 'ios' | 'android';
/** Injectable for tests. */
run?: HermesExportRunner;
};
/**
* Bundle a RN extension entry with Expo `export:embed` (Hermes bytecode by default).
* Same engine path Xcode uses for Release embed, suitable for App Group sideload.
*/
export declare function exportTargetHermesBundle(options: HermesExportOptions): {
bundleOutput: string;
};
/** Write a Metro-requireable map for host Asset.fromModule resolution. */
export declare function writeExtensionBundleAssetModules(opts: {
assetsRoot: string;
targetNames: string[];
}): string;
//# sourceMappingURL=hermesExport.d.ts.map