///
///
import { type ExtensionBundleManifest } from './constants';
export declare function sha256File(filePath: string): string;
export declare function sha256Buffer(buf: Buffer): string;
/**
* Install a local jsbundle into an App Group–style root directory
* (`{appGroupRoot}/expo-targets/bundles/{targetName}/`).
* Used by Node smokes and as the algorithm for the native install path.
*/
export declare function installExtensionBundleToRoot(opts: {
appGroupRoot: string;
targetName: string;
type: string;
runtimeVersion: string;
sourcePath: string;
}): ExtensionBundleManifest;
export declare function clearExtensionBundleFromRoot(appGroupRoot: string, targetName: string): void;
export declare function getExtensionBundleInfoFromRoot(appGroupRoot: string, targetName: string): ExtensionBundleManifest | null;
/** Validate an installed bundle against baked runtimeVersion + size cap. */
export declare function isInstalledBundleValid(opts: {
appGroupRoot: string;
targetName: string;
bakedRuntimeVersion: string;
}): boolean;
/**
* After an update lands under `updateAssetRoot` (containing expo-targets/bundles/…),
* sync each sidecar into the App Group root.
*/
export declare function syncExtensionBundlesFromUpdateAssets(opts: {
updateAssetRoot: string;
appGroupRoot: string;
targets: Array<{
targetName: string;
type: string;
runtimeVersion: string;
}>;
}): ExtensionBundleManifest[];
/** Write a publish-layout bundle + sidecar under distRoot (export helper). */
export declare function writePublishLayout(opts: {
distRoot: string;
targetName: string;
type: string;
runtimeVersion: string;
bundleBytes: Buffer;
}): {
bundlePath: string;
manifestPath: string;
};
//# sourceMappingURL=fsInstall.d.ts.map