import type { RefObject } from "react"; type Options = { footerClass?: string | Array; enabled?: boolean; bodySelector?: string; footerSelector?: string; }; type ElementRef = HTMLElement | null; type ElementRefLike = ElementRef | RefObject; /** * Observes the modal body within the given root element and toggles a top border on the footer * when the body becomes vertically scrollable. * * Thin wrapper around `useOverflowBorder` with modal-specific defaults. * * @param rootRef Root element that contains both the modal body and footer. * @param options Optional configuration. * @param options.footerClass CSS class(es) toggled on the footer when the body is scrollable. Defaults to "border-t". * @param options.enabled Whether the hook is active. Defaults to true. * @param options.bodySelector CSS selector to locate the body element. Defaults to "[data-modal-body]". * @param options.footerSelector CSS selector to locate the footer element. Defaults to "[data-modal-footer]". */ export declare const useModalFooterBorder: (rootRef: ElementRefLike, { footerClass, enabled, bodySelector, footerSelector, }?: Options) => void; export {};