/// import { BodyInit } from "node-fetch"; /** * Serialize data for gRPC requests. * If no content type is provided, it will be inferred from the data. * @param data data to serialize * @param inContentType content type of the data * @returns serialized data and content type */ export declare function serializeGrpc(data: any, inContentType?: string): { serializedData: Buffer; contentType: string; }; /** * Serialize data for HTTP requests. * If no content type is provided, it will be inferred from the data. * @param data data to serialize * @param inContentType content type of the data * @returns serialized data and content type */ export declare function serializeHttp(data: any, inContentType?: string): { serializedData: BodyInit; contentType: string; };