export declare const TMUX_PREVIOUS_USER_INPUT_SEARCH_PATTERN = "^ *user *$"; type TmuxScrollFailureReason = "not_inside_tmux" | "tmux_command_failed" | "copy_mode_failed" | "history_bottom_failed" | "search_failed"; export type TmuxScrollToPreviousUserInputResult = { ok: true; } | { ok: false; reason: TmuxScrollFailureReason; error?: string; }; interface TmuxSpawnResult { exitCode: number | null; stderr?: { toString(): string; }; } type TmuxSpawnSync = (command: string, args: string[], env: NodeJS.ProcessEnv) => TmuxSpawnResult; export declare function scrollTmuxToPreviousUserInput(env?: NodeJS.ProcessEnv, spawnSync?: TmuxSpawnSync): TmuxScrollToPreviousUserInputResult; export {};