import type { Component, TUI } from '@earendil-works/pi-tui';
type OverlayHost = Pick<TUI, 'showOverlay' | 'hideOverlay' | 'hasOverlay' | 'setFocus'>;
/** Focus management for pi-tui overlays (openclaw pattern). */
export declare function createOverlayHandlers(host: OverlayHost, fallbackFocus: Component): {
    openOverlay: (component: Component) => void;
    closeOverlay: () => void;
};
export {};
