/**
 * CLI parsed-options + context builder.
 *
 * Extracted from `cli/index.ts` so command modules can import
 * `getContextWithOpts` without pulling the full CLI wiring graph (which
 * imports `command-loaders.ts`, which lazy-imports every command file). Before
 * this split, every command file circularly depended on `cli/index.ts` →
 * `command-loaders.ts` → that same command file.
 */
import { type CLIContext } from './registry.js';
/**
 * Global parsed options — updated before each command via the Commander
 * `preAction` hook in `cli/index.ts`.
 */
export declare const parsedOpts: {
    config?: string;
    workspace?: string;
    verbose?: boolean;
};
export declare function getContextWithOpts(argv?: string[]): CLIContext;
