import type { ExtensionContext, KeybindingsManager, Theme } from "@earendil-works/pi-coding-agent"; import type { Component, TUI } from "@earendil-works/pi-tui"; /** Pi 1.0's compositor returns a base image instead of the overlay, and pads * full-width image reservations into text. There is no public compositor hook. * Lease only these two host prototype methods while a Fabric overlay is open; * native layout, focus, visibility, image deletion and upload caches still own * the frame. Resolve through the supplied live proxy, never import another TUI. * Background layers deliberately hide images rather than trying to z-order * terminal graphics against text. The native diff restores them on close. */ export declare function retainImageSafeOverlays(tui: TUI): () => void; type CustomComponent = Component & { dispose?(): void; }; export declare function imageSafeCustom(ui: ExtensionContext["ui"], factory: (tui: TUI, theme: Theme, keys: KeybindingsManager, done: (result: T) => void) => CustomComponent | Promise, options?: Parameters[1]): Promise; export {}; //# sourceMappingURL=image-overlays.d.ts.map