import * as React from 'react';
declare type FocusTrapElement = HTMLElement;
/** Type definition for props supported by FocusTrap component. */
export interface FocusTrapProps<T = FocusTrapElement> extends React.HTMLAttributes<T> {
    /** Render FocusTrap as different HTML element. @default 'div' */
    element?: keyof JSX.IntrinsicElements;
    /** Add additional CSS selectors to query focusable children. */
    selectors?: string[];
    /** Focus the first element when it is visible. @default true */
    autoFocusFirstElement?: boolean;
}
/**
 * FocusTrap
 * ---
 * Wrapper to trap focus among its children.
 * Can be used as a base for Styled components.
 *
 * @author Siddhant Gupta <siddhant.gupta.ext@hmdglobal.com>
 */
declare const FocusTrap: React.FC<FocusTrapProps>;
export default FocusTrap;
