/** The two dismissals no overlay library performs, both for events its outside-press listener cannot see, * and both anchored-only: a modal sheet covers the page. */ /** A press inside a cross-origin iframe never reaches this document, so focus is the signal; checking * `activeElement` keeps it from firing on a tab switch, which also blurs the window. */ export declare function useIframeDismiss(active: boolean, dismiss: () => void): void; /** A scroll that moves the anchor is the reader moving on, so the panel is dismissed rather than chased, * as a native `