import * as React from 'react'; declare type OptionalProps = { /** Variant of the Dialog's CTA */ type: 'default' | 'primary' | 'secondary' | 'danger'; /** Sets the Dialog's title */ title: string; /** Sets overflowY:scroll to the Dialog's body */ scroll: boolean; /** Sets the visibility of the Dialog */ isOpen: boolean; /** Sets the loading state of Dialog's Buttons */ isLoading: boolean; /** Text on Cancel Button */ cancelText: string; /** Text on Confirm Button */ confirmText: string; /** RestProps for Cancel Button */ cancelRest: any; /** RestProps for Confirm Button */ confirmRest: any; /** Sets the Dialog Close button visibility */ showCloseButton: boolean; }; export declare type DialogProps = Partial & { /** Sets Dialog's content */ message: React.ReactNode; /** Event handler for clicking Dialog's Cancel Button */ onCancel?(event: MouseEvent | KeyboardEvent): void; /** Event handler for clicking Dialog's Confirm Button */ onConfirm: (callback: Function) => void; }; declare const Dialog: React.FC; export { Dialog };