import { Disk } from 'flydrive'; import type { ApplicationService } from '@adonisjs/core/types'; import type { Config } from '../../define_config.js'; /** * Creates the standalone Disk this package uses for temporary file uploads. * Not registered as an app-wide Drive service — this package owns the * instance end-to-end, so consumers never need their own config/drive.ts * just to use wire:model="file". * PHP parity: FileUploadConfiguration::disk() */ export declare function createUploadDisk(app: ApplicationService, config: Config['temporaryFileUpload']): Disk;