/// <reference path="../../adonis-typings/index.d.ts" />
/// <reference types="@adonisjs/logger/build/adonis-typings/logger" />
import { LoggerContract } from '@ioc:Adonis/Core/Logger';
import { RouterContract } from '@ioc:Adonis/Core/Route';
import { LocalDriverConfig, LocalDriverContract } from '@ioc:Adonis/Core/Drive';
/**
 * Registers the route to serve files from the local driver
 * or the memory driver.
 */
export declare class LocalFileServer {
    private diskName;
    private config;
    private driver;
    private router;
    private logger;
    /**
     * Makes the route name for a given disk name
     */
    static makeRouteName(diskName: string): string;
    /**
     * The file path route param name
     */
    static filePathParamName: string;
    constructor(diskName: string, config: LocalDriverConfig, driver: LocalDriverContract, router: RouterContract, logger: LoggerContract);
    /**
     * Registers route for disk using "local" driver and "serveFiles"
     * true
     */
    registerRoute(): void;
}
