import { ResponseDataAccessor } from '../../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
 */
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.
 */
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
 */
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.
 */
export declare function getSingleResult(data: any): Record<string, any>;
export declare const responseDataAccessor: ResponseDataAccessor;
export { responseDataAccessor as responseDataAccessorV2 };
//# sourceMappingURL=response-data-accessor.d.ts.map