import type { PPTElement } from '../types/slides'; /** * Keep the last matching slide element while a modal is open. * Store identity churn (new `elements` array, brief miss) must not unmount the editor. */ export declare function useHeldSlideElement(editingElementId: string, visible: boolean, isMatch: (el: PPTElement) => el is T): { element: T; present: boolean; };