import { type ReactNode, type RefObject } from "react";
import { type IUiFocusHelperConnectors } from "./types.js";
/**
 * @internal
 */
export interface IUiReturnFocusOnUnmountOptions {
    returnFocusTo?: string | RefObject<HTMLElement | null> | (() => HTMLElement | null);
    focusVisible?: boolean;
}
/**
 * @internal
 */
export declare function UiReturnFocusOnUnmount({ children, ...options }: IUiReturnFocusOnUnmountOptions & {
    children: ReactNode;
}): import("react/jsx-runtime").JSX.Element;
/**
 * @internal
 */
export declare const useUiReturnFocusOnUnmountConnectors: <T extends HTMLElement = HTMLElement>({ returnFocusTo, focusVisible, }?: IUiReturnFocusOnUnmountOptions) => IUiFocusHelperConnectors<T>;
//# sourceMappingURL=UiReturnFocusOnUnmount.d.ts.map