import { Type } from '../generated/Type'; import { ApiObject } from './ApiObject'; /** * All list endpoints return paginated responses. The response object contains elements of the current page, and links to the previous and next pages. * * @see https://apibeta.flexport.com/reference/pagination */ export declare type ApiPageObject = ApiObject & { /** * String representing the object’s type. Always `/api/collections/paginated` for this object. */ _object: Type.Page; /** * link to the previous page */ prev?: string; /** * link to the next page */ next?: string; /** * total number of elements for this query */ total_count: number; /** * The resource data requested for a successful response. * Undefined on error. */ data?: A[]; };