import type { NmrConfig } from './types.js'; /** * Loads the nmr configuration from `.config/nmr.config.ts` under `baseDir`, which is the monorepo root for * the repo-wide config and a package directory for the workspace tier. Returns an empty config if the file * doesn't exist. */ export declare function loadConfig(baseDir: string): Promise; /** * Loads the monorepo-root `.config/nmr.config.ts`, the tier that feeds script resolution and `devBin`. * Returns an empty config if the file doesn't exist. * * Throws on a recognized key this tier does not honor. `build` governs one package's compile, which reads the * package's own config alone, so a `build` accepted here would apply its patterns nowhere. */ export declare function loadRootConfig(monorepoRoot: string): Promise; /** * Loads a single package's `.config/nmr.config.ts`, the tier `nmr-compile` reads from its working directory. * Returns an empty config if the file doesn't exist. * * Throws on a recognized key this tier does not honor. Dropping one would leave a package building on * settings its own config file appears to change, which nothing in the build's output would reveal. */ export declare function loadWorkspaceConfig(packageDir: string): Promise;