import { FunctionComponent } from 'react'; import { ButtonVariant, TextInputProps } from '@patternfly/react-core'; import { ModalProps } from '@patternfly/react-core/deprecated'; /** extends ModalProps */ export interface WarningModalProps extends Omit { /** Callback for the confirm action button. */ onConfirm?: () => void; /** Custom label for the confirm action button */ confirmButtonLabel?: React.ReactNode; /** Custom label for the cancel action button */ cancelButtonLabel?: React.ReactNode; /** Whether modal requires a checkbox before confirming */ withCheckbox?: boolean; /** Custom checkbox label */ checkboxLabel?: React.ReactNode; /** Visual variant of the confirm button */ confirmButtonVariant?: ButtonVariant; /** Custom OUIA ID */ ouiaId?: string | number; /** Confirmation text input props */ confirmationInputProps?: TextInputProps; /** Text the user should type to confirm selection when using confirmation input */ confirmationText?: string; /** Label for the text confirmation input */ confirmationInputLabel?: React.ReactNode; } declare const WarningModal: FunctionComponent; export default WarningModal;