import type { MutableRefObject } from "react";
import type { ModalContextType } from "./Modal.types";
interface UseModalOptions {
    open: boolean;
    activatorRef?: React.RefObject<HTMLElement | null> | null;
    onRequestClose: () => void;
    startedInsideRef?: MutableRefObject<boolean> | undefined;
}
export interface UseModalProps {
    floatingRefs: NonNullable<ModalContextType["floatingRefs"]>;
    floatingContext: ModalContextType["floatingContext"];
    nodeId: string | undefined;
    activatorRef: React.RefObject<HTMLElement | null>;
    parentId: string | null;
    getFloatingProps: ModalContextType["getFloatingProps"];
}
export declare function useModal({ open, activatorRef: refProp, onRequestClose, startedInsideRef, }: UseModalOptions): UseModalProps;
export {};
