/** * Traps focus in the most recently registered drawer and restores focus on close. * This is designed to be safe for multiple widgets/drawers on the same page. * @param {object} params - Hook params. * @param {string} params.id - Unique id for this instance. * @param {boolean} params.isActive - Whether the trap is active. * @param {() => HTMLElement | null} params.getContainer - Returns the focus-trap container. * @returns {void} Nothing. */ export declare const useFocusTrapTopMost: ({ getContainer, id, isActive, }: { id: string; isActive: boolean; getContainer: () => HTMLElement | null; }) => void; export default useFocusTrapTopMost; //# sourceMappingURL=useFocusTrapTopMost.d.ts.map