import React, { RefObject, ReactNode } from 'react';
declare const useFocusTrap: ({ active, returnFocusToSource, initialFocusRef, }: {
    active?: boolean | undefined;
    returnFocusToSource?: boolean | undefined;
    initialFocusRef?: React.RefObject<HTMLElement> | undefined;
}) => {
    ref: React.RefObject<HTMLElement>;
    FocusRing: ({ children }: {
        children: ReactNode;
    }) => JSX.Element;
};
export default useFocusTrap;
