import { StyledComponent } from '@emotion/styled'; import { ButtonProps, DialogActions, DialogProps, DialogTitleProps, DialogContentProps as MuiDialogContentProps } from '@mui/material'; import { MouseEvent, ReactElement } from 'react'; export interface DialogHeaderProps extends DialogTitleProps { /** * Callback fired when close button is clicked. If undefined, close button will not appear in header. */ onClose?: (e: MouseEvent) => void; } export type DialogButtonProps = Omit; export type DialogContentProps = MuiDialogContentProps; declare const Header: ({ children, onClose, ...props }: DialogHeaderProps) => ReactElement; declare const Content: ({ children, sx, ...props }: DialogContentProps) => ReactElement; declare const PrimaryButton: ({ children, ...props }: DialogButtonProps) => ReactElement; declare const SecondaryButton: ({ children, ...props }: DialogButtonProps) => ReactElement; declare const Form: StyledComponent>; export declare const Dialog: React.FC & { Header: typeof Header; Form: typeof Form; Content: typeof Content; PrimaryButton: typeof PrimaryButton; SecondaryButton: typeof SecondaryButton; Actions: typeof DialogActions; }; export {}; //# sourceMappingURL=Dialog.d.ts.map