import { ApiObject } from './ApiObject'; import { ResolvablePage } from './Link'; import { Option } from 'fp-ts/lib/Option'; import { Type } from '../generated/Type'; /** * 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 Page = { /** * String representing the object’s type. Always `/api/collections/paginated` for this object. */ _object: Type.Page; /** * link to the previous page */ prev: Option; /** * link to the next page */ next: Option; /** * total number of elements for this query */ total_count: number; /** * list of elements in the current page */ items: A[]; };