import type { ResponseDataAccessor } from '@sap-cloud-sdk/odata-common'; /** * Methods to extract the data from OData v2 responses. */ /** * Extract the collection data from the response. * If the data does not contain a collection an empty array is returned. * @param data - Response of the OData v2 service * @returns any[] - Collection extracted from the response * @internal */ export declare function getCollectionResult(data: any): any[]; /** * Checks if the data contains a collection result. * @param data - Response of the OData service. * @returns `true`, if the data is a collection result. * @internal */ export declare function isCollectionResult(data: any): boolean; /** * Extract the collection data from the one to many link response. * If the data does not contain a collection an empty array is returned. * @param data - Response of the one to many link * @returns any[] - Collection extracted from the response * @internal */ export declare function getLinkedCollectionResult(data: any): any[]; /** * Parses the data of a single result. * @param data - Response of the OData service. * @returns The single result object if existent, an empty object otherwise. * @internal */ export declare function getSingleResult(data: any): Record; /** * @internal */ export declare const responseDataAccessor: ResponseDataAccessor;