/** Raises the search mlist's flag, like cmd_accept. */ export declare function touchSearchList(): void; /** Raises the shell mlist's flag, like cmd_accept. */ export declare function touchShellList(): void; /** Records a new search entry, less's cmdbuf.c:798 entry-modified bit * (set BEFORE the autosave attempt, unlike the list flag). */ export declare function recordSearchEntry(entry: string): void; /** Records a new shell entry, same entry-modified semantics. */ export declare function recordShellEntry(entry: string): void; /** Raises less's marks_modified. */ export declare function touchMarks(): void; /** * Loads the search history from the less history file (~/.lesshst). * * - Uses the same file, format and lookup order as less, so history is * shared with the real pager across sessions and files. */ export declare function loadHistory(): void; /** * Saves the search history back to the less history file. * * - Rewrites only the `.search` section, preserving `.shell` and `.mark` * sections written by less itself. * - Skipped when the history is unchanged or disabled via LESSHISTFILE=-. */ export declare function saveHistory(): void;