import type { CliLogger } from '../utils/logger.js'; import type { CliCommand, CliContext, ParsedArgs } from './types.js'; export interface CreateContextOptions { parsed?: ParsedArgs; logger?: CliLogger; write?: (line: string) => void; interactive?: boolean; telemetry?: boolean; } /** Create the command context without changing cwd or installing process handlers. */ export declare const createCliContext: (rawArgs: string[], cwd: string, commands: CliCommand[], options?: CreateContextOptions) => Promise;