/** * Env var holding the dist directory. The CLI sets it from `--dist-dir` or * `dist_dir` in bunext.config.ts before any other module loads: most * modules read the directory names once, at import time. Child processes * (dev/start servers) inherit it. */ export declare const DistDirEnvName = "BUNEXT_DIST_DIR"; type Params = { dist_dir?: string; root_dir: string; }; /** * # Resolve the dist directory * Returns the absolute path of the build artifact directory. `dist_dir` is * relative to the project root (or absolute) and must sit inside it: the * dev watcher only watches the project root, and checks it is alive through * a probe file in the dist directory. Its relative path is also the URL * path of the client bundles, so it is limited to URL-safe characters. */ export declare function resolveDistDir({ dist_dir, root_dir }: Params): string; export {};