import { BatchChangeSet } from '../odata-common'; import { Entity } from './entity'; import { CreateRequestBuilder, DeleteRequestBuilder, GetAllRequestBuilder, GetByKeyRequestBuilder, UpdateRequestBuilder } from './request-builder'; /** * @deprecated Since v1.30.0. Use [[serializeRequest]] instead. * Build a string as the request body of the retrieve request. * Below is an example of the generated body, where the two empty line are mandatory to make the request valid. * *** example starts *** * Content-Type: application/http * Content-Transfer-Encoding: binary * * GET /SomeUrl/API_BUSINESS_PARTNER/A_BusinessPartnerBank?$format=json&$top=1 HTTP/1.1 * * * *** example ends *** * @param request - The request builder of the retrieve request. * @returns The request body. */ export declare function toBatchRetrieveBody(request: GetAllRequestBuilder | GetByKeyRequestBuilder): string; /** * @deprecated Since v1.30.0. Use [[serializeChangeSet]] instead. * Serialize change set to string. * @param changeSet - Change set containing a collection of write operations. * @returns The serialized string representation of a change set. */ export declare function toBatchChangeSet | UpdateRequestBuilder | DeleteRequestBuilder>(changeSet: BatchChangeSet): string | undefined; export { toBatchRetrieveBody as toBatchRetrieveBodyV4, toBatchChangeSet as toBatchChangeSetV4 }; //# sourceMappingURL=batch-request-serializer.d.ts.map