import { Application } from './Contracts/Application'; /** * Represents an uploaded file. */ export declare class UploadedFile { protected app: Application; protected metadata: { name: string; filename: string; tmpPath: string; encoding: string; mimeType: string; }; constructor(app: Application, metadata: { name: string; filename: string; tmpPath: string; encoding: string; mimeType: string; }); /** * Get the original name of the file. */ getClientOriginalName(): string; /** * Get the mime type of the file. */ getClientMimeType(): string; /** * Get the temporary path of the file. */ getPath(): string; /** * Get the extension of the file. */ getExtension(): string; /** * Store the uploaded file on a disk. */ store(targetPath?: string, options?: string | { disk?: string; name?: string; }): Promise; /** * Move the file to a permanent location. */ move(directory: string, name?: string): Promise; /** * Generate a random filename. */ private generateRandomName; } //# sourceMappingURL=UploadedFile.d.ts.map