import { Middleware } from '../Middleware'; import { Request } from '../Request'; import { Response } from '../Response'; /** * Trim strings middleware. * Automatically trims whitespace from all string inputs in the request body. */ export declare class TrimStrings implements Middleware { /** * The names of the attributes that should not be trimmed. */ protected except: string[]; /** * Handle an incoming request. */ handle(request: Request, next: (request: Request) => Promise | Response): Promise; /** * Clean the given data. */ protected clean(data: any): void; } //# sourceMappingURL=TrimStrings.d.ts.map