import { SheetBackdropProps } from './sheetBackdrop.types.js'; /** * The dimmed layer behind a bottom sheet, and the thing that closes it when tapped. * * It closes on its own `click` rather than letting the sheet's usual outside-click handling see * the press, because that handling fires on mousedown/mouseup — and the sheet, backdrop included, * unmounts the moment it closes. The browser then dispatches the `click` that completes the tap * at whatever is under the cursor by then, which is the page behind the sheet: tapping to dismiss * would also press a button underneath it. * * The press is stopped with native listeners rather than React's `stopPropagation`, which would * not be enough: React listens at its own root container, so a native handler on `document` or * `window` still runs afterwards. */ declare function SheetBackdrop({ onClose, className, style }: SheetBackdropProps): import("react").JSX.Element; export default SheetBackdrop;