import type { PropsWithChildren, ReactElement } from 'react'; import type { ButtonColor, ButtonSize } from '../Button'; import type { UseRemoveButtonParams } from '../useRemoveButton'; export type RemoveButtonProps = UseRemoveButtonParams & PropsWithChildren<{ /** * Выключена ли кнопка */ disabled?: boolean; /** * Цвет кнопки */ color?: ButtonColor; /** * Размер кнопки */ size?: ButtonSize; }>; declare function RemoveButtonInner({ children, disabled, color, size, remove, onRemoveSuccess, approveTitle, approveContent, approveButtonText, approveButtonColor, cancelButtonText, errorsPath, redirectTo, notification, }: RemoveButtonProps): ReactElement; export declare const RemoveButton: import("react").MemoExoticComponent; export {};