/** * Absolute path to the project root — the directory holding your * `absolute.config.*` (falling back to the nearest `package.json`, then * `process.cwd()`). Resolved once at import. * * Anchor runtime and data paths to this instead of `import.meta.dir` / * `import.meta.url`. Those resolve the *current module's* location, which is * your `src/` tree under `absolute dev` but the bundled `dist/` under * `absolute start` — so module-relative paths silently point somewhere else in * production. `projectRoot` is identical in both modes because the CLI runs * from the project root in both. * * @example * import { projectRoot } from '@absolutejs/absolute'; * const dbPath = resolve(projectRoot, '.data', 'app.sqlite'); */ export declare const projectRoot: string;