import { type ReactNode } from 'react'; /** Supplies whether a modal page is allowed to publish asynchronous results. */ export declare function PageActivityProvider({ active, children }: { active: boolean; children: ReactNode; }): import("react/jsx-runtime").JSX.Element; /** Returns `false` as soon as the containing modal page starts exiting. */ export declare function usePageActivity(): boolean;