import "./file_drop_target.css"; import type * as React from "react"; import { type ReactNode } from "react"; import { useRender } from "@base-ui/react/use-render"; import { type FileIntakeFilter } from "./file_intake"; import { type StyleProps } from "./style_props"; export interface FileDropTargetProps extends FileIntakeFilter, StyleProps { onFiles: (files: File[]) => void; /** Scoped to this region's focus, so peer sections each win when focused. */ paste?: boolean; /** And drop the affordance. */ disabled?: boolean; /** A function child receives the drag state and owns the visual, as `FileDropzone` does. */ children: ReactNode | ((dragging: boolean) => ReactNode); testID?: string; ref?: React.Ref; render?: useRender.RenderProp; } /** * Any region accepts a file drop; `paste` adds Ctrl/Cmd+V scoped to its focus. The affordance is a * box-shadow, so nothing reflows. */ export declare function FileDropTarget(props: FileDropTargetProps): React.ReactElement>;