import React, { MutableRefObject, Ref } from 'react';
import { Props } from '../../types';
declare enum Features {
    /** No features enabled for the focus trap. */
    None = 1,
    /** Ensure that we move focus initially into the container. */
    InitialFocus = 2,
    /** Ensure that pressing `Tab` and `Shift+Tab` is trapped within the container. */
    TabLock = 4,
    /** Ensure that programmatically moving focus outside of the container is disallowed. */
    FocusLock = 8,
    /** Ensure that we restore the focus when unmounting the focus trap. */
    RestoreFocus = 16,
    /** Enable all features. */
    All = 30
}
export declare let FocusTrap: (<TTag extends React.ElementType<any> = "div">(props: Pick<import("../../types").PropsOf<TTag>, Exclude<keyof import("../../types").PropsOf<TTag>, "children" | "className" | "as" | "refName">> & {
    as?: TTag | undefined;
    children?: string | number | boolean | {} | React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)> | Iterable<React.ReactNode> | React.ReactPortal | ((bag: {}) => React.ReactElement<any, string | ((props: any) => React.ReactElement<any, any> | null) | (new (props: any) => React.Component<any, any, any>)>) | null | undefined;
    refName?: string | undefined;
} & (true extends (import("../../types").PropsOf<TTag> extends never ? never : "className" extends keyof import("../../types").PropsOf<TTag> ? true : never) ? {
    className?: import("../../types").PropsOf<TTag>["className"] | ((bag: {}) => string) | undefined;
} : {}) & {
    initialFocus?: React.MutableRefObject<HTMLElement | null> | undefined;
    features?: Features | undefined;
    containers?: React.MutableRefObject<Set<React.MutableRefObject<HTMLElement | null>>> | undefined;
}, ref: Ref<HTMLDivElement>) => JSX.Element) & {
    displayName: string;
} & {
    features: typeof Features;
};
export {};
