import { DoOfferParams } from "./index"; import { Asset } from "../../../../../types/Asset"; interface Props { assets: Asset[]; } export default function useOffer({ assets }: Props): { offerState: Partial; doOffer: (params: DoOfferParams) => Promise; progress: { resetProgress: () => void; startStep: (numStep: number) => void; onError: (numStep?: number) => void; onFinish: () => void; hasError: boolean; hasFinish: boolean; steps: import("../../../../AwaitProgressTimeline").AwaitProgressItemProps[]; }; onStart: () => void; onFinish: (message: string, description: string) => void; onError: (message: string, description: string) => void; setTransactionProgressState: (partial: Partial) => void; onReset: () => void; isConfirming: boolean; isProgressing: boolean; }; export {};