import * as React from 'react'; import * as PropTypes from 'prop-types'; import { Omit } from '../types'; import { ActionButtonsProps } from '../Button/ActionButtons'; import { ButtonProps } from '../Button/Button'; import { DialogDialogProps, LocalDialogDialogProps } from './DialogDialog'; import { DialogContentProps } from './DialogContent'; import { DialogHeaderProps } from './DialogHeader'; import { DialogFooterProps } from './DialogFooter'; import { DialogTitleProps } from './DialogTitle'; import { DialogCloseProps } from './DialogClose'; import { DialogIconProps } from './DialogIcon'; export declare type LocalDialogProps = LocalDialogDialogProps & { actionButtonsProps?: ActionButtonsProps; a11yDescriptionId?: string; a11yTitleId?: string; children: React.ReactNode; className?: string; closeButtonProps?: Omit; footer?: string | React.ReactElement; hasScroll?: boolean; onClickClose?: () => void; showActionButtons?: boolean; showCloseButton?: boolean; title?: string | React.ReactElement; type?: string; }; export declare type DialogProps = LocalDialogProps & DialogDialogProps; export declare type DialogComponents = { Dialog: React.FunctionComponent; Content: React.FunctionComponent; Header: React.FunctionComponent; Footer: React.FunctionComponent; Title: React.FunctionComponent; Close: React.FunctionComponent; Icon: React.FunctionComponent; }; export declare const Dialog: React.FunctionComponent & DialogComponents; export declare const dialogPropTypes: { children: PropTypes.Validator; border: PropTypes.Validator; className: PropTypes.Requireable; isFullWidth: PropTypes.Requireable; elevation: PropTypes.Requireable; a11yDescriptionId: PropTypes.Requireable; a11yTitleId: PropTypes.Requireable; kind: PropTypes.Validator<"alert">; actionButtonsProps: PropTypes.Requireable; cancelProps: PropTypes.Requireable>; cancelText: PropTypes.Requireable; className: PropTypes.Requireable; isLoading: PropTypes.Requireable; onClickSubmit: PropTypes.Requireable<(...args: any[]) => any>; onClickCancel: PropTypes.Requireable<(...args: any[]) => any>; palette: PropTypes.Requireable; submitProps: PropTypes.Requireable>; submitText: PropTypes.Requireable; type: PropTypes.Requireable; }>>; closeButtonProps: PropTypes.Requireable>; footer: PropTypes.Requireable; hasScroll: PropTypes.Requireable; onClickClose: PropTypes.Requireable<(...args: any[]) => any>; showActionButtons: PropTypes.Requireable; showCloseButton: PropTypes.Requireable; title: PropTypes.Requireable; type: PropTypes.Requireable; }; export declare const dialogDefaultProps: { actionButtonsProps: {}; a11yDescriptionId: any; a11yTitleId: any; className: any; closeButtonProps: {}; footer: any; hasScroll: boolean; onClickClose: any; showActionButtons: boolean; showCloseButton: boolean; title: any; type: any; border: boolean; kind: any; children: any; isFullWidth: boolean; elevation: any; }; declare const C: React.FunctionComponent & DialogComponents; export default C;