import { type TSNodeLike } from '../../shell/types.ts';
import type { HistoryEntry } from './types.ts';
/**
 * The entries bash's history adds for an input it reads interactively:
 * one per command it reads, a command and what else is on the line it
 * ends on. A command spanning lines is one entry, its lines joined as
 * `cmdhist` joins them: a break inside a quoted word, a substitution or
 * a heredoc stays, a backslash's goes, and any other is a `; ` or, after
 * a token a command reads on after (`then`, `|`, `{`, a case pattern's
 * `)`), a space. A comment line inside a command is dropped, a line of
 * blanks is an entry of its own and an empty line none. Pinned against
 * Debian Bash 5.2.37 with `set +H`. Mirrors Python's history_entries.
 *
 * @param root the parsed input.
 */
export declare function historyEntries(root: TSNodeLike): HistoryEntry[];
//# sourceMappingURL=entries.d.ts.map