import DealPreparationService from '../DealPreparationService'; import { Request, Response } from 'express'; import ErrorCode from '../model/ErrorCode'; export interface ValidationResult { errorCode?: ErrorCode; minSize?: number; maxSize?: number; } export declare function validateCreatePreparationRequest(path: string, dealSize: string, outDir: string, minRatio: number | undefined, maxRatio: number | undefined, tmpDir: string | undefined): Promise; export default function handleCreatePreparationRequest(this: DealPreparationService, request: Request, response: Response): Promise;