import { ComponentProps } from "react";
import Input from "../Input";
/**
 * A currency input field that handles formatting and user input for monetary values.
 * It displays the value in a specified currency and locale, and provides formatted output to the parent.
 */
export default function CurrencyInput({ locale, value: amount, currency, onChange, placeholder, error, ...props }: Omit<ComponentProps<typeof Input>, "onChange"> & {
    currency: string;
    onChange?: (formatted: string) => void;
    locale: string;
}): import("react/jsx-runtime").JSX.Element;
