/**
 * @license
 * Copyright 2025 Vybestack LLC
 * SPDX-License-Identifier: Apache-2.0
 */
/**
 * Hook to detect if the terminal is using alternate buffer mode.
 * Reads the user's `ui.useAlternateBuffer` setting, which is the same
 * source of truth used by inkRenderOptions, AppContainer, and
 * DefaultAppLayout to decide whether Ink renders in alternate buffer.
 */
export declare function useAlternateBuffer(): boolean;
