import "./file_dropzone.css"; import type * as React from "react"; import { useRender } from "@base-ui/react/use-render"; import { type StyleProps } from "./style_props"; export interface FileDropzoneProps extends StyleProps { /** Upload belongs to the host; this only captures files. */ onFiles: (files: File[]) => void; /** E.g. `"application/pdf,image/*"`; also applied to dropped files. */ accept?: string; /** Default true. */ multiple?: boolean; label?: string; /** Defaults to the locale's `fileDropzone.hint`; override with an accepted-types line. */ hint?: string; dropLabel?: string; /** A floor; the zone grows to fit its content. Default 160, or the control row when `compact`. */ height?: number; /** * One line on a control row, for an intake inside something else; the well suits an intake that * is the surface. */ compact?: boolean; disabled?: boolean; accessibilityLabel?: string; testID?: string; ref?: React.Ref; render?: useRender.RenderProp; } /** * A dashed well lit in the accent under a drag, and a paste sink scoped to its region. Composes * `FileDropTarget`. */ export declare function FileDropzone(props: FileDropzoneProps): React.JSX.Element;