import React from "react"; import DialogHeader from "./DialogHeader"; import DialogBody from "./DialogBody"; import DialogFooter from "./DialogFooter"; import DialogTitle from "./DialogTitle"; declare const enum Sizes { medium = "medium", large = "large" } export type DialogProps = { onClose: () => void; open: boolean; children: React.ReactNode; size?: keyof typeof Sizes; className?: string; initialFocusRef?: React.RefObject; }; type DialogCompound = { Header: typeof DialogHeader; Body: typeof DialogBody; Footer: typeof DialogFooter; Title: typeof DialogTitle; }; declare const _default: (>(props: { sx?: any; } & { component?: C; } & Omit>>, "component" | "sx"> & { ref?: import("../../system/types").PolymorphicRef; }) => React.ReactElement>) & DialogCompound; export default _default;