export declare const handleError: (error: unknown) => string;
/**
 * Changes the current working directory to the specified path.
 * Logs a warning if the target directory does not exist.
 */
export declare function cd(dir: string): Promise<void>;
/**
 * Returns the current working directory.
 */
export declare function pwd(): void;
/**
 * Removes a file or directory (recursively, if it's a directory).
 * Logs an error if removal fails.
 */
export declare function rm(target: string): Promise<void>;
/**
 * Returns the current working directory.
 */
export declare function getCurrentWorkingDirectory(useCache?: boolean): string;
