import type { Command } from 'commander';
import type { CommandOpts } from '../types.js';
declare const config: import("../../types.js").CodegraphConfig;
/**
 * Attach the common query options shared by most analysis commands.
 */
export declare function applyQueryOpts(cmd: Command): Command;
/**
 * Resolve the effective noTests value: CLI flag > config > false.
 * Commander sets opts.tests to false when --no-tests is passed.
 * When --include-tests is passed, always return false (include tests).
 * Otherwise, fall back to config.query.excludeTests.
 */
export declare function resolveNoTests(opts: CommandOpts): boolean;
/**
 * Extract the common query option fields shared by most analysis commands.
 *
 * Spreads cleanly into per-command option objects:
 *   `{ ...resolveQueryOpts(opts), depth: parseInt(opts.depth, 10) }`
 */
export declare function resolveQueryOpts(opts: CommandOpts): CommandOpts;
export declare function formatSize(bytes: number): string;
export { config };
//# sourceMappingURL=options.d.ts.map