'use strict';

var chunk67M7TOOV_cjs = require('./chunk-67M7TOOV.cjs');
var chunkAF3E2D32_cjs = require('./chunk-AF3E2D32.cjs');

// src/prepare/runtime/runtime/shared/storage.ts
function writeStorage(context) {
  return `${chunk67M7TOOV_cjs.getFileHeader()}

import { createStorage } from "unstorage";
${context.runtime.storage.map((storage) => storage.import).filter(Boolean).join("\n")}

export const storage = createStorage();

${context.runtime.storage.map((storage) => {
    return `storage.mount("${storage.namespace}", ${storage.name});`;
  }).join("\n")}
`;
}
chunkAF3E2D32_cjs.__name(writeStorage, "writeStorage");

exports.writeStorage = writeStorage;
//# sourceMappingURL=chunk-J4GZ62WR.cjs.map
//# sourceMappingURL=chunk-J4GZ62WR.cjs.map