import * as React from 'react'; import { ReactNode } from 'react'; import { ButtonTrait } from 'types/trait'; import { RibbonType } from 'types/ribbon'; type Style = 'one-section' | 'two-sections' | 'three-sections'; type ReactChildrenHtmlType = { __html: string; }; type ReactChildrenFunction = () => React.ReactElement | ReactChildrenHtmlType; interface ModalConfirmationProps { cancelButtonText: string; cancelButtonTrait: ButtonTrait; children: ReactChildrenFunction | ReactNode; disabledPrimaryButton: boolean; onCloseModal: () => void; onPrimaryAction?: () => void; onSecondaryAction?: () => void; primaryButtonClass: string; primaryButtonText: string; primaryButtonTrait: ButtonTrait; ribbon?: RibbonType; scrollContent: boolean; secondaryButtonText: string; secondaryButtonTrait: ButtonTrait; style: Style; title: string; width: string; } export declare class UIModalConfirmation extends React.PureComponent { static defaultProps: { scrollContent: boolean; title: string; style: string; primaryButtonTrait: string; primaryButtonClass: string; cancelButtonTrait: string; primaryButtonText: string; cancelButtonText: string; secondaryButtonText: string; secondaryButtonTrait: string; width: string; disabledPrimaryButton: boolean; }; private static root; static show: (props: any) => void; static hide: () => void; componentDidMount(): void; componentWillUnmount(): void; handler: (e: KeyboardEvent) => void; bindEvents: () => void; unBindEvents: () => void; primaryButton: () => React.ReactElement; cancelButton: () => React.ReactElement; secondaryButton: () => React.ReactElement; getChildren: () => React.ReactElement; render(): React.ReactElement; } export {};