import React from "react"; import { Offer } from "../../../types/Offer"; interface Props { offer: Offer; } export default function UseActionableOffer({ offer }: Props): { offer: Offer; action?: OfferAction; 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; startAction: (action: OfferAction) => void; startProcessAction: () => Promise; }; export type OfferAction = "cancel" | "accept" | "decline"; export declare const ActionableOfferContext: React.Context<{ offer: Offer; action?: OfferAction; 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; startAction: (action: OfferAction) => void; startProcessAction: () => Promise; }>; export {};