import type { FocusTrap as ElementFocusTrap, Options as FocusTrapOptions } from 'focus-trap';
import { createFocusTrap } from 'focus-trap';
import type { PropsWithChildren } from 'react';
import React from 'react';
type FocusTrapProps = {
    active?: boolean;
    tag: string;
    paused?: boolean;
    focusTrapOptions?: FocusTrapOptions;
    _createFocusTrap: typeof createFocusTrap;
};
export declare class FocusTrap extends React.Component<PropsWithChildren<FocusTrapProps>> {
    static defaultProps: {
        active: boolean;
        tag: string;
        paused: boolean;
        focusTrapOptions: {};
        _createFocusTrap: typeof createFocusTrap;
    };
    node: HTMLElement;
    focusTrap: ElementFocusTrap;
    componentDidMount(): void;
    getOptionsWithScopedInitialFocus(): FocusTrapOptions | undefined;
    componentDidUpdate(prevProps: FocusTrapProps): void;
    componentWillUnmount(): void;
    setNode: (el: $TSFixMe) => any;
    render(): React.DOMElement<React.DOMAttributes<any>, any>;
}
export {};
//# sourceMappingURL=focus-trap-react.d.ts.map