import { FieldValues, Path } from 'react-hook-form'; import { ImageInputProps } from './image-input'; export interface ControlledImageInputProps extends Omit { name: Path; /** * The method to call in order to upload the image. * @param file * @returns Promise<{ url: string }> */ onUpload: (file: File) => Promise<{ url: string; }>; } export declare const ControlledImageInput: ({ name, onUpload, ...props }: ControlledImageInputProps) => import("react/jsx-runtime").JSX.Element;