import { FileUploadProps } from '@patternfly/react-core';
import { ReactNode } from 'react';
import { FieldPathByValue, FieldValues } from 'react-hook-form';
import { PageFormGroupProps } from './PageFormGroup';
export type PageFormFileUploadProps<TFieldValues extends FieldValues = FieldValues, TFieldName extends FieldPathByValue<TFieldValues, File> = FieldPathByValue<TFieldValues, File>> = {
    name: TFieldName;
    placeholder?: string;
    validate?: (value: File) => string | undefined;
    onInputChange?: (file: File) => Promise<void>;
    additionalHelperText?: ReactNode;
} & PageFormGroupProps & Omit<FileUploadProps, 'id'>;
export declare function PageFormFileUpload<TFieldValues extends FieldValues = FieldValues, TFieldName extends FieldPathByValue<TFieldValues, File> = FieldPathByValue<TFieldValues, File>>(props: PageFormFileUploadProps<TFieldValues, TFieldName>): import("react/jsx-runtime").JSX.Element;
