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<any>;
};
type DialogCompound = {
    Header: typeof DialogHeader;
    Body: typeof DialogBody;
    Footer: typeof DialogFooter;
    Title: typeof DialogTitle;
};
declare const _default: (<C extends React.ElementType<any>>(props: {
    sx?: any;
} & {
    component?: C;
} & Omit<JSX.LibraryManagedAttributes<C, React.PropsWithoutRef<React.ComponentProps<C>>>, "component" | "sx"> & {
    ref?: import("../../system/types").PolymorphicRef<C>;
}) => React.ReactElement<any, string | React.JSXElementConstructor<any>>) & DialogCompound;
export default _default;
