import * as React from 'react'; import * as PropTypes from 'prop-types'; import { ActionButtonsProps } from '../Button/ActionButtons'; import { ModalProps, LocalModalProps } from '../Modal/Modal'; import { Omit } from '../types'; export declare type LocalDialogModalProps = Omit & { a11yDescriptionId?: string; a11yTitleId?: string; actionButtonsProps?: ActionButtonsProps; children: (({ initialFocusRef }: { initialFocusRef: React.RefObject; }) => React.ReactNode) | React.ReactNode; footer?: (({ initialFocusRef }: { initialFocusRef: React.RefObject; }) => React.ReactNode) | string | React.ReactElement; hasScroll?: boolean; kind?: 'alert'; title?: string | React.ReactElement; type?: string; }; export declare type DialogModalProps = Omit & LocalDialogModalProps; export declare const DialogModal: React.FunctionComponent; export declare const dialogModalPropTypes: { a11yDescriptionId: PropTypes.Requireable; a11yTitleId: PropTypes.Requireable; 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; }>>; children: PropTypes.Validator; footer: PropTypes.Requireable any)>; hasScroll: PropTypes.Requireable; kind: PropTypes.Validator<"alert">; title: PropTypes.Requireable; type: PropTypes.Requireable; className: PropTypes.Requireable; isVisible: PropTypes.Requireable; hide: PropTypes.Requireable<(...args: any[]) => any>; showActionButtons: PropTypes.Requireable; showCloseButton: PropTypes.Requireable; renderWrapper: PropTypes.Requireable<(...args: any[]) => any>; hideOnEsc: PropTypes.Requireable; hideOnClickOutside: PropTypes.Requireable; delay: PropTypes.Requireable; duration: PropTypes.Requireable; expand: PropTypes.Validator; fade: PropTypes.Requireable; slide: PropTypes.Validator; timing: PropTypes.Requireable; }; export declare const dialogModalDefaultProps: { actionButtonsProps: {}; a11yDescriptionId: any; a11yTitleId: any; footer: any; hasScroll: boolean; kind: any; title: any; type: any; hideOnEsc: boolean; hideOnClickOutside: boolean; className: any; isVisible: boolean; showActionButtons: boolean; showCloseButton: boolean; renderWrapper: (children: React.ReactNode) => React.ReactNode; delay: any; duration: string; expand: any; fade: boolean; slide: boolean; timing: any; }; declare const C: React.FunctionComponent; export default C;