import { type PropsWithChildren } from 'react'; /** * Creates a singleton container that applies aria-live "polite" to itself and creates a portal for other * components such as tooltips. This is mainly used for a11y to read off the contents of a tooltip * due to the use of a live region on the container. * * How to use: * Call the hook inside your React component, take the returned container and wrap it around the children * you want to be portal-ed inside this singleton container. * * This hook shouldn't be used with Modals. * * @returns Singleton container with live region defined * @internal */ export declare const usePoliteContainer: () => (props: PropsWithChildren) => import("react/jsx-runtime").JSX.Element | null;