import type { PropsWithChildren, ReactElement } from 'react'; import type { ModalSize } from './types'; export declare const StyledDialog: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, { size?: ModalSize | undefined; hasMargins: boolean; }, never>; export type ModalDialogProps = PropsWithChildren<{ size?: ModalSize; hasCloseButton?: boolean; onHide: () => void; hasMargins?: boolean; }>; export declare function ModalDialog({ size, hasCloseButton, hasMargins, children, onHide, }: ModalDialogProps): ReactElement;