export function prepareScaledBidBook(baggage: Baggage): (bidScalingPattern: Pattern, collateralBrand: globalThis.Brand) => import("@endo/exo").Guarded<{ /** * @param {ZCFSeat} seat * @param {Ratio} bidScaling * @param {Amount<'nat'>} wanted * @param {boolean} exitAfterBuy */ add(seat: ZCFSeat, bidScaling: Ratio, wanted: Amount<"nat">, exitAfterBuy: boolean): string; /** @param {Ratio} bidScaling */ offersAbove(bidScaling: Ratio): [string, BidderRecord][]; hasOrders(): boolean; delete(key: any): void; updateReceived(key: any, sold: any): void; exitAllSeats(): void; }>; export function preparePriceBook(baggage: Baggage): (priceRatioPattern: Pattern, collateralBrand: globalThis.Brand) => import("@endo/exo").Guarded<{ /** * @param {ZCFSeat} seat * @param {Ratio} price * @param {Amount<'nat'>} wanted * @param {boolean} exitAfterBuy */ add(seat: ZCFSeat, price: Ratio, wanted: Amount<"nat">, exitAfterBuy: boolean): string; offersAbove(price: any): [string, BidderRecord][]; hasOrders(): boolean; delete(key: any): void; updateReceived(key: any, sold: any): void; exitAllSeats(): void; }>; export type BidderRecord = { seat: ZCFSeat; wanted: Amount<"nat">; seqNum: NatValue; received: Amount<"nat">; } & { exitAfterBuy: boolean; } & ({ bidScaling: Pattern; price: undefined; } | { bidScaling: undefined; price: Ratio; }); import type { Baggage } from '@agoric/vat-data'; import type { Pattern } from '@endo/patterns'; //# sourceMappingURL=offerBook.d.ts.map