import { createRequire as _createRequire } from 'node:module';
const require = _createRequire(import.meta.url);
import {
  readAppManifest
} from "./chunk-HWET32VV.js";
import {
  getAppManifestPath,
  writeJson
} from "./chunk-UVMRGZ5H.js";
import {
  init_esm_shims
} from "./chunk-PYIAC2GK.js";

// src/app-manifest/file.ts
init_esm_shims();
async function writeAppManifestFile({
  projectFolder,
  manifest
}) {
  const manifestPath = getAppManifestPath(projectFolder);
  return writeJson(manifestPath, manifest);
}
async function readAppManifestFile(projectFolder) {
  const manifestPath = getAppManifestPath(projectFolder);
  return readAppManifest(manifestPath);
}

export {
  writeAppManifestFile,
  readAppManifestFile
};
//# sourceMappingURL=chunk-KUGUNAKD.js.map