import type { Hex } from "viem"; import type { ToolResult } from "./orders.js"; /** The wallet that actually holds funds/positions for the active sig mode. */ export declare function getFundsAddress(): Hex; export interface DataApiPosition { asset?: string; conditionId?: string; title?: string; outcome?: string; outcomeIndex?: number; size?: number; avgPrice?: number; curPrice?: number; currentValue?: number; cashPnl?: number; percentPnl?: number; redeemable?: boolean; negativeRisk?: boolean; } /** * Fetch positions with offset pagination so wallets with >100 holdings aren't * silently truncated (a redeemable winner sorted past the first page would * otherwise be invisible). Bounded at POSITIONS_MAX pages of safety. */ export declare function fetchPositions(user: string): Promise; export declare function listPositions(): Promise;