import './FileField.css';
import React from 'react';
import { AsTags } from '##/utils/types/AsTags';
import { PropsWithJsxAttributes } from '../../utils/types/PropsWithJsxAttributes';
type ComponentProps = {
    role: string;
    as: AsTags;
};
type RenderFn = (props: ComponentProps) => React.ReactNode;
export type FileFieldProps = PropsWithJsxAttributes<{
    id: string;
    onChange?: (e: DragEvent | React.ChangeEvent) => void;
    children?: RenderFn | React.ReactNode;
    inputRef?: React.Ref<HTMLInputElement>;
}, 'input'>;
export declare const COMPONENT_NAME: "FileField";
export declare const cnFileField: import("@bem-react/classname").ClassNameFormatter;
export declare const FileField: React.FC<FileFieldProps>;
export {};
