import { DataSourceMapperData } from '../../types'; export type TablePaginationData = { size: number; total: number; totalPages: number; hasMore?: boolean; }; export type TableData = { items: any[]; pagination: TablePaginationData; }; /** * Builds the cursor payload merged into the next REST request `data`. * Reads the cursor value from the response with `extractionJsonPath` and shapes * it into the object described by `injectionJsonPath` * (e.g. `$.pagination.cursor` -> `{ pagination: { cursor: } }`). */ export declare const buildCursorPayload: (response: unknown, cursorPagination?: { extractionJsonPath: string; injectionJsonPath: string; }) => Record | null; export declare const parseDataFromResponse: (response: any, jsonPathData: string, mapperData?: DataSourceMapperData, jsonPathPagination?: any) => TableData;