import { type MarketInput, type OfferStruct } from "@morpho-org/midnight-sdk"; /** * Validates the pure invariants shared by Midnight take entity and action layers. * * @param params - Selected market, takeable offers, and expected maker side. * @returns The selected market id. * @throws {EmptyMidnightTakeableOffersError} when no offers are provided. * @throws {MidnightOfferSideMismatchError} when an offer has the wrong maker side. * @throws {MidnightTakeableOfferMarketMismatchError} when an offer belongs to another market. * @internal */ export declare const validateTakeableOffers: (params: { readonly market: MarketInput; readonly takeableOffers: readonly { readonly offer: Pick; }[]; readonly expectedBuy: boolean; }) => `0x${string}`;