import React from "react"; /** This wrapper is added to handle onPostDeactivate from react-focus-trap. onPostDeactivate is fired before component unmounts. Often, onPostDeactivate is used to close the popup element (see BasePopover and Sheet). We are overriding it here to fire only when component recieves an outside click or esc key event so that popover and sheet can close correctly. */ type FocusTrapWrapperProps = { active?: boolean; focusTrapOptions: any; children: React.ReactNode; }; export declare const FocusTrapWrapper: ({ active, focusTrapOptions, children, }: FocusTrapWrapperProps) => React.ReactElement; export {};