import type { NmrConfig } from './types.js'; /** * Generates the help text for the `nmr` CLI. Renders only nmr commands — * names from the workspace and root registries, excluding hooks (`*:pre`, * `*:post`). * * When `packageDir` is provided, tier-3 entries from that package's * `package.json:scripts` that match a registry name in the active section * are inlined as overrides: the registry value is replaced with the * override value and the row's command name is suffixed with `*`. The * active section is the root section when `useRoot` is true (root cwd * or `-w`), otherwise the workspace section. A footnote is appended once * if any override marker was rendered. */ export declare function generateHelp(config: NmrConfig, packageDir: string | undefined, useRoot: boolean): string;