import React from 'react'; /** * Tracks the children of the modal, primarily for managing focus */ interface ChildRegistry { header?: React.RefObject; body?: React.RefObject; closeableButtons?: React.RefObject; } interface ChildToRegister { child: keyof ChildRegistry; ref: React.MutableRefObject; } export declare function ChildRegistryProvider({ children, }: { children: React.ReactNode; }): React.JSX.Element; export declare function useModalChildRegistryContext(): ChildRegistry; export declare function useModalChildRegistryDispatch(): React.Dispatch; export {};