import React from 'react'; import type { ButtonProps, PopoverProps } from '@gravity-ui/uikit'; interface ButtonWithConfirmDialogProps { children: React.ReactNode; onConfirmAction: (isRetry?: boolean) => Promise; onConfirmActionSuccess?: ((isDialogOpen: boolean) => Promise) | ((isDialogOpen: boolean) => void); onDialogOpen?: () => VoidFunction; dialogHeader: string; dialogText?: string; dialogWarning?: string; retryButtonText?: string; applyButtonText?: string; buttonDisabled?: ButtonProps['disabled']; buttonView?: ButtonProps['view']; applyButtonView?: ButtonProps['view']; buttonWidth?: ButtonProps['width']; buttonClassName?: ButtonProps['className']; withPopover?: boolean; popoverContent?: PopoverProps['content']; popoverPlacement?: PopoverProps['placement']; popoverDisabled?: PopoverProps['disabled']; } export declare function ButtonWithConfirmDialog({ children, onConfirmAction, onConfirmActionSuccess, onDialogOpen, dialogHeader, dialogText, dialogWarning, applyButtonText, retryButtonText, buttonDisabled, buttonView, buttonWidth, buttonClassName, withPopover, popoverContent, popoverPlacement, popoverDisabled, applyButtonView, }: ButtonWithConfirmDialogProps): import("react/jsx-runtime").JSX.Element; export {};