import type { PopupHandleStoreProvider } from './BasePopupHandle'; /** * Reads the store a handle currently exposes, and follows it as roots attach and * detach: while none is attached the handle exposes its fallback store; once one * does, subscribers re-render and read the live root store. * * Returns `undefined` when no handle is given, so callers fall back to their root * context. * * Upstream reaches for the `use-sync-external-store` shim; zest is React 19-only * and uses `React.useSyncExternalStore` directly. */ export declare function usePopupHandleStore(handle: PopupHandleStoreProvider | undefined): HandleStore | undefined; //# sourceMappingURL=usePopupHandleStore.d.ts.map