/**
 * Determines if a user input is a terminal command.
 * Checks if the input starts with a known terminal command or appears to be a terminal command pattern.
 *
 * @param {string} input - The user input to check.
 * @returns {boolean} True if the input appears to be a terminal command.
 */
export declare function isTerminalCommand(input: string): boolean;
/**
 * Executes a terminal command and returns the result.
 * Handles special cases like 'cd' that change the environment state.
 *
 * @param {string} command - The command to execute.
 * @returns {Promise<{stdout: string, stderr: string}>} The command execution result.
 */
export declare function executeTerminalCommand(command: string): Promise<{
    stdout: string;
    stderr: string;
}>;
/**
 * Executes a terminal command interactively, attaching stdin/stdout/stderr.
 * Useful for commands that require user interaction.
 *
 * @param {string} command - The command to execute.
 * @param {string[]} args - Arguments for the command.
 * @returns {Promise<number>} Exit code of the process.
 */
export declare function executeInteractiveCommand(command: string, args?: string[]): Promise<number>;
/**
 * Returns the current working directory.
 *
 * @returns {string} The current working directory.
 */
export declare function getCurrentWorkingDirectory(): string;
//# sourceMappingURL=terminal-commands.d.ts.map