import type { ExecException } from "node:child_process"; import type { Command } from "@oclif/core"; import moment from "moment"; export declare let mostRecentCommand: Command | null; export declare let mostRecentCommandTime: moment.Moment | null; export declare let pendingCommandAfterAuth: { commandId: string; args: string[]; } | null; export declare const setMostRecentCommand: (cmd: Command) => void; export declare const setPendingCommandAfterAuth: (commandId: string, args: string[]) => void; export declare const clearPendingCommandAfterAuth: () => void; export declare const startInteractiveShell: (runCmd: string, shellName?: string) => void; export declare const runCommandExec: (runCmd: string, successMessage: string, errorMessage: string, envVars?: NodeJS.ProcessEnv) => void; export declare const runCommandExecWithCallback: (cmd: string, callback?: (error: ExecException | null, stdout: string, stderr: string) => void) => Promise; export declare const runCommandSpawn: (runCmd: string, successMessage: string, errorMessage: string, envVars?: NodeJS.ProcessEnv) => void;