import { Ref } from 'react'; interface RootCloseProps { children: (ref: Ref) => JSX.Element; disabled?: boolean; onRootClose: (event: Event) => void; } declare function RootClose({ children, onRootClose, ...props }: RootCloseProps): JSX.Element; export default RootClose;