import { CommandResult } from '../../utils/types.js'; import { BaseCLICommand } from './baseCommand.js'; /** * Base class for commands that use the session working directory with fallback to project root * Extends BaseCLICommand and adds working directory handling with fallback */ export declare abstract class SessionFallbackCommand extends BaseCLICommand { /** * Get the working directory from the session, or fall back to the project root if not set * @returns The working directory to use for the command */ protected getWorkingDirectoryWithFallback(): string; /** * Execute a command with working directory from session or fallback to project root * @param command The command to execute * @param args The command arguments * @param useMcpCwd Whether to use the MCP's current working directory instead of the working directory * @param stdinInput Optional input to write to stdin (for interactive commands) * @returns The command result */ protected executeWithFallback(command: string, args: string[], useMcpCwd?: boolean, stdinInput?: string): Promise; } //# sourceMappingURL=sessionFallbackCommand.d.ts.map