import { ReactNode } from 'react'; import { ButtonProps } from '@mui/material/Button'; interface CurrencyDialogProps { closeAriaLabel: string; /** Body copy; a node so callers can emphasise part of it (e.g. a bold account name). */ content?: ReactNode; /** Validation or save error, shown under the input and marking it invalid. */ errorText?: string; inputLabel?: string; inputValue?: string; isOpen: boolean; /** Disables the primary button on top of the built-in input check (e.g. while saving). */ isPrimaryDisabled?: boolean; handleInputChange?: (value: string) => void; /** * Click on the amount input (e.g. analytics). Click, not focus: the input autofocuses on open, * so a focus callback would fire per open rather than per user interaction. */ handleInputClick?: () => void; handleModalClose: () => void; handlePrimaryAction: () => void; handleSecondaryAction?: () => void; primaryColor?: ButtonProps['color']; primaryText: string; secondaryColor?: ButtonProps['color']; secondaryText?: string; /** A line under the title, e.g. the account a setting applies to. */ subtitle?: ReactNode; title: string; } declare const CurrencyDialog: ({ closeAriaLabel, content, errorText, inputLabel, inputValue, isOpen, isPrimaryDisabled, handleInputChange, handleInputClick, handleModalClose, handlePrimaryAction, handleSecondaryAction, primaryColor, primaryText, secondaryColor, secondaryText, subtitle, title, }: CurrencyDialogProps) => import("react/jsx-runtime").JSX.Element; export default CurrencyDialog;