import { IQueryParams, IUploaderEvents } from "@leight-core/leight"; import { DraggerProps } from "antd/lib/upload"; import { FC } from "react"; export interface IUploaderProps extends Partial { /** * File field name on the server side. */ name: string; /** * File size limit (in MB). */ limit: number; /** * Uploader events. */ events: IUploaderEvents; /** * Translation base for this uploader. */ translation: string; /** * Where a file will be uploaded (goes through AppContext.link). */ action: string; /** * Optional params for the action. */ query?: IQueryParams; } export declare const Uploader: FC;