import type { ItemId, UnionAddress } from "@rarible/types"; import type { OriginFeeSupport } from "../../order/fill/domain"; export type IRestrictionSdk = { /** * * @param itemId - Item id * @param from - Sender address * @param to - Recipient * @returns {Promise} - { success: true } | { success: false, reason: string } */ canTransfer: (itemId: ItemId, from: UnionAddress, to: UnionAddress) => Promise; getFutureOrderFees: (itemId: ItemId) => Promise; }; export type CanTransferResult = { success: true; } | { success: false; reason: string; }; export type GetFutureOrderFeeData = { originFeeSupport: OriginFeeSupport; baseFee: number; };