/**
 * @fileoverview ESM empty module for Vite browser serving ONLY (via absolute file path)
 * @description Proxy-based noop that silently absorbs any property access or function call.
 * Used ONLY by Vite's resolveId hook (absolute path from PathResolver.getEmptyModulePath()).
 * NOT used via the @donotdev/core/empty package export — that resolves to empty.cjs
 * because bundlers (Turbopack, esbuild) statically analyze ESM and reject unknown named imports.
 * For all bundler alias targets, see empty.cjs (CJS = dynamic exports = any named import resolves).
 */
const handler = {
  get(_, prop) {
    if (prop === 'then') return undefined;
    return noop;
  },
  apply() {
    return noop;
  },
};
const noop = new Proxy(function () {}, handler);
export default noop;
export { noop as __esModule };
