/// <reference types="react" />
import { PickerOptions, PickerResponse } from 'filestack-js';
import { FieldWrapperProps } from '@parlor/components/select-v4';
import { FormAwareProps } from '../../hooks';
export declare const client: import("filestack-js").Client;
export type FormUploadFileProps = FormAwareProps & {
    /**
     * @default  ```  ['image/svg+xml', 'image/png', 'image/jpeg', 'image/jpg']  ```
     */
    acceptedTypes?: PickerOptions['accept'];
    className?: FieldWrapperProps['className'];
    clearable?: boolean;
    label?: string;
    onChange?(fileName: string): void;
    onClose?(): void;
    onOpen?(): void;
    onUpload?(files?: PickerResponse): void;
    placeholder?: string;
    /** @default ```inlinePacked``` */
    variation?: FieldWrapperProps['variation'];
};
export declare const FormUploadFile: ({ name, defaultValue, className, rules, label, variation, acceptedTypes, placeholder, onUpload, onChange, onOpen, onClose, clearable, }: FormUploadFileProps) => JSX.Element;
