import type { PropsWithChildren } from "react"; import React from "react"; import type { HeaderProps, ModalActionsProps, ModalContentProps as ModalContainerProps } from "./Modal.types"; /** * @deprecated Use `Dialog.Header` with `Dialog.Title` and `Dialog.Close` instead. */ export declare function ModalHeader({ title, children }: HeaderProps): React.JSX.Element; /** * @deprecated Use `Dialog.Actions` inside a `Dialog.Footer` instead. */ export declare function ModalActions({ primary, secondary, tertiary, }: ModalActionsProps): React.JSX.Element; /** * @deprecated Use `Dialog.Trigger` instead. */ export declare function ModalActivator({ children }: PropsWithChildren): React.JSX.Element; /** * Background overlay for the modal. Used in the ModalContent. * * @deprecated Use the `Dialog` component instead, which renders its own overlay. */ export declare function ModalOverlay({ children }: PropsWithChildren): React.JSX.Element; /** * @deprecated Use `Dialog.Content` with `Dialog.Body` instead. */ export declare function ModalContent({ children }: ModalContainerProps): React.JSX.Element;