/// <reference path="../adonis-typings/bodyparser.d.ts" />
/// <reference types="node" />
/**
 * We can detect file types for these files using the magic
 * number
 */
export declare const supportMagicFileTypes: Set<import("file-type/core").FileExtension>;
/**
 * Returns the file `type`, `subtype` and `extension`.
 */
export declare function getFileType(fileContents: Buffer): Promise<null | {
    ext: string;
    type?: string;
    subtype?: string;
}>;
/**
 * Computes file name from the file type
 */
export declare function computeFileTypeFromName(clientName: string, headers: {
    [key: string]: string;
}): {
    ext: string;
    type?: string;
    subtype?: string;
};
