import * as React from "react"; export interface UploadedFile { key: string; url: string; mimeType: string; size: number; name: string; } export interface FileDropzoneProps { /** URL of the upload endpoint. Defaults to the Voyant provider API base. */ uploadUrl?: string; /** MIME types or extensions to accept (same format as ). */ accept?: string; /** Maximum file size in bytes. */ maxSize?: number; /** Called after a successful upload. */ onUploaded: (file: UploadedFile) => void; /** Called after a previously uploaded file is cleared from the dropzone. */ onCleared?: () => void; /** Called when an error occurs (validation, upload failure). */ onError?: (message: string) => void; /** Helper text shown in the idle state. */ helperText?: string; /** Disable interaction. */ disabled?: boolean; } export declare function FileDropzone({ uploadUrl, accept, maxSize, onUploaded, onCleared, onError, helperText, disabled, }: FileDropzoneProps): React.JSX.Element;