export declare function shouldUseLiveQueue(platform?: NodeJS.Platform, env?: NodeJS.ProcessEnv): boolean;
/**
 * Begin reserving the bottom row + setting the scroll region.
 * Safe to call repeatedly; subsequent calls are no-ops.
 * Returns true if activation succeeded.
 */
export declare function activate(): boolean;
/**
 * Update the input-box content. Call on every typed char (or
 * backspace) so the user sees their queue in real time.
 *
 * Truncates text to fit terminal width; if longer, shows the LAST
 * (cols-12) chars so the most-recent typing is always visible.
 */
export declare function update(text: string): void;
/**
 * Tear down the box and restore the default scroll region.
 * Safe to call repeatedly; no-op when not active.
 *
 * Idempotency matters because we want this in `finally` blocks alongside
 * other cleanup that might also call it.
 */
export declare function deactivate(): void;
/** Test helper / fallback: are we currently active? */
export declare function isActive(): boolean;
