/** Marks the next pager entry as originating from the lmn executable. */ export declare function markTerminalInvocation(): void; /** Applies and consumes the invocation-specific --no-shell default. */ export declare function initInvocationOptions(): void; /** * Re-asserts a library call's shell lock once the option scan is done. * * The scan reads $LESS, $MORE and a lesskey's #env lines, none of * which the embedding application necessarily controls: without this, * `LESS=--+no-shell` in the surrounding shell would hand `!`, `|` and * `v` back to whoever is reading the pager, in a program that chose * the safe default by calling the library at all. * * An application that WANTS shell access says so in its own config * map — `pager(x, { LESS: '--+no-shell' })` — and that overlay is * trusted, because it is the application's own configuration rather * than the environment it was launched in. * * The `lmn` executable is unaffected: it marks its invocation, keeps * less's ordinary behavior, and its own --no-shell still applies. * * @param appConfigured - Whether the scanned value came from the * caller's own overlay. */ export declare function lockLibraryShell(appConfigured: boolean): void;