import { Config, Mode } from "./interfaces"; export declare const DEFAULT_WINDOW = 24; export declare const DEFAULT_COLUMN = 80; /** * Global configuration for pager rendering and navigation. */ export declare let config: Config; /** * Tracks the current pager state. */ export declare let mode: Record; /** * True while the pager owns every line of the terminal. * * $LESS_LINES says otherwise: the rows below the window belong to * whoever launched us, so less stops scrolling into them. It repaints * where it would have scrolled (make_display, command.c:863; jump_loc, * jump.c:244) and drops the "...skipping..." marker (forwback.c:272). * less also refuses the "ll" capability then (screen.c:1685); we always * address the cursor absolutely, so that one needs nothing. */ export declare const fullScreen: () => boolean; /** Records what scrsize found, like less assigning full_screen. */ export declare function setFullScreen(value: boolean): void; /** * Overwrites all pager configuration with a new one. * * @param newConfig New configuration object. */ export declare function applyConfig(newConfig: Config): void; /** * Overwrites all mode flags with a new set. * * @param newMode New mode flags. */ export declare function applyMode(newMode: Record): void; /** * Resets the global configuration to default values. */ export declare function resetConfig(): void; /** * Resets all mode flags to their default state. */ export declare function resetMode(): void;