import { Entity, EntityCollection, FieldProps, ResolvedArrayProperty, ResolvedStringProperty, StorageConfig } from "../../types"; import { StorageFieldItem } from "../../util/useStorageUploadController"; type StorageUploadFieldProps = FieldProps; /** * Field that allows to upload files to Google Cloud Storage. * * This is one of the internal components that get mapped natively inside forms * and tables to the specified properties. * @group Form fields */ export declare function StorageUploadFieldBinding({ propertyKey, value, setValue, error, showError, autoFocus, tableMode, property, includeDescription, context, isSubmitting, }: StorageUploadFieldProps): import("react/jsx-runtime").JSX.Element; export interface StorageUploadProps { value: StorageFieldItem[]; collection: EntityCollection; setInternalValue: (v: StorageFieldItem[]) => void; name: string; property: ResolvedStringProperty | ResolvedArrayProperty; onChange: (value: string | string[] | null) => void; multipleFilesSupported: boolean; autoFocus: boolean; disabled: boolean; entity: Entity; storage: StorageConfig; onFilesAdded: (acceptedFiles: File[]) => void; storagePathBuilder: (file: File) => string; onFileUploadComplete: (uploadedPath: string, entry: StorageFieldItem, fileMetadata?: any) => Promise; } export declare function StorageUpload({ collection, property, name, value, setInternalValue, onChange, multipleFilesSupported, onFileUploadComplete, disabled, onFilesAdded, autoFocus, storage, entity, storagePathBuilder, }: StorageUploadProps): import("react/jsx-runtime").JSX.Element; export {};