import { CSSProperties, KeyboardEvent, RefObject } from 'react';
export declare const FOCUSABLE = "button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])";
/**
 * Returns inline styles that anchor a `position:fixed` backdrop to the visual
 * viewport so the dialog stays centered when the virtual keyboard is open on
 * mobile (iOS Safari / Android Chrome shrink `visualViewport` but not the
 * layout viewport that `position:fixed` is relative to).
 */
export declare function useVisualViewport(): CSSProperties;
export declare function trapFocus(e: KeyboardEvent<HTMLDivElement>, ref: RefObject<HTMLDivElement | null>): void;
