import fsSystem from 'fs';
import { Socket } from 'net';
export declare const netAdaptRequestResponse: (socket: Socket, callback: (req: any, res: any) => void) => void;
export declare const netBody: (req: any) => Promise<any>;
export declare const netFiles: (req: any, options: {
    limit: number;
    tempFileDir: string;
    removeTempFile: {
        remove: boolean;
        ms: number;
    };
}) => Promise<{
    body: any;
    files: any;
}>;
export declare const netPipeStream: ({ req, socket, filePath }: {
    req: any;
    socket: any;
    filePath: string;
}) => Promise<fsSystem.ReadStream>;
