import type { Command } from 'commander'; /** * Optional project selection shared by workspace actions, independently of Book and harness selection. * @private internal CLI options */ export type ProjectCliOptions = { readonly path?: string; }; /** * Registers project selection without capturing a directory during command registration. * @private internal CLI registration helper */ export declare function addProjectPathOption(command: Command): void; /** * Registers additional context independently of primary-agent selection. * @private internal CLI registration helper */ export declare function addProjectContextOption(command: Command): void; /** * Captures an invocation's directory at action time. No process-global state is changed. * @private internal CLI normalization helper */ export declare function normalizeProjectCliOptions(options: ProjectCliOptions, invocationDirectory?: string): { readonly projectDirectory: string; }; /** * Validates the selected directory before any setup writes, without selecting an enclosing Git root. * @private shared project resolution for CLI services */ export declare function resolveProjectDirectory(projectDirectory: string): Promise;