import { ReactNode } from "react"; import { ControllerRenderProps } from "react-hook-form"; import Decimal from "decimal.js"; import { Asset } from "../useAssets"; import { ConvertFormProps } from "./context"; declare type ConvertFromRenderProps = { render: (state: { field: ControllerRenderProps & { onSelect: (asset?: Asset) => void; assets: Asset[]; asset: Asset | undefined; getMaxSize?: (value: string | number | Decimal) => string; minQuantity?: number; maxQuantity?: number; hasError?: boolean; onFocus?: () => void; stepSize?: number; }; }) => React.ReactElement; type: "market" | "limit"; renderErrorComponent?: (message?: string) => ReactNode; }; export declare const ConvertFromController: ({ render, renderErrorComponent, type, }: ConvertFromRenderProps) => JSX.Element; export {}; //# sourceMappingURL=fromController.d.ts.map