/// <reference types="lodash" />
import { Operator, FileRecord } from '@midwayjs/hooks-core';
import type { UploadFileInfo } from '@midwayjs/upload';
export declare function useFiles<T = string>(): import("lodash").Dictionary<UploadFileInfo<T>[]>;
export declare function useFields(): Record<string, string>;
declare type Input = {
    files: FileRecord;
};
export declare function Upload(path?: string): Operator<Input>;
export {};
