export declare function add(serializer: (body: any, contentType?: string) => Promise, ...contentType: string[]): void; export declare function serialize(body: any, contentType?: string): Promise;