import { DriversList } from '@ioc:Adonis/Core/Drive'; /** * Expected shape of the config accepted by the "driveConfig" * method */ declare type DriveConfig = { disks: { [name: string]: { [K in keyof DriversList]: DriversList[K]['config'] & { driver: K; }; }[keyof DriversList]; }; }; /** * Define config for AdonisJS drive */ export declare function driveConfig(config: T): T; /** * Pull disks from the config defined inside the "config/drive.ts" * file */ export declare type InferDisksFromConfig = { [K in keyof T['disks']]: DriversList[T['disks'][K]['driver']]; }; export {};