import { TokenId, ConditionId, DecimalString, EpochMilliseconds, MixedDateTimeString, PositionId, IsoDateTimeString, ComboConditionId, PaginationCursor, IsoCalendarDateString, ComboActivityId } from '../index.js'; import { z } from 'zod'; import { TxHash } from '@polymarket/types'; declare const AddressSchema: z.ZodString; declare const Hash64Schema: z.ZodString; declare enum ActivityType { TRADE = "TRADE", SPLIT = "SPLIT", MERGE = "MERGE", REDEEM = "REDEEM", REWARD = "REWARD", CONVERSION = "CONVERSION", MAKER_REBATE = "MAKER_REBATE", REFERRAL_REWARD = "REFERRAL_REWARD", YIELD = "YIELD", DEPOSIT = "DEPOSIT", WITHDRAWAL = "WITHDRAWAL", TAKER_REBATE = "TAKER_REBATE" } declare const ActivityTypeSchema: z.ZodEnum; declare const SideSchema: z.ZodEnum<{ BUY: "BUY"; SELL: "SELL"; }>; declare const TimePeriodSchema: z.ZodEnum<{ DAY: "DAY"; WEEK: "WEEK"; MONTH: "MONTH"; ALL: "ALL"; }>; declare const LeaderboardCategorySchema: z.ZodEnum<{ OVERALL: "OVERALL"; POLITICS: "POLITICS"; SPORTS: "SPORTS"; CRYPTO: "CRYPTO"; CULTURE: "CULTURE"; MENTIONS: "MENTIONS"; WEATHER: "WEATHER"; ECONOMICS: "ECONOMICS"; TECH: "TECH"; FINANCE: "FINANCE"; }>; declare const LeaderboardOrderBySchema: z.ZodEnum<{ PNL: "PNL"; VOL: "VOL"; }>; type Address = z.infer; type Hash64 = z.infer; type Side = z.infer; type TimePeriod = z.infer; type LeaderboardCategory = z.infer; type LeaderboardOrderBy = z.infer; declare enum ComboPositionStatus { Open = "OPEN", Partial = "PARTIAL", ResolvedPartial = "RESOLVED_PARTIAL", ResolvedWin = "RESOLVED_WIN", ResolvedLoss = "RESOLVED_LOSS" } declare const ComboPositionStatusSchema: z.ZodEnum; declare enum ComboPositionOutcome { Yes = "YES", No = "NO" } declare const ComboPositionOutcomeSchema: z.ZodEnum; declare const PositionSchema: z.ZodPipe>; asset: z.ZodOptional>>>; conditionId: z.ZodPipe>; size: z.ZodOptional>, z.ZodPipe>]>>>; avgPrice: z.ZodOptional>, z.ZodPipe>]>>>; initialValue: z.ZodOptional>, z.ZodPipe>]>>>; currentValue: z.ZodOptional>, z.ZodPipe>]>>>; cashPnl: z.ZodOptional>, z.ZodPipe>]>>>; percentPnl: z.ZodOptional>; totalBought: z.ZodOptional>, z.ZodPipe>]>>>; realizedPnl: z.ZodOptional>, z.ZodPipe>]>>>; percentRealizedPnl: z.ZodOptional>; curPrice: z.ZodOptional>, z.ZodPipe>]>>>; redeemable: z.ZodOptional>; mergeable: z.ZodOptional>; title: z.ZodOptional>; slug: z.ZodOptional>; icon: z.ZodPipe, z.ZodOptional>>; eventId: z.ZodOptional>; eventSlug: z.ZodOptional>; outcome: z.ZodOptional>; outcomeIndex: z.ZodOptional>; oppositeOutcome: z.ZodOptional>; oppositeAsset: z.ZodOptional>>>; endDate: z.ZodOptional>, z.ZodPipe>]>>>; negativeRisk: z.ZodOptional>; }, z.core.$strip>, z.ZodTransform<{ wallet: string | null | undefined; tokenId: TokenId | null | undefined; oppositeTokenId: TokenId | null | undefined; conditionId: ConditionId; size?: DecimalString | null | undefined; avgPrice?: DecimalString | null | undefined; initialValue?: DecimalString | null | undefined; currentValue?: DecimalString | null | undefined; cashPnl?: DecimalString | null | undefined; percentPnl?: number | null | undefined; totalBought?: DecimalString | null | undefined; realizedPnl?: DecimalString | null | undefined; percentRealizedPnl?: number | null | undefined; curPrice?: DecimalString | null | undefined; redeemable?: boolean | null | undefined; mergeable?: boolean | null | undefined; title?: string | null | undefined; slug?: string | null | undefined; icon?: string | null | undefined; eventId?: string | null | undefined; eventSlug?: string | null | undefined; outcome?: string | null | undefined; outcomeIndex?: number | null | undefined; oppositeOutcome?: string | null | undefined; endDate?: IsoCalendarDateString | null | undefined; negativeRisk?: boolean | null | undefined; }, { conditionId: ConditionId; proxyWallet?: string | null | undefined; asset?: TokenId | null | undefined; size?: DecimalString | null | undefined; avgPrice?: DecimalString | null | undefined; initialValue?: DecimalString | null | undefined; currentValue?: DecimalString | null | undefined; cashPnl?: DecimalString | null | undefined; percentPnl?: number | null | undefined; totalBought?: DecimalString | null | undefined; realizedPnl?: DecimalString | null | undefined; percentRealizedPnl?: number | null | undefined; curPrice?: DecimalString | null | undefined; redeemable?: boolean | null | undefined; mergeable?: boolean | null | undefined; title?: string | null | undefined; slug?: string | null | undefined; icon?: string | null | undefined; eventId?: string | null | undefined; eventSlug?: string | null | undefined; outcome?: string | null | undefined; outcomeIndex?: number | null | undefined; oppositeOutcome?: string | null | undefined; oppositeAsset?: TokenId | null | undefined; endDate?: IsoCalendarDateString | null | undefined; negativeRisk?: boolean | null | undefined; }>>; declare const ClosedPositionSchema: z.ZodPipe>; asset: z.ZodOptional>>>; conditionId: z.ZodOptional>>>; avgPrice: z.ZodOptional>, z.ZodPipe>]>>>; totalBought: z.ZodOptional>, z.ZodPipe>]>>>; realizedPnl: z.ZodOptional>, z.ZodPipe>]>>>; curPrice: z.ZodOptional>, z.ZodPipe>]>>>; timestamp: z.ZodOptional>>>; title: z.ZodOptional>; slug: z.ZodOptional>; icon: z.ZodPipe, z.ZodOptional>>; eventSlug: z.ZodOptional>; outcome: z.ZodOptional>; outcomeIndex: z.ZodOptional>; oppositeOutcome: z.ZodOptional>; oppositeAsset: z.ZodOptional>>>; endDate: z.ZodOptional>>>; }, z.core.$strip>, z.ZodTransform<{ wallet: string | null | undefined; tokenId: TokenId | null | undefined; oppositeTokenId: TokenId | null | undefined; conditionId?: ConditionId | null | undefined; avgPrice?: DecimalString | null | undefined; totalBought?: DecimalString | null | undefined; realizedPnl?: DecimalString | null | undefined; curPrice?: DecimalString | null | undefined; timestamp?: EpochMilliseconds | null | undefined; title?: string | null | undefined; slug?: string | null | undefined; icon?: string | null | undefined; eventSlug?: string | null | undefined; outcome?: string | null | undefined; outcomeIndex?: number | null | undefined; oppositeOutcome?: string | null | undefined; endDate?: MixedDateTimeString | null | undefined; }, { proxyWallet?: string | null | undefined; asset?: TokenId | null | undefined; conditionId?: ConditionId | null | undefined; avgPrice?: DecimalString | null | undefined; totalBought?: DecimalString | null | undefined; realizedPnl?: DecimalString | null | undefined; curPrice?: DecimalString | null | undefined; timestamp?: EpochMilliseconds | null | undefined; title?: string | null | undefined; slug?: string | null | undefined; icon?: string | null | undefined; eventSlug?: string | null | undefined; outcome?: string | null | undefined; outcomeIndex?: number | null | undefined; oppositeOutcome?: string | null | undefined; oppositeAsset?: TokenId | null | undefined; endDate?: MixedDateTimeString | null | undefined; }>>; declare const ValueSchema: z.ZodObject<{ user: z.ZodOptional>; value: z.ZodOptional>, z.ZodPipe>]>>>; }, z.core.$strip>; declare const MarketPositionSchema: z.ZodPipe>; name: z.ZodOptional>; profileImage: z.ZodOptional>; verified: z.ZodOptional>; asset: z.ZodOptional>>>; conditionId: z.ZodOptional>>>; avgPrice: z.ZodOptional>, z.ZodPipe>]>>>; size: z.ZodOptional>, z.ZodPipe>]>>>; currPrice: z.ZodOptional>, z.ZodPipe>]>>>; currentValue: z.ZodOptional>, z.ZodPipe>]>>>; cashPnl: z.ZodOptional>, z.ZodPipe>]>>>; totalBought: z.ZodOptional>, z.ZodPipe>]>>>; realizedPnl: z.ZodOptional>, z.ZodPipe>]>>>; totalPnl: z.ZodOptional>, z.ZodPipe>]>>>; outcome: z.ZodOptional>; outcomeIndex: z.ZodOptional>; }, z.core.$strip>, z.ZodTransform<{ wallet: string | null | undefined; tokenId: TokenId | null | undefined; name?: string | null | undefined; profileImage?: string | null | undefined; verified?: boolean | null | undefined; conditionId?: ConditionId | null | undefined; avgPrice?: DecimalString | null | undefined; size?: DecimalString | null | undefined; currPrice?: DecimalString | null | undefined; currentValue?: DecimalString | null | undefined; cashPnl?: DecimalString | null | undefined; totalBought?: DecimalString | null | undefined; realizedPnl?: DecimalString | null | undefined; totalPnl?: DecimalString | null | undefined; outcome?: string | null | undefined; outcomeIndex?: number | null | undefined; }, { proxyWallet?: string | null | undefined; name?: string | null | undefined; profileImage?: string | null | undefined; verified?: boolean | null | undefined; asset?: TokenId | null | undefined; conditionId?: ConditionId | null | undefined; avgPrice?: DecimalString | null | undefined; size?: DecimalString | null | undefined; currPrice?: DecimalString | null | undefined; currentValue?: DecimalString | null | undefined; cashPnl?: DecimalString | null | undefined; totalBought?: DecimalString | null | undefined; realizedPnl?: DecimalString | null | undefined; totalPnl?: DecimalString | null | undefined; outcome?: string | null | undefined; outcomeIndex?: number | null | undefined; }>>; declare const MetaMarketPositionSchema: z.ZodObject<{ token: z.ZodOptional>; positions: z.ZodOptional>; name: z.ZodOptional>; profileImage: z.ZodOptional>; verified: z.ZodOptional>; asset: z.ZodOptional>>>; conditionId: z.ZodOptional>>>; avgPrice: z.ZodOptional>, z.ZodPipe>]>>>; size: z.ZodOptional>, z.ZodPipe>]>>>; currPrice: z.ZodOptional>, z.ZodPipe>]>>>; currentValue: z.ZodOptional>, z.ZodPipe>]>>>; cashPnl: z.ZodOptional>, z.ZodPipe>]>>>; totalBought: z.ZodOptional>, z.ZodPipe>]>>>; realizedPnl: z.ZodOptional>, z.ZodPipe>]>>>; totalPnl: z.ZodOptional>, z.ZodPipe>]>>>; outcome: z.ZodOptional>; outcomeIndex: z.ZodOptional>; }, z.core.$strip>, z.ZodTransform<{ wallet: string | null | undefined; tokenId: TokenId | null | undefined; name?: string | null | undefined; profileImage?: string | null | undefined; verified?: boolean | null | undefined; conditionId?: ConditionId | null | undefined; avgPrice?: DecimalString | null | undefined; size?: DecimalString | null | undefined; currPrice?: DecimalString | null | undefined; currentValue?: DecimalString | null | undefined; cashPnl?: DecimalString | null | undefined; totalBought?: DecimalString | null | undefined; realizedPnl?: DecimalString | null | undefined; totalPnl?: DecimalString | null | undefined; outcome?: string | null | undefined; outcomeIndex?: number | null | undefined; }, { proxyWallet?: string | null | undefined; name?: string | null | undefined; profileImage?: string | null | undefined; verified?: boolean | null | undefined; asset?: TokenId | null | undefined; conditionId?: ConditionId | null | undefined; avgPrice?: DecimalString | null | undefined; size?: DecimalString | null | undefined; currPrice?: DecimalString | null | undefined; currentValue?: DecimalString | null | undefined; cashPnl?: DecimalString | null | undefined; totalBought?: DecimalString | null | undefined; realizedPnl?: DecimalString | null | undefined; totalPnl?: DecimalString | null | undefined; outcome?: string | null | undefined; outcomeIndex?: number | null | undefined; }>>>>>; }, z.core.$strip>; declare const ComboPositionMarketEventSchema: z.ZodPipe>; event_slug: z.ZodOptional>; event_title: z.ZodOptional>; event_image: z.ZodOptional>; }, z.core.$strip>, z.ZodTransform<{ eventId: string | null | undefined; eventSlug: string | null | undefined; eventTitle: string | null | undefined; eventImage: string | null | undefined; }, { event_id?: string | null | undefined; event_slug?: string | null | undefined; event_title?: string | null | undefined; event_image?: string | null | undefined; }>>; declare const ComboPositionMarketSchema: z.ZodPipe>; slug: z.ZodOptional>; title: z.ZodOptional>; outcome: z.ZodOptional>; image_url: z.ZodOptional>; icon_url: z.ZodOptional>; category: z.ZodOptional>; subcategory: z.ZodOptional>; tags: z.ZodOptional>>; end_date: z.ZodOptional>, z.ZodPipe>]>>>; event: z.ZodOptional>; event_slug: z.ZodOptional>; event_title: z.ZodOptional>; event_image: z.ZodOptional>; }, z.core.$strip>, z.ZodTransform<{ eventId: string | null | undefined; eventSlug: string | null | undefined; eventTitle: string | null | undefined; eventImage: string | null | undefined; }, { event_id?: string | null | undefined; event_slug?: string | null | undefined; event_title?: string | null | undefined; event_image?: string | null | undefined; }>>>>; }, z.core.$strip>, z.ZodTransform<{ marketId: string | null | undefined; imageUrl: string | null | undefined; iconUrl: string | null | undefined; endDate: IsoDateTimeString | null | undefined; slug?: string | null | undefined; title?: string | null | undefined; outcome?: string | null | undefined; category?: string | null | undefined; subcategory?: string | null | undefined; tags?: string[] | null | undefined; event?: { eventId: string | null | undefined; eventSlug: string | null | undefined; eventTitle: string | null | undefined; eventImage: string | null | undefined; } | null | undefined; }, { market_id?: string | null | undefined; slug?: string | null | undefined; title?: string | null | undefined; outcome?: string | null | undefined; image_url?: string | null | undefined; icon_url?: string | null | undefined; category?: string | null | undefined; subcategory?: string | null | undefined; tags?: string[] | null | undefined; end_date?: IsoDateTimeString | null | undefined; event?: { eventId: string | null | undefined; eventSlug: string | null | undefined; eventTitle: string | null | undefined; eventImage: string | null | undefined; } | null | undefined; }>>; declare const ComboPositionLegSchema: z.ZodPipe>; leg_condition_id: z.ZodPipe>; leg_outcome_index: z.ZodNumber; leg_outcome_label: z.ZodOptional>; leg_status: z.ZodEnum; leg_resolved_at: z.ZodOptional>, z.ZodPipe>]>>>; leg_current_price: z.ZodOptional>, z.ZodPipe>]>>>; market: z.ZodOptional>; slug: z.ZodOptional>; title: z.ZodOptional>; outcome: z.ZodOptional>; image_url: z.ZodOptional>; icon_url: z.ZodOptional>; category: z.ZodOptional>; subcategory: z.ZodOptional>; tags: z.ZodOptional>>; end_date: z.ZodOptional>, z.ZodPipe>]>>>; event: z.ZodOptional>; event_slug: z.ZodOptional>; event_title: z.ZodOptional>; event_image: z.ZodOptional>; }, z.core.$strip>, z.ZodTransform<{ eventId: string | null | undefined; eventSlug: string | null | undefined; eventTitle: string | null | undefined; eventImage: string | null | undefined; }, { event_id?: string | null | undefined; event_slug?: string | null | undefined; event_title?: string | null | undefined; event_image?: string | null | undefined; }>>>>; }, z.core.$strip>, z.ZodTransform<{ marketId: string | null | undefined; imageUrl: string | null | undefined; iconUrl: string | null | undefined; endDate: IsoDateTimeString | null | undefined; slug?: string | null | undefined; title?: string | null | undefined; outcome?: string | null | undefined; category?: string | null | undefined; subcategory?: string | null | undefined; tags?: string[] | null | undefined; event?: { eventId: string | null | undefined; eventSlug: string | null | undefined; eventTitle: string | null | undefined; eventImage: string | null | undefined; } | null | undefined; }, { market_id?: string | null | undefined; slug?: string | null | undefined; title?: string | null | undefined; outcome?: string | null | undefined; image_url?: string | null | undefined; icon_url?: string | null | undefined; category?: string | null | undefined; subcategory?: string | null | undefined; tags?: string[] | null | undefined; end_date?: IsoDateTimeString | null | undefined; event?: { eventId: string | null | undefined; eventSlug: string | null | undefined; eventTitle: string | null | undefined; eventImage: string | null | undefined; } | null | undefined; }>>>>; }, z.core.$strip>, z.ZodTransform<{ legIndex: number; legPositionId: PositionId; legConditionId: ConditionId; legOutcomeIndex: number; legOutcomeLabel: string | null | undefined; legStatus: ComboPositionStatus; legResolvedAt: IsoDateTimeString | null | undefined; legCurrentPrice: DecimalString | null | undefined; market?: { marketId: string | null | undefined; imageUrl: string | null | undefined; iconUrl: string | null | undefined; endDate: IsoDateTimeString | null | undefined; slug?: string | null | undefined; title?: string | null | undefined; outcome?: string | null | undefined; category?: string | null | undefined; subcategory?: string | null | undefined; tags?: string[] | null | undefined; event?: { eventId: string | null | undefined; eventSlug: string | null | undefined; eventTitle: string | null | undefined; eventImage: string | null | undefined; } | null | undefined; } | null | undefined; }, { leg_index: number; leg_position_id: PositionId; leg_condition_id: ConditionId; leg_outcome_index: number; leg_status: ComboPositionStatus; leg_outcome_label?: string | null | undefined; leg_resolved_at?: IsoDateTimeString | null | undefined; leg_current_price?: DecimalString | null | undefined; market?: { marketId: string | null | undefined; imageUrl: string | null | undefined; iconUrl: string | null | undefined; endDate: IsoDateTimeString | null | undefined; slug?: string | null | undefined; title?: string | null | undefined; outcome?: string | null | undefined; category?: string | null | undefined; subcategory?: string | null | undefined; tags?: string[] | null | undefined; event?: { eventId: string | null | undefined; eventSlug: string | null | undefined; eventTitle: string | null | undefined; eventImage: string | null | undefined; } | null | undefined; } | null | undefined; }>>; declare const ComboPositionSchema: z.ZodPipe>; combo_position_id: z.ZodPipe>; side: z.ZodEnum; module_id: z.ZodNumber; user_address: z.ZodString; shares_balance: z.ZodUnion>, z.ZodPipe>]>; entry_avg_price_usdc: z.ZodOptional>, z.ZodPipe>]>>>; entry_cost_usdc: z.ZodOptional>, z.ZodPipe>]>>>; realized_payout_usdc: z.ZodOptional>, z.ZodPipe>]>>>; total_cost_usdc: z.ZodOptional>, z.ZodPipe>]>>>; status: z.ZodEnum; redeemable: z.ZodBoolean; first_entry_at: z.ZodUnion<[z.ZodPipe>, z.ZodPipe>]>; resolved_at: z.ZodOptional>, z.ZodPipe>]>>>; updated_at: z.ZodOptional>, z.ZodPipe>]>>; legs_total: z.ZodNumber; legs_resolved: z.ZodNumber; legs_pending: z.ZodNumber; legs: z.ZodArray>; leg_condition_id: z.ZodPipe>; leg_outcome_index: z.ZodNumber; leg_outcome_label: z.ZodOptional>; leg_status: z.ZodEnum; leg_resolved_at: z.ZodOptional>, z.ZodPipe>]>>>; leg_current_price: z.ZodOptional>, z.ZodPipe>]>>>; market: z.ZodOptional>; slug: z.ZodOptional>; title: z.ZodOptional>; outcome: z.ZodOptional>; image_url: z.ZodOptional>; icon_url: z.ZodOptional>; category: z.ZodOptional>; subcategory: z.ZodOptional>; tags: z.ZodOptional>>; end_date: z.ZodOptional>, z.ZodPipe>]>>>; event: z.ZodOptional>; event_slug: z.ZodOptional>; event_title: z.ZodOptional>; event_image: z.ZodOptional>; }, z.core.$strip>, z.ZodTransform<{ eventId: string | null | undefined; eventSlug: string | null | undefined; eventTitle: string | null | undefined; eventImage: string | null | undefined; }, { event_id?: string | null | undefined; event_slug?: string | null | undefined; event_title?: string | null | undefined; event_image?: string | null | undefined; }>>>>; }, z.core.$strip>, z.ZodTransform<{ marketId: string | null | undefined; imageUrl: string | null | undefined; iconUrl: string | null | undefined; endDate: IsoDateTimeString | null | undefined; slug?: string | null | undefined; title?: string | null | undefined; outcome?: string | null | undefined; category?: string | null | undefined; subcategory?: string | null | undefined; tags?: string[] | null | undefined; event?: { eventId: string | null | undefined; eventSlug: string | null | undefined; eventTitle: string | null | undefined; eventImage: string | null | undefined; } | null | undefined; }, { market_id?: string | null | undefined; slug?: string | null | undefined; title?: string | null | undefined; outcome?: string | null | undefined; image_url?: string | null | undefined; icon_url?: string | null | undefined; category?: string | null | undefined; subcategory?: string | null | undefined; tags?: string[] | null | undefined; end_date?: IsoDateTimeString | null | undefined; event?: { eventId: string | null | undefined; eventSlug: string | null | undefined; eventTitle: string | null | undefined; eventImage: string | null | undefined; } | null | undefined; }>>>>; }, z.core.$strip>, z.ZodTransform<{ legIndex: number; legPositionId: PositionId; legConditionId: ConditionId; legOutcomeIndex: number; legOutcomeLabel: string | null | undefined; legStatus: ComboPositionStatus; legResolvedAt: IsoDateTimeString | null | undefined; legCurrentPrice: DecimalString | null | undefined; market?: { marketId: string | null | undefined; imageUrl: string | null | undefined; iconUrl: string | null | undefined; endDate: IsoDateTimeString | null | undefined; slug?: string | null | undefined; title?: string | null | undefined; outcome?: string | null | undefined; category?: string | null | undefined; subcategory?: string | null | undefined; tags?: string[] | null | undefined; event?: { eventId: string | null | undefined; eventSlug: string | null | undefined; eventTitle: string | null | undefined; eventImage: string | null | undefined; } | null | undefined; } | null | undefined; }, { leg_index: number; leg_position_id: PositionId; leg_condition_id: ConditionId; leg_outcome_index: number; leg_status: ComboPositionStatus; leg_outcome_label?: string | null | undefined; leg_resolved_at?: IsoDateTimeString | null | undefined; leg_current_price?: DecimalString | null | undefined; market?: { marketId: string | null | undefined; imageUrl: string | null | undefined; iconUrl: string | null | undefined; endDate: IsoDateTimeString | null | undefined; slug?: string | null | undefined; title?: string | null | undefined; outcome?: string | null | undefined; category?: string | null | undefined; subcategory?: string | null | undefined; tags?: string[] | null | undefined; event?: { eventId: string | null | undefined; eventSlug: string | null | undefined; eventTitle: string | null | undefined; eventImage: string | null | undefined; } | null | undefined; } | null | undefined; }>>>; }, z.core.$strip>, z.ZodTransform<{ conditionId: ComboConditionId; positionId: PositionId; outcome: ComboPositionOutcome; moduleId: number; wallet: string; shares: DecimalString; entryAvgPriceUsdc: DecimalString | null | undefined; entryCostUsdc: DecimalString | null | undefined; realizedPayoutUsdc: DecimalString | null | undefined; totalCostUsdc: DecimalString | null | undefined; firstEntryAt: IsoDateTimeString; resolvedAt: IsoDateTimeString | null | undefined; updatedAt: IsoDateTimeString | undefined; legsTotal: number; legsResolved: number; legsPending: number; status: ComboPositionStatus; redeemable: boolean; legs: { legIndex: number; legPositionId: PositionId; legConditionId: ConditionId; legOutcomeIndex: number; legOutcomeLabel: string | null | undefined; legStatus: ComboPositionStatus; legResolvedAt: IsoDateTimeString | null | undefined; legCurrentPrice: DecimalString | null | undefined; market?: { marketId: string | null | undefined; imageUrl: string | null | undefined; iconUrl: string | null | undefined; endDate: IsoDateTimeString | null | undefined; slug?: string | null | undefined; title?: string | null | undefined; outcome?: string | null | undefined; category?: string | null | undefined; subcategory?: string | null | undefined; tags?: string[] | null | undefined; event?: { eventId: string | null | undefined; eventSlug: string | null | undefined; eventTitle: string | null | undefined; eventImage: string | null | undefined; } | null | undefined; } | null | undefined; }[]; }, { combo_condition_id: ComboConditionId; combo_position_id: PositionId; side: ComboPositionOutcome; module_id: number; user_address: string; shares_balance: DecimalString; status: ComboPositionStatus; redeemable: boolean; first_entry_at: IsoDateTimeString; legs_total: number; legs_resolved: number; legs_pending: number; legs: { legIndex: number; legPositionId: PositionId; legConditionId: ConditionId; legOutcomeIndex: number; legOutcomeLabel: string | null | undefined; legStatus: ComboPositionStatus; legResolvedAt: IsoDateTimeString | null | undefined; legCurrentPrice: DecimalString | null | undefined; market?: { marketId: string | null | undefined; imageUrl: string | null | undefined; iconUrl: string | null | undefined; endDate: IsoDateTimeString | null | undefined; slug?: string | null | undefined; title?: string | null | undefined; outcome?: string | null | undefined; category?: string | null | undefined; subcategory?: string | null | undefined; tags?: string[] | null | undefined; event?: { eventId: string | null | undefined; eventSlug: string | null | undefined; eventTitle: string | null | undefined; eventImage: string | null | undefined; } | null | undefined; } | null | undefined; }[]; entry_avg_price_usdc?: DecimalString | null | undefined; entry_cost_usdc?: DecimalString | null | undefined; realized_payout_usdc?: DecimalString | null | undefined; total_cost_usdc?: DecimalString | null | undefined; resolved_at?: IsoDateTimeString | null | undefined; updated_at?: IsoDateTimeString | undefined; }>>; declare const ListComboPositionsResponseSchema: z.ZodPipe>; combo_position_id: z.ZodPipe>; side: z.ZodEnum; module_id: z.ZodNumber; user_address: z.ZodString; shares_balance: z.ZodUnion>, z.ZodPipe>]>; entry_avg_price_usdc: z.ZodOptional>, z.ZodPipe>]>>>; entry_cost_usdc: z.ZodOptional>, z.ZodPipe>]>>>; realized_payout_usdc: z.ZodOptional>, z.ZodPipe>]>>>; total_cost_usdc: z.ZodOptional>, z.ZodPipe>]>>>; status: z.ZodEnum; redeemable: z.ZodBoolean; first_entry_at: z.ZodUnion<[z.ZodPipe>, z.ZodPipe>]>; resolved_at: z.ZodOptional>, z.ZodPipe>]>>>; updated_at: z.ZodOptional>, z.ZodPipe>]>>; legs_total: z.ZodNumber; legs_resolved: z.ZodNumber; legs_pending: z.ZodNumber; legs: z.ZodArray>; leg_condition_id: z.ZodPipe>; leg_outcome_index: z.ZodNumber; leg_outcome_label: z.ZodOptional>; leg_status: z.ZodEnum; leg_resolved_at: z.ZodOptional>, z.ZodPipe>]>>>; leg_current_price: z.ZodOptional>, z.ZodPipe>]>>>; market: z.ZodOptional>; slug: z.ZodOptional>; title: z.ZodOptional>; outcome: z.ZodOptional>; image_url: z.ZodOptional>; icon_url: z.ZodOptional>; category: z.ZodOptional>; subcategory: z.ZodOptional>; tags: z.ZodOptional>>; end_date: z.ZodOptional>, z.ZodPipe>]>>>; event: z.ZodOptional>; event_slug: z.ZodOptional>; event_title: z.ZodOptional>; event_image: z.ZodOptional>; }, z.core.$strip>, z.ZodTransform<{ eventId: string | null | undefined; eventSlug: string | null | undefined; eventTitle: string | null | undefined; eventImage: string | null | undefined; }, { event_id?: string | null | undefined; event_slug?: string | null | undefined; event_title?: string | null | undefined; event_image?: string | null | undefined; }>>>>; }, z.core.$strip>, z.ZodTransform<{ marketId: string | null | undefined; imageUrl: string | null | undefined; iconUrl: string | null | undefined; endDate: IsoDateTimeString | null | undefined; slug?: string | null | undefined; title?: string | null | undefined; outcome?: string | null | undefined; category?: string | null | undefined; subcategory?: string | null | undefined; tags?: string[] | null | undefined; event?: { eventId: string | null | undefined; eventSlug: string | null | undefined; eventTitle: string | null | undefined; eventImage: string | null | undefined; } | null | undefined; }, { market_id?: string | null | undefined; slug?: string | null | undefined; title?: string | null | undefined; outcome?: string | null | undefined; image_url?: string | null | undefined; icon_url?: string | null | undefined; category?: string | null | undefined; subcategory?: string | null | undefined; tags?: string[] | null | undefined; end_date?: IsoDateTimeString | null | undefined; event?: { eventId: string | null | undefined; eventSlug: string | null | undefined; eventTitle: string | null | undefined; eventImage: string | null | undefined; } | null | undefined; }>>>>; }, z.core.$strip>, z.ZodTransform<{ legIndex: number; legPositionId: PositionId; legConditionId: ConditionId; legOutcomeIndex: number; legOutcomeLabel: string | null | undefined; legStatus: ComboPositionStatus; legResolvedAt: IsoDateTimeString | null | undefined; legCurrentPrice: DecimalString | null | undefined; market?: { marketId: string | null | undefined; imageUrl: string | null | undefined; iconUrl: string | null | undefined; endDate: IsoDateTimeString | null | undefined; slug?: string | null | undefined; title?: string | null | undefined; outcome?: string | null | undefined; category?: string | null | undefined; subcategory?: string | null | undefined; tags?: string[] | null | undefined; event?: { eventId: string | null | undefined; eventSlug: string | null | undefined; eventTitle: string | null | undefined; eventImage: string | null | undefined; } | null | undefined; } | null | undefined; }, { leg_index: number; leg_position_id: PositionId; leg_condition_id: ConditionId; leg_outcome_index: number; leg_status: ComboPositionStatus; leg_outcome_label?: string | null | undefined; leg_resolved_at?: IsoDateTimeString | null | undefined; leg_current_price?: DecimalString | null | undefined; market?: { marketId: string | null | undefined; imageUrl: string | null | undefined; iconUrl: string | null | undefined; endDate: IsoDateTimeString | null | undefined; slug?: string | null | undefined; title?: string | null | undefined; outcome?: string | null | undefined; category?: string | null | undefined; subcategory?: string | null | undefined; tags?: string[] | null | undefined; event?: { eventId: string | null | undefined; eventSlug: string | null | undefined; eventTitle: string | null | undefined; eventImage: string | null | undefined; } | null | undefined; } | null | undefined; }>>>; }, z.core.$strip>, z.ZodTransform<{ conditionId: ComboConditionId; positionId: PositionId; outcome: ComboPositionOutcome; moduleId: number; wallet: string; shares: DecimalString; entryAvgPriceUsdc: DecimalString | null | undefined; entryCostUsdc: DecimalString | null | undefined; realizedPayoutUsdc: DecimalString | null | undefined; totalCostUsdc: DecimalString | null | undefined; firstEntryAt: IsoDateTimeString; resolvedAt: IsoDateTimeString | null | undefined; updatedAt: IsoDateTimeString | undefined; legsTotal: number; legsResolved: number; legsPending: number; status: ComboPositionStatus; redeemable: boolean; legs: { legIndex: number; legPositionId: PositionId; legConditionId: ConditionId; legOutcomeIndex: number; legOutcomeLabel: string | null | undefined; legStatus: ComboPositionStatus; legResolvedAt: IsoDateTimeString | null | undefined; legCurrentPrice: DecimalString | null | undefined; market?: { marketId: string | null | undefined; imageUrl: string | null | undefined; iconUrl: string | null | undefined; endDate: IsoDateTimeString | null | undefined; slug?: string | null | undefined; title?: string | null | undefined; outcome?: string | null | undefined; category?: string | null | undefined; subcategory?: string | null | undefined; tags?: string[] | null | undefined; event?: { eventId: string | null | undefined; eventSlug: string | null | undefined; eventTitle: string | null | undefined; eventImage: string | null | undefined; } | null | undefined; } | null | undefined; }[]; }, { combo_condition_id: ComboConditionId; combo_position_id: PositionId; side: ComboPositionOutcome; module_id: number; user_address: string; shares_balance: DecimalString; status: ComboPositionStatus; redeemable: boolean; first_entry_at: IsoDateTimeString; legs_total: number; legs_resolved: number; legs_pending: number; legs: { legIndex: number; legPositionId: PositionId; legConditionId: ConditionId; legOutcomeIndex: number; legOutcomeLabel: string | null | undefined; legStatus: ComboPositionStatus; legResolvedAt: IsoDateTimeString | null | undefined; legCurrentPrice: DecimalString | null | undefined; market?: { marketId: string | null | undefined; imageUrl: string | null | undefined; iconUrl: string | null | undefined; endDate: IsoDateTimeString | null | undefined; slug?: string | null | undefined; title?: string | null | undefined; outcome?: string | null | undefined; category?: string | null | undefined; subcategory?: string | null | undefined; tags?: string[] | null | undefined; event?: { eventId: string | null | undefined; eventSlug: string | null | undefined; eventTitle: string | null | undefined; eventImage: string | null | undefined; } | null | undefined; } | null | undefined; }[]; entry_avg_price_usdc?: DecimalString | null | undefined; entry_cost_usdc?: DecimalString | null | undefined; realized_payout_usdc?: DecimalString | null | undefined; total_cost_usdc?: DecimalString | null | undefined; resolved_at?: IsoDateTimeString | null | undefined; updated_at?: IsoDateTimeString | undefined; }>>>; pagination: z.ZodObject<{ limit: z.ZodNumber; offset: z.ZodNumber; has_more: z.ZodBoolean; next_cursor: z.ZodOptional>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodTransform<{ pagination: { limit: number; offset: number; hasMore: boolean; nextCursor: PaginationCursor | null | undefined; }; combos: { conditionId: ComboConditionId; positionId: PositionId; outcome: ComboPositionOutcome; moduleId: number; wallet: string; shares: DecimalString; entryAvgPriceUsdc: DecimalString | null | undefined; entryCostUsdc: DecimalString | null | undefined; realizedPayoutUsdc: DecimalString | null | undefined; totalCostUsdc: DecimalString | null | undefined; firstEntryAt: IsoDateTimeString; resolvedAt: IsoDateTimeString | null | undefined; updatedAt: IsoDateTimeString | undefined; legsTotal: number; legsResolved: number; legsPending: number; status: ComboPositionStatus; redeemable: boolean; legs: { legIndex: number; legPositionId: PositionId; legConditionId: ConditionId; legOutcomeIndex: number; legOutcomeLabel: string | null | undefined; legStatus: ComboPositionStatus; legResolvedAt: IsoDateTimeString | null | undefined; legCurrentPrice: DecimalString | null | undefined; market?: { marketId: string | null | undefined; imageUrl: string | null | undefined; iconUrl: string | null | undefined; endDate: IsoDateTimeString | null | undefined; slug?: string | null | undefined; title?: string | null | undefined; outcome?: string | null | undefined; category?: string | null | undefined; subcategory?: string | null | undefined; tags?: string[] | null | undefined; event?: { eventId: string | null | undefined; eventSlug: string | null | undefined; eventTitle: string | null | undefined; eventImage: string | null | undefined; } | null | undefined; } | null | undefined; }[]; }[]; }, { combos: { conditionId: ComboConditionId; positionId: PositionId; outcome: ComboPositionOutcome; moduleId: number; wallet: string; shares: DecimalString; entryAvgPriceUsdc: DecimalString | null | undefined; entryCostUsdc: DecimalString | null | undefined; realizedPayoutUsdc: DecimalString | null | undefined; totalCostUsdc: DecimalString | null | undefined; firstEntryAt: IsoDateTimeString; resolvedAt: IsoDateTimeString | null | undefined; updatedAt: IsoDateTimeString | undefined; legsTotal: number; legsResolved: number; legsPending: number; status: ComboPositionStatus; redeemable: boolean; legs: { legIndex: number; legPositionId: PositionId; legConditionId: ConditionId; legOutcomeIndex: number; legOutcomeLabel: string | null | undefined; legStatus: ComboPositionStatus; legResolvedAt: IsoDateTimeString | null | undefined; legCurrentPrice: DecimalString | null | undefined; market?: { marketId: string | null | undefined; imageUrl: string | null | undefined; iconUrl: string | null | undefined; endDate: IsoDateTimeString | null | undefined; slug?: string | null | undefined; title?: string | null | undefined; outcome?: string | null | undefined; category?: string | null | undefined; subcategory?: string | null | undefined; tags?: string[] | null | undefined; event?: { eventId: string | null | undefined; eventSlug: string | null | undefined; eventTitle: string | null | undefined; eventImage: string | null | undefined; } | null | undefined; } | null | undefined; }[]; }[]; pagination: { limit: number; offset: number; has_more: boolean; next_cursor?: PaginationCursor | null | undefined; }; }>>; declare const ListPositionsResponseSchema: z.ZodArray>; asset: z.ZodOptional>>>; conditionId: z.ZodPipe>; size: z.ZodOptional>, z.ZodPipe>]>>>; avgPrice: z.ZodOptional>, z.ZodPipe>]>>>; initialValue: z.ZodOptional>, z.ZodPipe>]>>>; currentValue: z.ZodOptional>, z.ZodPipe>]>>>; cashPnl: z.ZodOptional>, z.ZodPipe>]>>>; percentPnl: z.ZodOptional>; totalBought: z.ZodOptional>, z.ZodPipe>]>>>; realizedPnl: z.ZodOptional>, z.ZodPipe>]>>>; percentRealizedPnl: z.ZodOptional>; curPrice: z.ZodOptional>, z.ZodPipe>]>>>; redeemable: z.ZodOptional>; mergeable: z.ZodOptional>; title: z.ZodOptional>; slug: z.ZodOptional>; icon: z.ZodPipe, z.ZodOptional>>; eventId: z.ZodOptional>; eventSlug: z.ZodOptional>; outcome: z.ZodOptional>; outcomeIndex: z.ZodOptional>; oppositeOutcome: z.ZodOptional>; oppositeAsset: z.ZodOptional>>>; endDate: z.ZodOptional>, z.ZodPipe>]>>>; negativeRisk: z.ZodOptional>; }, z.core.$strip>, z.ZodTransform<{ wallet: string | null | undefined; tokenId: TokenId | null | undefined; oppositeTokenId: TokenId | null | undefined; conditionId: ConditionId; size?: DecimalString | null | undefined; avgPrice?: DecimalString | null | undefined; initialValue?: DecimalString | null | undefined; currentValue?: DecimalString | null | undefined; cashPnl?: DecimalString | null | undefined; percentPnl?: number | null | undefined; totalBought?: DecimalString | null | undefined; realizedPnl?: DecimalString | null | undefined; percentRealizedPnl?: number | null | undefined; curPrice?: DecimalString | null | undefined; redeemable?: boolean | null | undefined; mergeable?: boolean | null | undefined; title?: string | null | undefined; slug?: string | null | undefined; icon?: string | null | undefined; eventId?: string | null | undefined; eventSlug?: string | null | undefined; outcome?: string | null | undefined; outcomeIndex?: number | null | undefined; oppositeOutcome?: string | null | undefined; endDate?: IsoCalendarDateString | null | undefined; negativeRisk?: boolean | null | undefined; }, { conditionId: ConditionId; proxyWallet?: string | null | undefined; asset?: TokenId | null | undefined; size?: DecimalString | null | undefined; avgPrice?: DecimalString | null | undefined; initialValue?: DecimalString | null | undefined; currentValue?: DecimalString | null | undefined; cashPnl?: DecimalString | null | undefined; percentPnl?: number | null | undefined; totalBought?: DecimalString | null | undefined; realizedPnl?: DecimalString | null | undefined; percentRealizedPnl?: number | null | undefined; curPrice?: DecimalString | null | undefined; redeemable?: boolean | null | undefined; mergeable?: boolean | null | undefined; title?: string | null | undefined; slug?: string | null | undefined; icon?: string | null | undefined; eventId?: string | null | undefined; eventSlug?: string | null | undefined; outcome?: string | null | undefined; outcomeIndex?: number | null | undefined; oppositeOutcome?: string | null | undefined; oppositeAsset?: TokenId | null | undefined; endDate?: IsoCalendarDateString | null | undefined; negativeRisk?: boolean | null | undefined; }>>>; declare const ListClosedPositionsResponseSchema: z.ZodArray>; asset: z.ZodOptional>>>; conditionId: z.ZodOptional>>>; avgPrice: z.ZodOptional>, z.ZodPipe>]>>>; totalBought: z.ZodOptional>, z.ZodPipe>]>>>; realizedPnl: z.ZodOptional>, z.ZodPipe>]>>>; curPrice: z.ZodOptional>, z.ZodPipe>]>>>; timestamp: z.ZodOptional>>>; title: z.ZodOptional>; slug: z.ZodOptional>; icon: z.ZodPipe, z.ZodOptional>>; eventSlug: z.ZodOptional>; outcome: z.ZodOptional>; outcomeIndex: z.ZodOptional>; oppositeOutcome: z.ZodOptional>; oppositeAsset: z.ZodOptional>>>; endDate: z.ZodOptional>>>; }, z.core.$strip>, z.ZodTransform<{ wallet: string | null | undefined; tokenId: TokenId | null | undefined; oppositeTokenId: TokenId | null | undefined; conditionId?: ConditionId | null | undefined; avgPrice?: DecimalString | null | undefined; totalBought?: DecimalString | null | undefined; realizedPnl?: DecimalString | null | undefined; curPrice?: DecimalString | null | undefined; timestamp?: EpochMilliseconds | null | undefined; title?: string | null | undefined; slug?: string | null | undefined; icon?: string | null | undefined; eventSlug?: string | null | undefined; outcome?: string | null | undefined; outcomeIndex?: number | null | undefined; oppositeOutcome?: string | null | undefined; endDate?: MixedDateTimeString | null | undefined; }, { proxyWallet?: string | null | undefined; asset?: TokenId | null | undefined; conditionId?: ConditionId | null | undefined; avgPrice?: DecimalString | null | undefined; totalBought?: DecimalString | null | undefined; realizedPnl?: DecimalString | null | undefined; curPrice?: DecimalString | null | undefined; timestamp?: EpochMilliseconds | null | undefined; title?: string | null | undefined; slug?: string | null | undefined; icon?: string | null | undefined; eventSlug?: string | null | undefined; outcome?: string | null | undefined; outcomeIndex?: number | null | undefined; oppositeOutcome?: string | null | undefined; oppositeAsset?: TokenId | null | undefined; endDate?: MixedDateTimeString | null | undefined; }>>>; declare const FetchPortfolioValueResponseSchema: z.ZodArray>; value: z.ZodOptional>, z.ZodPipe>]>>>; }, z.core.$strip>>; declare const ListMarketPositionsResponseSchema: z.ZodArray>; positions: z.ZodOptional>; name: z.ZodOptional>; profileImage: z.ZodOptional>; verified: z.ZodOptional>; asset: z.ZodOptional>>>; conditionId: z.ZodOptional>>>; avgPrice: z.ZodOptional>, z.ZodPipe>]>>>; size: z.ZodOptional>, z.ZodPipe>]>>>; currPrice: z.ZodOptional>, z.ZodPipe>]>>>; currentValue: z.ZodOptional>, z.ZodPipe>]>>>; cashPnl: z.ZodOptional>, z.ZodPipe>]>>>; totalBought: z.ZodOptional>, z.ZodPipe>]>>>; realizedPnl: z.ZodOptional>, z.ZodPipe>]>>>; totalPnl: z.ZodOptional>, z.ZodPipe>]>>>; outcome: z.ZodOptional>; outcomeIndex: z.ZodOptional>; }, z.core.$strip>, z.ZodTransform<{ wallet: string | null | undefined; tokenId: TokenId | null | undefined; name?: string | null | undefined; profileImage?: string | null | undefined; verified?: boolean | null | undefined; conditionId?: ConditionId | null | undefined; avgPrice?: DecimalString | null | undefined; size?: DecimalString | null | undefined; currPrice?: DecimalString | null | undefined; currentValue?: DecimalString | null | undefined; cashPnl?: DecimalString | null | undefined; totalBought?: DecimalString | null | undefined; realizedPnl?: DecimalString | null | undefined; totalPnl?: DecimalString | null | undefined; outcome?: string | null | undefined; outcomeIndex?: number | null | undefined; }, { proxyWallet?: string | null | undefined; name?: string | null | undefined; profileImage?: string | null | undefined; verified?: boolean | null | undefined; asset?: TokenId | null | undefined; conditionId?: ConditionId | null | undefined; avgPrice?: DecimalString | null | undefined; size?: DecimalString | null | undefined; currPrice?: DecimalString | null | undefined; currentValue?: DecimalString | null | undefined; cashPnl?: DecimalString | null | undefined; totalBought?: DecimalString | null | undefined; realizedPnl?: DecimalString | null | undefined; totalPnl?: DecimalString | null | undefined; outcome?: string | null | undefined; outcomeIndex?: number | null | undefined; }>>>>>; }, z.core.$strip>>; type Position = z.infer; type ClosedPosition = z.infer; type Value = z.infer; type MarketPosition = z.infer; type MetaMarketPosition = z.infer; type ComboPositionMarketEvent = z.infer; type ComboPositionMarket = z.infer; type ComboPositionLeg = z.infer; type ComboPosition = z.infer; type ListPositionsResponse = z.infer; type ListClosedPositionsResponse = z.infer; type FetchPortfolioValueResponse = z.infer; type ListMarketPositionsResponse = z.infer; type ListComboPositionsResponse = z.infer; declare enum ComboActivityType { Split = "SPLIT", Merge = "MERGE", Convert = "CONVERT", Compress = "COMPRESS", Wrap = "WRAP", Unwrap = "UNWRAP", Redeem = "REDEEM" } type ActivityBase = { /** Wallet address whose account history contains this activity. */ wallet: Address; /** Activity time as Unix epoch milliseconds. */ timestamp: EpochMilliseconds; /** Polygon transaction hash that produced or records this activity. */ transactionHash: TxHash; /** Display name of the wallet owner at the time returned by the API. */ name: string | null; /** Public pseudonym of the wallet owner at the time returned by the API. */ pseudonym: string | null; /** Profile biography of the wallet owner at the time returned by the API. */ bio: string | null; /** Source profile image URL for the wallet owner. */ profileImage: string | null; /** Optimized profile image URL for the wallet owner. */ profileImageOptimized: string | null; }; type TradeActivityBase = ActivityBase & { /** A directional outcome-token trade. */ type: ActivityType.TRADE; /** Whether this trade is for a Combo position instead of a binary market token. */ isCombo: boolean; /** Direction of the wallet's trade. */ side: Side; /** Number of shares traded by the wallet. */ shares: DecimalString; /** The notional value of the traded shares in USD. */ amount: DecimalString; /** The execution price per share in USD. */ price: DecimalString; /** Human-readable title of the traded market or Combo. */ title: string; /** Icon URL for the traded market or Combo, when available. */ icon: string | null; }; type ClobTradeActivity = TradeActivityBase & { /** CLOB market trades are binary market outcome-token trades. */ isCombo: false; /** Condition id of the market traded by the wallet. */ conditionId: ConditionId; /** Outcome token id bought or sold by the wallet. */ tokenId: TokenId; /** Display label of the outcome token traded by the wallet. */ outcome: string; /** Zero-based index of the outcome token in the market's outcome list. */ outcomeIndex: number; /** URL slug of the market traded by the wallet. */ slug: string; /** URL slug of the event containing the traded market. */ eventSlug: string; }; type ComboTradeActivity = TradeActivityBase & { /** Combo trades are protocol v2 Combo position trades. */ isCombo: true; /** Combo condition id traded by the wallet. */ conditionId: ComboConditionId; /** Combo position id bought or sold by the wallet. */ positionId: PositionId; }; type TradeActivity = ClobTradeActivity | ComboTradeActivity; type SplitActivity = ActivityBase & { /** Splitting collateral into a complete market set. */ type: 'SPLIT'; /** Condition id of the market whose complete set was created. */ conditionId: ConditionId; /** The collateral amount split into the complete set in USD. */ amount: DecimalString; /** Human-readable title of the market whose complete set was created. */ title: string; /** URL slug of the market whose complete set was created. */ slug: string; /** Icon URL for the market whose complete set was created, when available. */ icon: string | null; /** URL slug of the event containing the split market. */ eventSlug: string; }; type MergeActivity = ActivityBase & { /** Merging a complete market set into collateral. */ type: 'MERGE'; /** Condition id of the market whose complete set was merged. */ conditionId: ConditionId; /** The collateral amount received from merging the complete set in USD. */ amount: DecimalString; /** Human-readable title of the market whose complete set was merged. */ title: string; /** URL slug of the market whose complete set was merged. */ slug: string; /** Icon URL for the market whose complete set was merged, when available. */ icon: string | null; /** URL slug of the event containing the merged market. */ eventSlug: string; }; type RedeemActivity = ActivityBase & { /** Redeeming resolved market proceeds. */ type: 'REDEEM'; /** Condition id of the market redeemed by the wallet. */ conditionId: ConditionId; /** The proceeds redeemed from the resolved market in USD. */ amount: DecimalString; /** Human-readable title of the market redeemed by the wallet. */ title: string; /** URL slug of the market redeemed by the wallet. */ slug: string; /** Icon URL for the market redeemed by the wallet, when available. */ icon: string | null; /** URL slug of the event containing the redeemed market. */ eventSlug: string; }; type ConversionActivity = ActivityBase & { /** A market conversion or migration activity. */ type: 'CONVERSION'; /** Condition id of the market involved in the conversion. */ conditionId: ConditionId; /** The amount converted or migrated for the market in USD. */ amount: DecimalString; /** Human-readable title of the market involved in the conversion. */ title: string; /** URL slug of the market involved in the conversion. */ slug: string; /** Icon URL for the market involved in the conversion, when available. */ icon: string | null; /** URL slug of the event containing the converted market. */ eventSlug: string; }; type RewardActivity = ActivityBase & { /** An account-level reward credit. */ type: 'REWARD'; /** The reward amount credited to the wallet in USD. */ amount: DecimalString; }; type MakerRebateActivity = ActivityBase & { /** An account-level maker rebate credit. */ type: 'MAKER_REBATE'; /** The maker rebate amount credited to the wallet in USD. */ amount: DecimalString; }; type ReferralRewardActivity = ActivityBase & { /** An account-level referral reward credit. */ type: 'REFERRAL_REWARD'; /** The referral reward amount credited to the wallet in USD. */ amount: DecimalString; }; type YieldActivity = ActivityBase & { /** An account-level yield credit. */ type: 'YIELD'; /** The yield amount credited to the wallet in USD. */ amount: DecimalString; }; type DepositActivity = ActivityBase & { /** An account-level deposit credit. */ type: 'DEPOSIT'; /** The deposit amount credited to the wallet in USD. */ amount: DecimalString; }; type WithdrawalActivity = ActivityBase & { /** An account-level withdrawal debit. */ type: 'WITHDRAWAL'; /** The withdrawal amount debited from the wallet in USD. */ amount: DecimalString; }; type TakerRebateActivity = ActivityBase & { /** An account-level taker rebate credit. */ type: 'TAKER_REBATE'; /** The taker rebate amount credited to the wallet in USD. */ amount: DecimalString; }; type Activity = TradeActivity | SplitActivity | MergeActivity | RedeemActivity | ConversionActivity | RewardActivity | MakerRebateActivity | ReferralRewardActivity | YieldActivity | DepositActivity | WithdrawalActivity | TakerRebateActivity; type ComboActivityBase = { /** Stable row id derived from the transaction hash and log index. */ id: ComboActivityId; /** Normalized lifecycle activity type. */ type: ComboActivityType; /** Wallet address whose account history contains this activity. */ wallet: Address; /** Combo condition id involved in this activity. */ conditionId: ComboConditionId; /** Combo module id. */ moduleId: number; /** Amount associated with the lifecycle event in USD. */ amount: DecimalString | null; /** Activity time as Unix epoch milliseconds. */ timestamp: EpochMilliseconds; /** Activity transaction time as an ISO date-time string. */ transactionAt: IsoDateTimeString; /** Polygon transaction hash that produced this activity. */ transactionHash: TxHash; /** Log index within the transaction. */ logIndex: number; /** Polygon block number. */ blockNumber: number; /** Combo legs enriched with market metadata at read time. */ legs: ComboPositionLeg[]; }; type ComboSplitActivity = ComboActivityBase & { type: ComboActivityType.Split; }; type ComboMergeActivity = ComboActivityBase & { type: ComboActivityType.Merge; }; type ComboConvertActivity = ComboActivityBase & { type: ComboActivityType.Convert; }; type ComboCompressActivity = ComboActivityBase & { type: ComboActivityType.Compress; }; type ComboWrapActivity = ComboActivityBase & { type: ComboActivityType.Wrap; }; type ComboUnwrapActivity = ComboActivityBase & { type: ComboActivityType.Unwrap; }; type ComboRedeemActivity = ComboActivityBase & { type: ComboActivityType.Redeem; /** Redeemed Combo position id. Only redeem rows carry a source position id. */ positionId: PositionId; /** Payout from the redemption in USD. Only redeem rows carry payout semantics. */ payout: DecimalString | null; }; type ComboActivity = ComboSplitActivity | ComboMergeActivity | ComboConvertActivity | ComboCompressActivity | ComboWrapActivity | ComboUnwrapActivity | ComboRedeemActivity; declare const ComboActivitySchema: z.ZodType; declare const TradeSchema: z.ZodPipe>; side: z.ZodOptional>>; asset: z.ZodOptional>>>; conditionId: z.ZodOptional>>>; size: z.ZodOptional>, z.ZodPipe>]>>>; price: z.ZodOptional>, z.ZodPipe>]>>>; timestamp: z.ZodOptional>>>; title: z.ZodOptional>; slug: z.ZodOptional>; icon: z.ZodPipe, z.ZodOptional>>; eventSlug: z.ZodOptional>; outcome: z.ZodOptional>; outcomeIndex: z.ZodOptional>; name: z.ZodOptional>; pseudonym: z.ZodOptional>; bio: z.ZodOptional>; profileImage: z.ZodOptional>; profileImageOptimized: z.ZodOptional>; transactionHash: z.ZodOptional>; }, z.core.$strip>, z.ZodTransform<{ wallet: string | null | undefined; tokenId: TokenId | null | undefined; side?: "BUY" | "SELL" | null | undefined; conditionId?: ConditionId | null | undefined; size?: DecimalString | null | undefined; price?: DecimalString | null | undefined; timestamp?: EpochMilliseconds | null | undefined; title?: string | null | undefined; slug?: string | null | undefined; icon?: string | null | undefined; eventSlug?: string | null | undefined; outcome?: string | null | undefined; outcomeIndex?: number | null | undefined; name?: string | null | undefined; pseudonym?: string | null | undefined; bio?: string | null | undefined; profileImage?: string | null | undefined; profileImageOptimized?: string | null | undefined; transactionHash?: string | null | undefined; }, { proxyWallet?: string | null | undefined; side?: "BUY" | "SELL" | null | undefined; asset?: TokenId | null | undefined; conditionId?: ConditionId | null | undefined; size?: DecimalString | null | undefined; price?: DecimalString | null | undefined; timestamp?: EpochMilliseconds | null | undefined; title?: string | null | undefined; slug?: string | null | undefined; icon?: string | null | undefined; eventSlug?: string | null | undefined; outcome?: string | null | undefined; outcomeIndex?: number | null | undefined; name?: string | null | undefined; pseudonym?: string | null | undefined; bio?: string | null | undefined; profileImage?: string | null | undefined; profileImageOptimized?: string | null | undefined; transactionHash?: string | null | undefined; }>>; declare const ActivitySchema: z.ZodType; declare const TradedSchema: z.ZodObject<{ user: z.ZodOptional>; traded: z.ZodOptional>; }, z.core.$strip>; declare const ListTradesResponseSchema: z.ZodArray>; side: z.ZodOptional>>; asset: z.ZodOptional>>>; conditionId: z.ZodOptional>>>; size: z.ZodOptional>, z.ZodPipe>]>>>; price: z.ZodOptional>, z.ZodPipe>]>>>; timestamp: z.ZodOptional>>>; title: z.ZodOptional>; slug: z.ZodOptional>; icon: z.ZodPipe, z.ZodOptional>>; eventSlug: z.ZodOptional>; outcome: z.ZodOptional>; outcomeIndex: z.ZodOptional>; name: z.ZodOptional>; pseudonym: z.ZodOptional>; bio: z.ZodOptional>; profileImage: z.ZodOptional>; profileImageOptimized: z.ZodOptional>; transactionHash: z.ZodOptional>; }, z.core.$strip>, z.ZodTransform<{ wallet: string | null | undefined; tokenId: TokenId | null | undefined; side?: "BUY" | "SELL" | null | undefined; conditionId?: ConditionId | null | undefined; size?: DecimalString | null | undefined; price?: DecimalString | null | undefined; timestamp?: EpochMilliseconds | null | undefined; title?: string | null | undefined; slug?: string | null | undefined; icon?: string | null | undefined; eventSlug?: string | null | undefined; outcome?: string | null | undefined; outcomeIndex?: number | null | undefined; name?: string | null | undefined; pseudonym?: string | null | undefined; bio?: string | null | undefined; profileImage?: string | null | undefined; profileImageOptimized?: string | null | undefined; transactionHash?: string | null | undefined; }, { proxyWallet?: string | null | undefined; side?: "BUY" | "SELL" | null | undefined; asset?: TokenId | null | undefined; conditionId?: ConditionId | null | undefined; size?: DecimalString | null | undefined; price?: DecimalString | null | undefined; timestamp?: EpochMilliseconds | null | undefined; title?: string | null | undefined; slug?: string | null | undefined; icon?: string | null | undefined; eventSlug?: string | null | undefined; outcome?: string | null | undefined; outcomeIndex?: number | null | undefined; name?: string | null | undefined; pseudonym?: string | null | undefined; bio?: string | null | undefined; profileImage?: string | null | undefined; profileImageOptimized?: string | null | undefined; transactionHash?: string | null | undefined; }>>>; declare const ListActivityResponseSchema: z.ZodArray>>; declare const ListComboActivityResponseSchema: z.ZodPipe>>; pagination: z.ZodObject<{ limit: z.ZodNumber; offset: z.ZodNumber; has_more: z.ZodBoolean; next_cursor: z.ZodOptional>>; }, z.core.$strip>; }, z.core.$strip>, z.ZodTransform<{ pagination: { limit: number; offset: number; hasMore: boolean; nextCursor: PaginationCursor | null | undefined; }; activity: ComboActivity[]; }, { activity: ComboActivity[]; pagination: { limit: number; offset: number; has_more: boolean; next_cursor?: PaginationCursor | null | undefined; }; }>>; type Trade = z.infer; type Traded = z.infer; type ListTradesResponse = z.infer; type ListActivityResponse = z.infer; type ListComboActivityResponse = z.infer; declare const HolderSchema: z.ZodPipe>; bio: z.ZodOptional>; asset: z.ZodOptional>>>; pseudonym: z.ZodOptional>; amount: z.ZodOptional>, z.ZodPipe>]>>>; displayUsernamePublic: z.ZodOptional>; outcomeIndex: z.ZodOptional>; name: z.ZodOptional>; profileImage: z.ZodOptional>; profileImageOptimized: z.ZodOptional>; }, z.core.$strip>, z.ZodTransform<{ wallet: string | null | undefined; tokenId: TokenId | null | undefined; bio?: string | null | undefined; pseudonym?: string | null | undefined; amount?: DecimalString | null | undefined; displayUsernamePublic?: boolean | null | undefined; outcomeIndex?: number | null | undefined; name?: string | null | undefined; profileImage?: string | null | undefined; profileImageOptimized?: string | null | undefined; }, { proxyWallet?: string | null | undefined; bio?: string | null | undefined; asset?: TokenId | null | undefined; pseudonym?: string | null | undefined; amount?: DecimalString | null | undefined; displayUsernamePublic?: boolean | null | undefined; outcomeIndex?: number | null | undefined; name?: string | null | undefined; profileImage?: string | null | undefined; profileImageOptimized?: string | null | undefined; }>>; declare const MetaHolderSchema: z.ZodObject<{ token: z.ZodOptional>; holders: z.ZodOptional>; bio: z.ZodOptional>; asset: z.ZodOptional>>>; pseudonym: z.ZodOptional>; amount: z.ZodOptional>, z.ZodPipe>]>>>; displayUsernamePublic: z.ZodOptional>; outcomeIndex: z.ZodOptional>; name: z.ZodOptional>; profileImage: z.ZodOptional>; profileImageOptimized: z.ZodOptional>; }, z.core.$strip>, z.ZodTransform<{ wallet: string | null | undefined; tokenId: TokenId | null | undefined; bio?: string | null | undefined; pseudonym?: string | null | undefined; amount?: DecimalString | null | undefined; displayUsernamePublic?: boolean | null | undefined; outcomeIndex?: number | null | undefined; name?: string | null | undefined; profileImage?: string | null | undefined; profileImageOptimized?: string | null | undefined; }, { proxyWallet?: string | null | undefined; bio?: string | null | undefined; asset?: TokenId | null | undefined; pseudonym?: string | null | undefined; amount?: DecimalString | null | undefined; displayUsernamePublic?: boolean | null | undefined; outcomeIndex?: number | null | undefined; name?: string | null | undefined; profileImage?: string | null | undefined; profileImageOptimized?: string | null | undefined; }>>>>>; }, z.core.$strip>; declare const OpenInterestSchema: z.ZodObject<{ market: z.ZodOptional>; value: z.ZodOptional>, z.ZodPipe>]>>>; }, z.core.$strip>; declare const MarketVolumeSchema: z.ZodObject<{ market: z.ZodOptional>; value: z.ZodOptional>, z.ZodPipe>]>>>; }, z.core.$strip>; declare const LiveVolumeSchema: z.ZodObject<{ total: z.ZodOptional>, z.ZodPipe>]>>>; markets: z.ZodOptional>; value: z.ZodOptional>, z.ZodPipe>]>>>; }, z.core.$strip>>>>; }, z.core.$strip>; declare const ListMarketHoldersResponseSchema: z.ZodArray>; holders: z.ZodOptional>; bio: z.ZodOptional>; asset: z.ZodOptional>>>; pseudonym: z.ZodOptional>; amount: z.ZodOptional>, z.ZodPipe>]>>>; displayUsernamePublic: z.ZodOptional>; outcomeIndex: z.ZodOptional>; name: z.ZodOptional>; profileImage: z.ZodOptional>; profileImageOptimized: z.ZodOptional>; }, z.core.$strip>, z.ZodTransform<{ wallet: string | null | undefined; tokenId: TokenId | null | undefined; bio?: string | null | undefined; pseudonym?: string | null | undefined; amount?: DecimalString | null | undefined; displayUsernamePublic?: boolean | null | undefined; outcomeIndex?: number | null | undefined; name?: string | null | undefined; profileImage?: string | null | undefined; profileImageOptimized?: string | null | undefined; }, { proxyWallet?: string | null | undefined; bio?: string | null | undefined; asset?: TokenId | null | undefined; pseudonym?: string | null | undefined; amount?: DecimalString | null | undefined; displayUsernamePublic?: boolean | null | undefined; outcomeIndex?: number | null | undefined; name?: string | null | undefined; profileImage?: string | null | undefined; profileImageOptimized?: string | null | undefined; }>>>>>; }, z.core.$strip>>; declare const ListOpenInterestResponseSchema: z.ZodArray>; value: z.ZodOptional>, z.ZodPipe>]>>>; }, z.core.$strip>>; declare const FetchEventLiveVolumeResponseSchema: z.ZodArray>, z.ZodPipe>]>>>; markets: z.ZodOptional>; value: z.ZodOptional>, z.ZodPipe>]>>>; }, z.core.$strip>>>>; }, z.core.$strip>>; type Holder = z.infer; type MetaHolder = z.infer; type OpenInterest = z.infer; type MarketVolume = z.infer; type LiveVolume = z.infer; type ListMarketHoldersResponse = z.infer; type ListOpenInterestResponse = z.infer; type FetchEventLiveVolumeResponse = z.infer; declare const LeaderboardEntrySchema: z.ZodObject<{ rank: z.ZodOptional>; builder: z.ZodOptional>; volume: z.ZodOptional>, z.ZodPipe>]>>>; activeUsers: z.ZodOptional>; verified: z.ZodOptional>; builderLogo: z.ZodOptional>; }, z.core.$strip>; declare const BuilderVolumeEntrySchema: z.ZodPipe>, z.ZodPipe>]>>>; builder: z.ZodOptional>; builderLogo: z.ZodOptional>; verified: z.ZodOptional>; volume: z.ZodOptional>, z.ZodPipe>]>>>; activeUsers: z.ZodOptional>; rank: z.ZodOptional>; }, z.core.$strip>, z.ZodTransform<{ bucketAt: IsoDateTimeString | null | undefined; builder?: string | null | undefined; builderLogo?: string | null | undefined; verified?: boolean | null | undefined; volume?: DecimalString | null | undefined; activeUsers?: number | null | undefined; rank?: string | null | undefined; }, { dt?: IsoDateTimeString | null | undefined; builder?: string | null | undefined; builderLogo?: string | null | undefined; verified?: boolean | null | undefined; volume?: DecimalString | null | undefined; activeUsers?: number | null | undefined; rank?: string | null | undefined; }>>; declare const TraderLeaderboardEntrySchema: z.ZodPipe>; proxyWallet: z.ZodOptional>; userName: z.ZodOptional>; vol: z.ZodOptional>, z.ZodPipe>]>>>; pnl: z.ZodOptional>, z.ZodPipe>]>>>; profileImage: z.ZodOptional>; xUsername: z.ZodOptional>; verifiedBadge: z.ZodOptional>; }, z.core.$strip>, z.ZodTransform<{ wallet: string | null | undefined; rank?: string | null | undefined; userName?: string | null | undefined; vol?: DecimalString | null | undefined; pnl?: DecimalString | null | undefined; profileImage?: string | null | undefined; xUsername?: string | null | undefined; verifiedBadge?: boolean | null | undefined; }, { rank?: string | null | undefined; proxyWallet?: string | null | undefined; userName?: string | null | undefined; vol?: DecimalString | null | undefined; pnl?: DecimalString | null | undefined; profileImage?: string | null | undefined; xUsername?: string | null | undefined; verifiedBadge?: boolean | null | undefined; }>>; declare const ListBuilderLeaderboardResponseSchema: z.ZodArray>; builder: z.ZodOptional>; volume: z.ZodOptional>, z.ZodPipe>]>>>; activeUsers: z.ZodOptional>; verified: z.ZodOptional>; builderLogo: z.ZodOptional>; }, z.core.$strip>>; declare const ListBuilderVolumeResponseSchema: z.ZodArray>, z.ZodPipe>]>>>; builder: z.ZodOptional>; builderLogo: z.ZodOptional>; verified: z.ZodOptional>; volume: z.ZodOptional>, z.ZodPipe>]>>>; activeUsers: z.ZodOptional>; rank: z.ZodOptional>; }, z.core.$strip>, z.ZodTransform<{ bucketAt: IsoDateTimeString | null | undefined; builder?: string | null | undefined; builderLogo?: string | null | undefined; verified?: boolean | null | undefined; volume?: DecimalString | null | undefined; activeUsers?: number | null | undefined; rank?: string | null | undefined; }, { dt?: IsoDateTimeString | null | undefined; builder?: string | null | undefined; builderLogo?: string | null | undefined; verified?: boolean | null | undefined; volume?: DecimalString | null | undefined; activeUsers?: number | null | undefined; rank?: string | null | undefined; }>>>; declare const ListTraderLeaderboardResponseSchema: z.ZodArray>; proxyWallet: z.ZodOptional>; userName: z.ZodOptional>; vol: z.ZodOptional>, z.ZodPipe>]>>>; pnl: z.ZodOptional>, z.ZodPipe>]>>>; profileImage: z.ZodOptional>; xUsername: z.ZodOptional>; verifiedBadge: z.ZodOptional>; }, z.core.$strip>, z.ZodTransform<{ wallet: string | null | undefined; rank?: string | null | undefined; userName?: string | null | undefined; vol?: DecimalString | null | undefined; pnl?: DecimalString | null | undefined; profileImage?: string | null | undefined; xUsername?: string | null | undefined; verifiedBadge?: boolean | null | undefined; }, { rank?: string | null | undefined; proxyWallet?: string | null | undefined; userName?: string | null | undefined; vol?: DecimalString | null | undefined; pnl?: DecimalString | null | undefined; profileImage?: string | null | undefined; xUsername?: string | null | undefined; verifiedBadge?: boolean | null | undefined; }>>>; type LeaderboardEntry = z.infer; type BuilderVolumeEntry = z.infer; type TraderLeaderboardEntry = z.infer; type ListBuilderLeaderboardResponse = z.infer; type ListBuilderVolumeResponse = z.infer; type ListTraderLeaderboardResponse = z.infer; export { type Activity, type ActivityBase, ActivitySchema, ActivityType, ActivityTypeSchema, type Address, AddressSchema, type BuilderVolumeEntry, BuilderVolumeEntrySchema, type ClobTradeActivity, type ClosedPosition, ClosedPositionSchema, type ComboActivity, ComboActivitySchema, ComboActivityType, type ComboCompressActivity, type ComboConvertActivity, type ComboMergeActivity, type ComboPosition, type ComboPositionLeg, ComboPositionLegSchema, type ComboPositionMarket, type ComboPositionMarketEvent, ComboPositionMarketEventSchema, ComboPositionMarketSchema, ComboPositionOutcome, ComboPositionOutcomeSchema, ComboPositionSchema, ComboPositionStatus, ComboPositionStatusSchema, type ComboRedeemActivity, type ComboSplitActivity, type ComboTradeActivity, type ComboUnwrapActivity, type ComboWrapActivity, type ConversionActivity, type DepositActivity, type FetchEventLiveVolumeResponse, FetchEventLiveVolumeResponseSchema, type FetchPortfolioValueResponse, FetchPortfolioValueResponseSchema, type Hash64, Hash64Schema, type Holder, HolderSchema, type LeaderboardCategory, LeaderboardCategorySchema, type LeaderboardEntry, LeaderboardEntrySchema, type LeaderboardOrderBy, LeaderboardOrderBySchema, type ListActivityResponse, ListActivityResponseSchema, type ListBuilderLeaderboardResponse, ListBuilderLeaderboardResponseSchema, type ListBuilderVolumeResponse, ListBuilderVolumeResponseSchema, type ListClosedPositionsResponse, ListClosedPositionsResponseSchema, type ListComboActivityResponse, ListComboActivityResponseSchema, type ListComboPositionsResponse, ListComboPositionsResponseSchema, type ListMarketHoldersResponse, ListMarketHoldersResponseSchema, type ListMarketPositionsResponse, ListMarketPositionsResponseSchema, type ListOpenInterestResponse, ListOpenInterestResponseSchema, type ListPositionsResponse, ListPositionsResponseSchema, type ListTraderLeaderboardResponse, ListTraderLeaderboardResponseSchema, type ListTradesResponse, ListTradesResponseSchema, type LiveVolume, LiveVolumeSchema, type MakerRebateActivity, type MarketPosition, MarketPositionSchema, type MarketVolume, MarketVolumeSchema, type MergeActivity, type MetaHolder, MetaHolderSchema, type MetaMarketPosition, MetaMarketPositionSchema, type OpenInterest, OpenInterestSchema, type Position, PositionSchema, type RedeemActivity, type ReferralRewardActivity, type RewardActivity, type Side, SideSchema, type SplitActivity, type TakerRebateActivity, type TimePeriod, TimePeriodSchema, type Trade, type TradeActivity, TradeSchema, type Traded, TradedSchema, type TraderLeaderboardEntry, TraderLeaderboardEntrySchema, type Value, ValueSchema, type WithdrawalActivity, type YieldActivity };