import { type VenueMarket } from "@agg-build/hooks";
import type { PlaceOrderResolvedClaimSummary } from "./place-order";
export type UseResolvedMarketClaimOptions = {
    /** The resolved market whose claimable winnings should be summarized. */
    market?: VenueMarket | null;
    /** Gate fetching/computation (e.g. only when the trade panel is resolved). */
    enabled?: boolean;
    /** Execution mode — paper positions are fetched from the paper bucket. */
    executionMode?: "live" | "paper";
};
/**
 * Derives the resolved-market claim summary (resolution date, winning shares,
 * total payout, and a wired claim action) for the position the current user
 * holds in `market`, reusing the same redeem flow as the profile positions
 * list via {@link useClaimWinnings}.
 *
 * Returns `undefined` (so the caller renders the plain resolved view) when:
 *  - fetching is disabled, the user is unauthenticated, or the market is open;
 *  - the user holds no position in this market;
 *  - the user's position lost (no winning outcome with shares).
 *
 * When the user won but the position is already redeemed / pending / ineligible
 * (i.e. not `eligible`), the summary is returned WITHOUT an `onClaim` action so
 * the earnings show without a duplicate claim CTA.
 */
export declare function useResolvedMarketClaim(options?: UseResolvedMarketClaimOptions): PlaceOrderResolvedClaimSummary | undefined;
