import { Resource } from '../../Resource'; import { DuffelResponse, OrderChangeOffer, PaginationMeta } from '../../types'; /** * After you've searched for flights to add to your order by creating an order change request, we'll send your search to a range of airlines, which may return order change offers. * This is still in PREVIEW mode * @export * @class OrderChangeOffers * @extends {Resource} */ export declare class OrderChangeOffers extends Resource { /** * Endpoint path */ path: string; constructor(args: any); /** * Retrieves an order change offer by its ID * @param {string} id - The ID of your order change offer * @link https://duffel.com/docs/api/order-change-offers/get-order-change-offer-by-id */ get: (id: string) => Promise>; /** * Retrieves a page of order change offers. The results may be returned in any order. * @param {Object} [options] - Pagination options (optional: limit, after, before) */ list: (options?: PaginationMeta) => Promise>; /** * Retrieves a generator of all order change offers. The results may be returned in any order. */ listWithGenerator: () => AsyncGenerator, void, unknown>; }