/** Stable Ink input subscription for stateful keyboard-owned surfaces. */ import { type Key } from 'ink'; /** * Ink re-subscribes its input effect whenever the handler identity changes. * Keep ownership stable while a surface updates cursor, scroll, or draft state. */ export declare function useStableInput(handler: (input: string, key: Key) => void, active: boolean): void;