export function lookupOfferIdForVault(vaultId: string, currentP: Promise): Promise; export function makeParseAmount(agoricNames: Pick, makeError?: (msg: string) => Error): (a: string) => Amount<"nat">; export namespace Offers { namespace auction { export { makeBidOffer as Bid }; } namespace fluxAggregator { export { makePushPriceOffer as PushPrice }; } namespace psm { export { makePsmSwapOffer as swap }; } namespace vaults { export { makeOpenOffer as OpenVault }; export { makeAdjustOffer as AdjustBalances }; export { makeCloseOffer as CloseVault }; } namespace reserve { export { makeAddCollateralOffer as AddCollateral }; } } import type { Amount } from '@agoric/ertp'; /** * @param {Pick< * import('@agoric/vats/tools/board-utils.js').AgoricNamesRemotes, * 'brand' | 'vbankAsset' * >} agoricNames * @param {{ * offerId: string; * give: string; * maxBuy: string; * wantMinimum?: string; * } & ( * | { * price: number; * } * | { * discount: number; // -1 to 1. e.g. 0.10 for 10% discount, -0.05 for 5% markup * } * )} opts * @returns {import('@agoric/smart-wallet/src/offers.js').OfferSpec} */ declare function makeBidOffer(agoricNames: Pick, opts: { offerId: string; give: string; maxBuy: string; wantMinimum?: string; } & ({ price: number; } | { discount: number; })): import("@agoric/smart-wallet/src/offers.js").OfferSpec; /** * @param {unknown} _agoricNames * @param {{ * offerId: string; * roundId?: bigint; * unitPrice: bigint; * }} opts * @param {string} previousOffer * @returns {import('@agoric/smart-wallet/src/offers.js').OfferSpec} */ declare function makePushPriceOffer(_agoricNames: unknown, opts: { offerId: string; roundId?: bigint; unitPrice: bigint; }, previousOffer: string): import("@agoric/smart-wallet/src/offers.js").OfferSpec; /** * @param {Pick< * import('@agoric/vats/tools/board-utils.js').AgoricNamesRemotes, * 'brand' * >} agoricNames * @param {Instance} instance * @param {{ offerId: string; feePct?: number; pair: [string, string] } & ( * | { wantMinted: number } * | { giveMinted: number } * )} opts * @returns {import('@agoric/smart-wallet/src/offers.js').OfferSpec} */ declare function makePsmSwapOffer({ brand }: Pick, instance: Instance, opts: { offerId: string; feePct?: number; pair: [string, string]; } & ({ wantMinted: number; } | { giveMinted: number; })): import("@agoric/smart-wallet/src/offers.js").OfferSpec; /** * @param {Pick< * import('@agoric/vats/tools/board-utils.js').AgoricNamesRemotes, * 'brand' * >} agoricNames * @param {{ * offerId: string; * wantMinted: number; * giveCollateral: number; * collateralBrandKey: string; * }} opts * @returns {import('@agoric/smart-wallet/src/offers.js').OfferSpec} */ declare function makeOpenOffer({ brand }: Pick, opts: { offerId: string; wantMinted: number; giveCollateral: number; collateralBrandKey: string; }): import("@agoric/smart-wallet/src/offers.js").OfferSpec; /** * @param {Pick< * import('@agoric/vats/tools/board-utils.js').AgoricNamesRemotes, * 'brand' * >} agoricNames * @param {{ * offerId: string; * collateralBrandKey?: string; * giveCollateral?: number; * wantCollateral?: number; * giveMinted?: number; * wantMinted?: number; * }} opts * @param {string} previousOffer * @returns {import('@agoric/smart-wallet/src/offers.js').OfferSpec} */ declare function makeAdjustOffer({ brand }: Pick, opts: { offerId: string; collateralBrandKey?: string; giveCollateral?: number; wantCollateral?: number; giveMinted?: number; wantMinted?: number; }, previousOffer: string): import("@agoric/smart-wallet/src/offers.js").OfferSpec; /** * @param {Pick< * import('@agoric/vats/tools/board-utils.js').AgoricNamesRemotes, * 'brand' * >} agoricNames * @param {{ * offerId: string; * collateralBrandKey?: string; * giveMinted: number; * }} opts * @param {string} previousOffer * @returns {import('@agoric/smart-wallet/src/offers.js').OfferSpec} */ declare function makeCloseOffer({ brand }: Pick, opts: { offerId: string; collateralBrandKey?: string; giveMinted: number; }, previousOffer: string): import("@agoric/smart-wallet/src/offers.js").OfferSpec; /** * @param {Pick< * import('@agoric/vats/tools/board-utils.js').AgoricNamesRemotes, * 'brand' * >} agoricNames * @param {{ * offerId: string; * give: number; * collateralBrandKey: string; * }} opts * @returns {import('@agoric/smart-wallet/src/offers.js').OfferSpec} */ declare function makeAddCollateralOffer({ brand }: Pick, opts: { offerId: string; give: number; collateralBrandKey: string; }): import("@agoric/smart-wallet/src/offers.js").OfferSpec; export {}; //# sourceMappingURL=clientSupport.d.ts.map