import * as _polymarket_types from '@polymarket/types'; import { P as PerpsInstrumentId, a as PerpsEntityId, b as PerpsFundingPaymentId, c as PerpsDepositStatus, d as PerpsWithdrawalId, e as PerpsKnownWithdrawalStatus, f as PerpsInternalTransferId, g as PerpsInternalTransferDirection, h as PerpsInstrumentType, i as PerpsInstrumentCategory, j as PerpsTradeId, k as PerpsSide } from '../orders-BDfNkzav.js'; export { F as FetchPerpsOpenOrdersResponseSchema, l as FetchPerpsOrdersResponseSchema, m as FetchPerpsUnreadNotificationsCountResponseSchema, L as ListPerpsFillsResponseSchema, n as ListPerpsNotificationsResponseSchema, M as MarkPerpsNotificationsReadResponseSchema, o as PerpsAccountFill, p as PerpsAccountFillSchema, q as PerpsAccountFillUpdateSchema, r as PerpsAssetSchema, s as PerpsCancelAllOrdersResponse, t as PerpsCancelAllOrdersResponseSchema, u as PerpsCancelOrderResult, v as PerpsCancelOrderResultSchema, w as PerpsClientOrderId, x as PerpsClientOrderIdSchema, y as PerpsCommandAck, z as PerpsCommandAckSchema, A as PerpsCommandStatusSchema, B as PerpsCredentials, C as PerpsDataResponseSchema, D as PerpsDecimal, E as PerpsDecimalInput, G as PerpsDecimalInputSchema, H as PerpsDepositAmount, I as PerpsDepositStatusSchema, J as PerpsEntityIdSchema, K as PerpsFundingInterval, N as PerpsFundingIntervalSchema, O as PerpsFundingPaymentIdSchema, Q as PerpsInstrumentCategorySchema, R as PerpsInstrumentIdSchema, S as PerpsInstrumentTypeSchema, T as PerpsInternalTransferDirectionSchema, U as PerpsInternalTransferIdSchema, V as PerpsKlineInterval, W as PerpsKlineIntervalSchema, X as PerpsLimitOrderCanceledNotification, Y as PerpsLimitOrderCanceledNotificationSchema, Z as PerpsLiquidationWarningNotification, _ as PerpsLiquidationWarningNotificationSchema, $ as PerpsMarginType, a0 as PerpsMarginTypeSchema, a1 as PerpsNotification, a2 as PerpsNotificationEntry, a3 as PerpsNotificationEntrySchema, a4 as PerpsNotificationId, a5 as PerpsNotificationIdSchema, a6 as PerpsNotificationOrderType, a7 as PerpsNotificationOrderTypeSchema, a8 as PerpsNotificationSchema, a9 as PerpsNotificationType, aa as PerpsNotificationTypeSchema, ab as PerpsOrder, ac as PerpsOrderId, ad as PerpsOrderIdSchema, ae as PerpsOrderSchema, af as PerpsOrderStatus, ag as PerpsOrderStatusSchema, ah as PerpsOrderUpdateSchema, ai as PerpsPnlInterval, aj as PerpsPnlIntervalSchema, ak as PerpsPositionChangeNotification, al as PerpsPositionChangeNotificationSchema, am as PerpsPositionClosedNotification, an as PerpsPositionClosedNotificationSchema, ao as PerpsPositionLiquidatedNotification, ap as PerpsPositionLiquidatedNotificationSchema, aq as PerpsPostOrderAck, ar as PerpsPostOrderAckSchema, as as PerpsSideSchema, at as PerpsSortDirection, au as PerpsSortDirectionSchema, av as PerpsTimeInForce, aw as PerpsTimeInForceSchema, ax as PerpsTpSlKind, ay as PerpsTpSlKindSchema, az as PerpsTpSlOrderFields, aA as PerpsTpSlOrderFieldsSchema, aB as PerpsTpSlScope, aC as PerpsTpSlScopeSchema, aD as PerpsTradeIdSchema, aE as PerpsTxHash, aF as PerpsTxHashSchema, aG as PerpsUpdateLeverageResult, aH as PerpsUpdateLeverageResultSchema, aI as PerpsWithdrawalAmount, aJ as PerpsWithdrawalIdSchema, aK as PerpsWithdrawalStatus, aL as PerpsWithdrawalStatusSchema, aM as decimalString, aN as perpsBaseUnits, aO as perpsDecimal } from '../orders-BDfNkzav.js'; import { DecimalString, EpochMilliseconds, BaseUnits } from '../index.js'; import { z } from 'zod'; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const PerpsBalanceSchema: z.ZodObject<{ asset: z.ZodString; balance: z.ZodPipe>; value: z.ZodPipe>; }, z.core.$strip>; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ type PerpsBalance = z.infer; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const FetchPerpsBalancesResponseSchema: z.ZodArray>; value: z.ZodPipe>; }, z.core.$strip>>; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const PerpsAccountStatsSchema: z.ZodPipe>; taker_volume_7d: z.ZodPipe>; maker_volume_7d: z.ZodPipe>; account_maker_share_7d: z.ZodPipe>; entity_maker_share_7d: z.ZodOptional>>; entity_id: z.ZodOptional>>; entity_name: z.ZodOptional; }, z.core.$strip>, z.ZodTransform<{ volume7d: DecimalString; takerVolume7d: DecimalString; makerVolume7d: DecimalString; accountMakerShare7d: DecimalString; entityMakerShare7d: DecimalString | undefined; entityId: PerpsEntityId | undefined; entityName: string | undefined; }, { volume_7d: DecimalString; taker_volume_7d: DecimalString; maker_volume_7d: DecimalString; account_maker_share_7d: DecimalString; entity_maker_share_7d?: DecimalString | undefined; entity_id?: PerpsEntityId | undefined; entity_name?: string | undefined; }>>; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ type PerpsAccountStats = z.infer; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const FetchPerpsAccountStatsResponseSchema: z.ZodPipe>; taker_volume_7d: z.ZodPipe>; maker_volume_7d: z.ZodPipe>; account_maker_share_7d: z.ZodPipe>; entity_maker_share_7d: z.ZodOptional>>; entity_id: z.ZodOptional>>; entity_name: z.ZodOptional; }, z.core.$strip>, z.ZodTransform<{ volume7d: DecimalString; takerVolume7d: DecimalString; makerVolume7d: DecimalString; accountMakerShare7d: DecimalString; entityMakerShare7d: DecimalString | undefined; entityId: PerpsEntityId | undefined; entityName: string | undefined; }, { volume_7d: DecimalString; taker_volume_7d: DecimalString; maker_volume_7d: DecimalString; account_maker_share_7d: DecimalString; entity_maker_share_7d?: DecimalString | undefined; entity_id?: PerpsEntityId | undefined; entity_name?: string | undefined; }>>; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const PerpsPortfolioPositionSchema: z.ZodPipe>; symbol: z.ZodString; size: z.ZodPipe>; entry_price: z.ZodPipe>; leverage: z.ZodNumber; cross: z.ZodBoolean; initial_margin: z.ZodPipe>; maintenance_margin: z.ZodPipe>; position_value: z.ZodPipe>; liquidation_price: z.ZodPipe>; unrealized_pnl: z.ZodPipe>; return_on_equity: z.ZodPipe>; cumulative_funding: z.ZodPipe>; }, z.core.$strip>, z.ZodTransform<{ instrumentId: PerpsInstrumentId; symbol: string; size: DecimalString; entryPrice: DecimalString; leverage: number; cross: boolean; initialMargin: DecimalString; maintenanceMargin: DecimalString; positionValue: DecimalString; liquidationPrice: DecimalString; unrealizedPnl: DecimalString; returnOnEquity: DecimalString; cumulativeFunding: DecimalString; }, { instrument_id: PerpsInstrumentId; symbol: string; size: DecimalString; entry_price: DecimalString; leverage: number; cross: boolean; initial_margin: DecimalString; maintenance_margin: DecimalString; position_value: DecimalString; liquidation_price: DecimalString; unrealized_pnl: DecimalString; return_on_equity: DecimalString; cumulative_funding: DecimalString; }>>; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ type PerpsPortfolioPosition = z.infer; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const PerpsMarginSummarySchema: z.ZodObject<{ totalAccountValue: z.ZodPipe>; totalInitialMargin: z.ZodPipe>; totalMaintenanceMargin: z.ZodPipe>; totalPositionValue: z.ZodPipe>; }, z.core.$strip>; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ type PerpsMarginSummary = z.infer; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const PerpsPortfolioSchema: z.ZodPipe>; symbol: z.ZodString; size: z.ZodPipe>; entry_price: z.ZodPipe>; leverage: z.ZodNumber; cross: z.ZodBoolean; initial_margin: z.ZodPipe>; maintenance_margin: z.ZodPipe>; position_value: z.ZodPipe>; liquidation_price: z.ZodPipe>; unrealized_pnl: z.ZodPipe>; return_on_equity: z.ZodPipe>; cumulative_funding: z.ZodPipe>; }, z.core.$strip>, z.ZodTransform<{ instrumentId: PerpsInstrumentId; symbol: string; size: DecimalString; entryPrice: DecimalString; leverage: number; cross: boolean; initialMargin: DecimalString; maintenanceMargin: DecimalString; positionValue: DecimalString; liquidationPrice: DecimalString; unrealizedPnl: DecimalString; returnOnEquity: DecimalString; cumulativeFunding: DecimalString; }, { instrument_id: PerpsInstrumentId; symbol: string; size: DecimalString; entry_price: DecimalString; leverage: number; cross: boolean; initial_margin: DecimalString; maintenance_margin: DecimalString; position_value: DecimalString; liquidation_price: DecimalString; unrealized_pnl: DecimalString; return_on_equity: DecimalString; cumulative_funding: DecimalString; }>>>; margin: z.ZodPipe>; total_initial_margin: z.ZodPipe>; total_maintenance_margin: z.ZodPipe>; total_position_value: z.ZodPipe>; }, z.core.$strip>, z.ZodTransform<{ totalAccountValue: DecimalString; totalInitialMargin: DecimalString; totalMaintenanceMargin: DecimalString; totalPositionValue: DecimalString; }, { total_account_value: DecimalString; total_initial_margin: DecimalString; total_maintenance_margin: DecimalString; total_position_value: DecimalString; }>>; withdrawable: z.ZodPipe>; in_liquidation: z.ZodBoolean; timestamp: z.ZodPipe>; }, z.core.$strip>, z.ZodTransform<{ positions: { instrumentId: PerpsInstrumentId; symbol: string; size: DecimalString; entryPrice: DecimalString; leverage: number; cross: boolean; initialMargin: DecimalString; maintenanceMargin: DecimalString; positionValue: DecimalString; liquidationPrice: DecimalString; unrealizedPnl: DecimalString; returnOnEquity: DecimalString; cumulativeFunding: DecimalString; }[]; margin: { totalAccountValue: DecimalString; totalInitialMargin: DecimalString; totalMaintenanceMargin: DecimalString; totalPositionValue: DecimalString; }; withdrawable: DecimalString; inLiquidation: boolean; timestamp: EpochMilliseconds; }, { positions: { instrumentId: PerpsInstrumentId; symbol: string; size: DecimalString; entryPrice: DecimalString; leverage: number; cross: boolean; initialMargin: DecimalString; maintenanceMargin: DecimalString; positionValue: DecimalString; liquidationPrice: DecimalString; unrealizedPnl: DecimalString; returnOnEquity: DecimalString; cumulativeFunding: DecimalString; }[]; margin: { totalAccountValue: DecimalString; totalInitialMargin: DecimalString; totalMaintenanceMargin: DecimalString; totalPositionValue: DecimalString; }; withdrawable: DecimalString; in_liquidation: boolean; timestamp: EpochMilliseconds; }>>; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ type PerpsPortfolio = z.infer; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const FetchPerpsPortfolioResponseSchema: z.ZodPipe>; symbol: z.ZodString; size: z.ZodPipe>; entry_price: z.ZodPipe>; leverage: z.ZodNumber; cross: z.ZodBoolean; initial_margin: z.ZodPipe>; maintenance_margin: z.ZodPipe>; position_value: z.ZodPipe>; liquidation_price: z.ZodPipe>; unrealized_pnl: z.ZodPipe>; return_on_equity: z.ZodPipe>; cumulative_funding: z.ZodPipe>; }, z.core.$strip>, z.ZodTransform<{ instrumentId: PerpsInstrumentId; symbol: string; size: DecimalString; entryPrice: DecimalString; leverage: number; cross: boolean; initialMargin: DecimalString; maintenanceMargin: DecimalString; positionValue: DecimalString; liquidationPrice: DecimalString; unrealizedPnl: DecimalString; returnOnEquity: DecimalString; cumulativeFunding: DecimalString; }, { instrument_id: PerpsInstrumentId; symbol: string; size: DecimalString; entry_price: DecimalString; leverage: number; cross: boolean; initial_margin: DecimalString; maintenance_margin: DecimalString; position_value: DecimalString; liquidation_price: DecimalString; unrealized_pnl: DecimalString; return_on_equity: DecimalString; cumulative_funding: DecimalString; }>>>; margin: z.ZodPipe>; total_initial_margin: z.ZodPipe>; total_maintenance_margin: z.ZodPipe>; total_position_value: z.ZodPipe>; }, z.core.$strip>, z.ZodTransform<{ totalAccountValue: DecimalString; totalInitialMargin: DecimalString; totalMaintenanceMargin: DecimalString; totalPositionValue: DecimalString; }, { total_account_value: DecimalString; total_initial_margin: DecimalString; total_maintenance_margin: DecimalString; total_position_value: DecimalString; }>>; withdrawable: z.ZodPipe>; in_liquidation: z.ZodBoolean; timestamp: z.ZodPipe>; }, z.core.$strip>, z.ZodTransform<{ positions: { instrumentId: PerpsInstrumentId; symbol: string; size: DecimalString; entryPrice: DecimalString; leverage: number; cross: boolean; initialMargin: DecimalString; maintenanceMargin: DecimalString; positionValue: DecimalString; liquidationPrice: DecimalString; unrealizedPnl: DecimalString; returnOnEquity: DecimalString; cumulativeFunding: DecimalString; }[]; margin: { totalAccountValue: DecimalString; totalInitialMargin: DecimalString; totalMaintenanceMargin: DecimalString; totalPositionValue: DecimalString; }; withdrawable: DecimalString; inLiquidation: boolean; timestamp: EpochMilliseconds; }, { positions: { instrumentId: PerpsInstrumentId; symbol: string; size: DecimalString; entryPrice: DecimalString; leverage: number; cross: boolean; initialMargin: DecimalString; maintenanceMargin: DecimalString; positionValue: DecimalString; liquidationPrice: DecimalString; unrealizedPnl: DecimalString; returnOnEquity: DecimalString; cumulativeFunding: DecimalString; }[]; margin: { totalAccountValue: DecimalString; totalInitialMargin: DecimalString; totalMaintenanceMargin: DecimalString; totalPositionValue: DecimalString; }; withdrawable: DecimalString; in_liquidation: boolean; timestamp: EpochMilliseconds; }>>; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const PerpsAccountFundingPaymentSchema: z.ZodPipe>; instrument_id: z.ZodPipe>; size: z.ZodPipe>; funding_rate: z.ZodPipe>; funding_asset: z.ZodString; funding: z.ZodPipe>; timestamp: z.ZodPipe>; }, z.core.$strip>, z.ZodTransform<{ id: PerpsFundingPaymentId; instrumentId: PerpsInstrumentId; size: DecimalString; fundingRate: DecimalString; fundingAsset: string; funding: DecimalString; timestamp: EpochMilliseconds; }, { id: PerpsFundingPaymentId; instrument_id: PerpsInstrumentId; size: DecimalString; funding_rate: DecimalString; funding_asset: string; funding: DecimalString; timestamp: EpochMilliseconds; }>>; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ type PerpsAccountFundingPayment = z.infer; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const ListPerpsFundingPaymentsResponseSchema: z.ZodObject<{ data: z.ZodArray>; instrument_id: z.ZodPipe>; size: z.ZodPipe>; funding_rate: z.ZodPipe>; funding_asset: z.ZodString; funding: z.ZodPipe>; timestamp: z.ZodPipe>; }, z.core.$strip>, z.ZodTransform<{ id: PerpsFundingPaymentId; instrumentId: PerpsInstrumentId; size: DecimalString; fundingRate: DecimalString; fundingAsset: string; funding: DecimalString; timestamp: EpochMilliseconds; }, { id: PerpsFundingPaymentId; instrument_id: PerpsInstrumentId; size: DecimalString; funding_rate: DecimalString; funding_asset: string; funding: DecimalString; timestamp: EpochMilliseconds; }>>>; more: z.ZodBoolean; }, z.core.$strip>; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const PerpsAccountFundingPaymentEntrySchema: z.ZodPipe>; iid: z.ZodPipe>; sz: z.ZodPipe>; fr: z.ZodPipe>; fund: z.ZodPipe>; fua: z.ZodString; ts: z.ZodPipe>; }, z.core.$strip>, z.ZodTransform<{ id: PerpsFundingPaymentId; instrumentId: PerpsInstrumentId; size: DecimalString; fundingRate: DecimalString; fundingAsset: string; funding: DecimalString; timestamp: EpochMilliseconds; }, { id: PerpsFundingPaymentId; iid: PerpsInstrumentId; sz: DecimalString; fr: DecimalString; fund: DecimalString; fua: string; ts: EpochMilliseconds; }>>; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const PerpsAccountConfigSchema: z.ZodPipe>; leverage: z.ZodNumber; cross: z.ZodBoolean; }, z.core.$strip>, z.ZodTransform<{ instrumentId: PerpsInstrumentId; leverage: number; cross: boolean; }, { instrument_id: PerpsInstrumentId; leverage: number; cross: boolean; }>>; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ type PerpsAccountConfig = z.infer; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const FetchPerpsAccountConfigResponseSchema: z.ZodArray>; leverage: z.ZodNumber; cross: z.ZodBoolean; }, z.core.$strip>, z.ZodTransform<{ instrumentId: PerpsInstrumentId; leverage: number; cross: boolean; }, { instrument_id: PerpsInstrumentId; leverage: number; cross: boolean; }>>>; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const PerpsEquityPointSchema: z.ZodPipe>, z.ZodPipe>], null>, z.ZodTransform<{ timestamp: EpochMilliseconds; equity: DecimalString; }, [EpochMilliseconds, DecimalString]>>; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ type PerpsEquityPoint = z.infer; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const ListPerpsEquityHistoryResponseSchema: z.ZodObject<{ data: z.ZodArray>, z.ZodPipe>], null>, z.ZodTransform<{ timestamp: EpochMilliseconds; equity: DecimalString; }, [EpochMilliseconds, DecimalString]>>>; more: z.ZodBoolean; }, z.core.$strip>; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const PerpsPnlPointSchema: z.ZodPipe>, z.ZodPipe>], null>, z.ZodTransform<{ timestamp: EpochMilliseconds; pnl: DecimalString; }, [EpochMilliseconds, DecimalString]>>; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ type PerpsPnlPoint = z.infer; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const ListPerpsPnlHistoryResponseSchema: z.ZodObject<{ data: z.ZodArray>, z.ZodPipe>], null>, z.ZodTransform<{ timestamp: EpochMilliseconds; pnl: DecimalString; }, [EpochMilliseconds, DecimalString]>>>; more: z.ZodBoolean; }, z.core.$strip>; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const PerpsProxyKeySchema: z.ZodPipe>; label: z.ZodOptional; expiry: z.ZodPipe>, z.ZodPipe>>; }, z.core.$strip>, z.ZodTransform<{ proxy: _polymarket_types.EvmAddress; label: string | undefined; expiresAt: EpochMilliseconds; }, { proxy: _polymarket_types.EvmAddress; expiry: EpochMilliseconds; label?: string | undefined; }>>; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ type PerpsProxyKey = z.infer; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const PerpsCredentialsResponseSchema: z.ZodPipe>; keys: z.ZodArray>; label: z.ZodOptional; expiry: z.ZodPipe>, z.ZodPipe>>; }, z.core.$strip>, z.ZodTransform<{ proxy: _polymarket_types.EvmAddress; label: string | undefined; expiresAt: EpochMilliseconds; }, { proxy: _polymarket_types.EvmAddress; expiry: EpochMilliseconds; label?: string | undefined; }>>>; }, z.core.$strip>, z.ZodTransform<{ address: _polymarket_types.EvmAddress; keys: { proxy: _polymarket_types.EvmAddress; label: string | undefined; expiresAt: EpochMilliseconds; }[]; }, { address: _polymarket_types.EvmAddress; keys: { proxy: _polymarket_types.EvmAddress; label: string | undefined; expiresAt: EpochMilliseconds; }[]; }>>; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const PerpsCreateProxyResponseSchema: z.ZodObject<{ secret: z.ZodString; }, z.core.$strip>; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const PerpsDeleteProxyResponseSchema: z.ZodObject<{ status: z.ZodEnum<{ ok: "ok"; err: "err"; }>; error: z.ZodOptional; }, z.core.$strip>; /** * Acknowledgement for a Perps auto-cancel update. `deadline` echoes the armed * cancellation time in Unix milliseconds, or `null` when the schedule was * disarmed. * * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const PerpsAutoCancelResponseSchema: z.ZodObject<{ status: z.ZodLiteral<"ok">; deadline: z.ZodPipe>; }, z.core.$strip>; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ type PerpsAutoCancelResponse = z.infer; /** * Current auto-cancel state for an account. `deadline` is `null` when no * schedule is armed. * * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const PerpsAutoCancelStatusSchema: z.ZodPipe>; triggered: z.ZodNumber; daily_limit: z.ZodNumber; next_reset: z.ZodPipe>; }, z.core.$strip>, z.ZodTransform<{ deadline: EpochMilliseconds | null; triggered: number; dailyLimit: number; nextReset: EpochMilliseconds; }, { deadline: EpochMilliseconds | null; triggered: number; daily_limit: number; next_reset: EpochMilliseconds; }>>; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ type PerpsAutoCancelStatus = z.infer; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const FetchPerpsAutoCancelStatusResponseSchema: z.ZodPipe>; triggered: z.ZodNumber; daily_limit: z.ZodNumber; next_reset: z.ZodPipe>; }, z.core.$strip>, z.ZodTransform<{ deadline: EpochMilliseconds | null; triggered: number; dailyLimit: number; nextReset: EpochMilliseconds; }, { deadline: EpochMilliseconds | null; triggered: number; daily_limit: number; next_reset: EpochMilliseconds; }>>; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const PerpsDepositSchema: z.ZodPipe>; asset: z.ZodString; amount: z.ZodPipe>; status: z.ZodEnum; from: z.ZodPipe>; to: z.ZodPipe>; confirmations: z.ZodNumber; required_confirmations: z.ZodNumber; created_timestamp: z.ZodPipe>; confirmed_timestamp: z.ZodOptional>>; }, z.core.$strip>, z.ZodTransform<{ hash: _polymarket_types.TxHash; asset: string; amount: BaseUnits; status: PerpsDepositStatus; from: _polymarket_types.EvmAddress; to: _polymarket_types.EvmAddress; confirmations: number; requiredConfirmations: number; createdTimestamp: EpochMilliseconds; confirmedTimestamp: EpochMilliseconds | undefined; }, { hash: _polymarket_types.TxHash; asset: string; amount: BaseUnits; status: PerpsDepositStatus; from: _polymarket_types.EvmAddress; to: _polymarket_types.EvmAddress; confirmations: number; required_confirmations: number; created_timestamp: EpochMilliseconds; confirmed_timestamp?: EpochMilliseconds | undefined; }>>; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ type PerpsDeposit = z.infer; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const ListPerpsDepositsResponseSchema: z.ZodObject<{ data: z.ZodArray>; asset: z.ZodString; amount: z.ZodPipe>; status: z.ZodEnum; from: z.ZodPipe>; to: z.ZodPipe>; confirmations: z.ZodNumber; required_confirmations: z.ZodNumber; created_timestamp: z.ZodPipe>; confirmed_timestamp: z.ZodOptional>>; }, z.core.$strip>, z.ZodTransform<{ hash: _polymarket_types.TxHash; asset: string; amount: BaseUnits; status: PerpsDepositStatus; from: _polymarket_types.EvmAddress; to: _polymarket_types.EvmAddress; confirmations: number; requiredConfirmations: number; createdTimestamp: EpochMilliseconds; confirmedTimestamp: EpochMilliseconds | undefined; }, { hash: _polymarket_types.TxHash; asset: string; amount: BaseUnits; status: PerpsDepositStatus; from: _polymarket_types.EvmAddress; to: _polymarket_types.EvmAddress; confirmations: number; required_confirmations: number; created_timestamp: EpochMilliseconds; confirmed_timestamp?: EpochMilliseconds | undefined; }>>>; more: z.ZodBoolean; }, z.core.$strip>; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const PerpsDepositUpdateSchema: z.ZodPipe, z.ZodOptional>>>; asset: z.ZodString; amount: z.ZodPipe>; status: z.ZodEnum; }, z.core.$strip>, z.ZodTransform<{ hash: _polymarket_types.TxHash | undefined; asset: string; amount: BaseUnits; status: PerpsDepositStatus; }, { asset: string; amount: BaseUnits; status: PerpsDepositStatus; hash?: _polymarket_types.TxHash | undefined; }>>; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const PerpsWithdrawalSchema: z.ZodPipe>; asset: z.ZodString; amount: z.ZodPipe>; fee: z.ZodPipe>; status: z.ZodPipe>; to: z.ZodPipe>; hash: z.ZodPipe, z.ZodOptional>>>; confirmations: z.ZodNumber; required_confirmations: z.ZodNumber; created_timestamp: z.ZodPipe>; confirmed_timestamp: z.ZodOptional>>; }, z.core.$strip>, z.ZodTransform<{ withdrawalId: PerpsWithdrawalId; asset: string; amount: BaseUnits; fee: DecimalString; status: PerpsKnownWithdrawalStatus | (string & {}); to: _polymarket_types.EvmAddress; hash: _polymarket_types.TxHash | undefined; confirmations: number; requiredConfirmations: number; createdTimestamp: EpochMilliseconds; confirmedTimestamp: EpochMilliseconds | undefined; }, { withdraw_id: PerpsWithdrawalId; asset: string; amount: BaseUnits; fee: DecimalString; status: PerpsKnownWithdrawalStatus | (string & {}); to: _polymarket_types.EvmAddress; confirmations: number; required_confirmations: number; created_timestamp: EpochMilliseconds; hash?: _polymarket_types.TxHash | undefined; confirmed_timestamp?: EpochMilliseconds | undefined; }>>; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ type PerpsWithdrawal = z.infer; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const ListPerpsWithdrawalsResponseSchema: z.ZodObject<{ data: z.ZodArray>; asset: z.ZodString; amount: z.ZodPipe>; fee: z.ZodPipe>; status: z.ZodPipe>; to: z.ZodPipe>; hash: z.ZodPipe, z.ZodOptional>>>; confirmations: z.ZodNumber; required_confirmations: z.ZodNumber; created_timestamp: z.ZodPipe>; confirmed_timestamp: z.ZodOptional>>; }, z.core.$strip>, z.ZodTransform<{ withdrawalId: PerpsWithdrawalId; asset: string; amount: BaseUnits; fee: DecimalString; status: PerpsKnownWithdrawalStatus | (string & {}); to: _polymarket_types.EvmAddress; hash: _polymarket_types.TxHash | undefined; confirmations: number; requiredConfirmations: number; createdTimestamp: EpochMilliseconds; confirmedTimestamp: EpochMilliseconds | undefined; }, { withdraw_id: PerpsWithdrawalId; asset: string; amount: BaseUnits; fee: DecimalString; status: PerpsKnownWithdrawalStatus | (string & {}); to: _polymarket_types.EvmAddress; confirmations: number; required_confirmations: number; created_timestamp: EpochMilliseconds; hash?: _polymarket_types.TxHash | undefined; confirmed_timestamp?: EpochMilliseconds | undefined; }>>>; more: z.ZodBoolean; }, z.core.$strip>; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const PerpsWithdrawResponseSchema: z.ZodPipe; withdraw_id: z.ZodOptional>>; error: z.ZodOptional; }, z.core.$strip>, z.ZodTransform<{ status: "ok" | "err"; withdrawalId: PerpsWithdrawalId | undefined; error: string | undefined; }, { status: "ok" | "err"; withdraw_id?: PerpsWithdrawalId | undefined; error?: string | undefined; }>>; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const PerpsWithdrawalUpdateSchema: z.ZodPipe>; asset: z.ZodString; amount: z.ZodPipe>; fee: z.ZodPipe>; status: z.ZodPipe>; to: z.ZodPipe>; hash: z.ZodPipe, z.ZodOptional>>>; }, z.core.$strip>, z.ZodTransform<{ withdrawalId: PerpsWithdrawalId; asset: string; amount: BaseUnits; fee: DecimalString; status: PerpsKnownWithdrawalStatus | (string & {}); to: _polymarket_types.EvmAddress; hash: _polymarket_types.TxHash | undefined; }, { withdraw_id: PerpsWithdrawalId; asset: string; amount: BaseUnits; fee: DecimalString; status: PerpsKnownWithdrawalStatus | (string & {}); to: _polymarket_types.EvmAddress; hash?: _polymarket_types.TxHash | undefined; }>>; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const PerpsInternalTransferSchema: z.ZodObject<{ transferId: z.ZodPipe>; asset: z.ZodString; amount: z.ZodPipe>; direction: z.ZodEnum; counterparty: z.ZodPipe>; label: z.ZodOptional; createdTimestamp: z.ZodPipe>; }, z.core.$strip>; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ type PerpsInternalTransfer = z.infer; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const PerpsRiskTierSchema: z.ZodObject<{ lowerBound: z.ZodPipe>; maxLeverage: z.ZodNumber; }, z.core.$strip>; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ type PerpsRiskTier = z.infer; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const PerpsInstrumentSchema: z.ZodPipe>; instrument_type: z.ZodEnum; category: z.ZodEnum; symbol: z.ZodString; base_asset: z.ZodString; quote_asset: z.ZodString; funding_interval: z.ZodPipe>; quantity_decimals: z.ZodNumber; price_decimals: z.ZodNumber; price_bounds: z.ZodPipe>; liquidation_fee: z.ZodPipe>; max_order_count: z.ZodNumber; min_notional: z.ZodPipe>; max_market_notional: z.ZodPipe>; max_limit_notional: z.ZodPipe>; max_leverage: z.ZodNumber; isolated_only: z.ZodBoolean; risk_tiers: z.ZodArray>; max_leverage: z.ZodNumber; }, z.core.$strip>, z.ZodTransform<{ lowerBound: DecimalString; maxLeverage: number; }, { lower_bound: DecimalString; max_leverage: number; }>>>; }, z.core.$strip>, z.ZodTransform<{ id: PerpsInstrumentId; category: PerpsInstrumentCategory; symbol: string; baseAsset: string; quoteAsset: string; fundingInterval: `${number}h`; quantityDecimals: number; priceDecimals: number; priceBounds: DecimalString; liquidationFee: DecimalString; maxOrderCount: number; minNotional: DecimalString; maxMarketNotional: DecimalString; maxLimitNotional: DecimalString; maxLeverage: number; isolatedOnly: boolean; riskTiers: { lowerBound: DecimalString; maxLeverage: number; }[]; }, { instrument_id: PerpsInstrumentId; instrument_type: PerpsInstrumentType.Perpetual; category: PerpsInstrumentCategory; symbol: string; base_asset: string; quote_asset: string; funding_interval: `${number}h`; quantity_decimals: number; price_decimals: number; price_bounds: DecimalString; liquidation_fee: DecimalString; max_order_count: number; min_notional: DecimalString; max_market_notional: DecimalString; max_limit_notional: DecimalString; max_leverage: number; isolated_only: boolean; risk_tiers: { lowerBound: DecimalString; maxLeverage: number; }[]; }>>; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ type PerpsInstrument = z.infer; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const FetchPerpsInstrumentsResponseSchema: z.ZodArray>; instrument_type: z.ZodEnum; category: z.ZodEnum; symbol: z.ZodString; base_asset: z.ZodString; quote_asset: z.ZodString; funding_interval: z.ZodPipe>; quantity_decimals: z.ZodNumber; price_decimals: z.ZodNumber; price_bounds: z.ZodPipe>; liquidation_fee: z.ZodPipe>; max_order_count: z.ZodNumber; min_notional: z.ZodPipe>; max_market_notional: z.ZodPipe>; max_limit_notional: z.ZodPipe>; max_leverage: z.ZodNumber; isolated_only: z.ZodBoolean; risk_tiers: z.ZodArray>; max_leverage: z.ZodNumber; }, z.core.$strip>, z.ZodTransform<{ lowerBound: DecimalString; maxLeverage: number; }, { lower_bound: DecimalString; max_leverage: number; }>>>; }, z.core.$strip>, z.ZodTransform<{ id: PerpsInstrumentId; category: PerpsInstrumentCategory; symbol: string; baseAsset: string; quoteAsset: string; fundingInterval: `${number}h`; quantityDecimals: number; priceDecimals: number; priceBounds: DecimalString; liquidationFee: DecimalString; maxOrderCount: number; minNotional: DecimalString; maxMarketNotional: DecimalString; maxLimitNotional: DecimalString; maxLeverage: number; isolatedOnly: boolean; riskTiers: { lowerBound: DecimalString; maxLeverage: number; }[]; }, { instrument_id: PerpsInstrumentId; instrument_type: PerpsInstrumentType.Perpetual; category: PerpsInstrumentCategory; symbol: string; base_asset: string; quote_asset: string; funding_interval: `${number}h`; quantity_decimals: number; price_decimals: number; price_bounds: DecimalString; liquidation_fee: DecimalString; max_order_count: number; min_notional: DecimalString; max_market_notional: DecimalString; max_limit_notional: DecimalString; max_leverage: number; isolated_only: boolean; risk_tiers: { lowerBound: DecimalString; maxLeverage: number; }[]; }>>>; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const PerpsTickerSchema: z.ZodPipe>; symbol: z.ZodString; index_price: z.ZodPipe>; mark_price: z.ZodPipe>; last_price: z.ZodPipe>; mid_price: z.ZodPipe>; open_interest: z.ZodPipe>; funding_rate: z.ZodPipe>; next_funding: z.ZodPipe>; timestamp: z.ZodOptional>>; }, z.core.$strip>, z.ZodTransform<{ instrumentId: PerpsInstrumentId; symbol: string; indexPrice: DecimalString; markPrice: DecimalString; lastPrice: DecimalString; midPrice: DecimalString; openInterest: DecimalString; fundingRate: DecimalString; nextFunding: EpochMilliseconds; timestamp: EpochMilliseconds | undefined; }, { instrument_id: PerpsInstrumentId; symbol: string; index_price: DecimalString; mark_price: DecimalString; last_price: DecimalString; mid_price: DecimalString; open_interest: DecimalString; funding_rate: DecimalString; next_funding: EpochMilliseconds; timestamp?: EpochMilliseconds | undefined; }>>; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ type PerpsTicker = z.infer & { openPrice?: DecimalString; volume24h?: DecimalString; }; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const FetchPerpsTickersResponseSchema: z.ZodArray>; symbol: z.ZodString; index_price: z.ZodPipe>; mark_price: z.ZodPipe>; last_price: z.ZodPipe>; mid_price: z.ZodPipe>; open_interest: z.ZodPipe>; funding_rate: z.ZodPipe>; next_funding: z.ZodPipe>; timestamp: z.ZodOptional>>; }, z.core.$strip>, z.ZodTransform<{ instrumentId: PerpsInstrumentId; symbol: string; indexPrice: DecimalString; markPrice: DecimalString; lastPrice: DecimalString; midPrice: DecimalString; openInterest: DecimalString; fundingRate: DecimalString; nextFunding: EpochMilliseconds; timestamp: EpochMilliseconds | undefined; }, { instrument_id: PerpsInstrumentId; symbol: string; index_price: DecimalString; mark_price: DecimalString; last_price: DecimalString; mid_price: DecimalString; open_interest: DecimalString; funding_rate: DecimalString; next_funding: EpochMilliseconds; timestamp?: EpochMilliseconds | undefined; }>>>; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const PerpsTickerEntrySchema: z.ZodPipe>; idx: z.ZodPipe>; mark: z.ZodPipe>; last: z.ZodPipe>; mid: z.ZodPipe>; oi: z.ZodPipe>; fr: z.ZodPipe>; nxf: z.ZodPipe>; }, z.core.$strip>, z.ZodTransform<{ instrumentId: PerpsInstrumentId; indexPrice: DecimalString; markPrice: DecimalString; lastPrice: DecimalString; midPrice: DecimalString; openInterest: DecimalString; fundingRate: DecimalString; nextFunding: EpochMilliseconds; }, { iid: PerpsInstrumentId; idx: DecimalString; mark: DecimalString; last: DecimalString; mid: DecimalString; oi: DecimalString; fr: DecimalString; nxf: EpochMilliseconds; }>>; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const PerpsCandleSchema: z.ZodPipe>, z.ZodPipe>, z.ZodPipe>, z.ZodPipe>, z.ZodPipe>, z.ZodPipe>, z.ZodNumber], null>, z.ZodTransform<{ timestamp: EpochMilliseconds; open: DecimalString; high: DecimalString; low: DecimalString; close: DecimalString; volume: DecimalString; trades: number; }, [EpochMilliseconds, DecimalString, DecimalString, DecimalString, DecimalString, DecimalString, number]>>; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ type PerpsCandle = z.infer; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const PerpsStatisticSchema: z.ZodPipe>; symbol: z.ZodOptional; volume: z.ZodPipe>; open_price: z.ZodPipe>; klines: z.ZodArray>, z.ZodPipe>, z.ZodPipe>, z.ZodPipe>, z.ZodPipe>, z.ZodPipe>, z.ZodNumber], null>, z.ZodTransform<{ timestamp: EpochMilliseconds; open: DecimalString; high: DecimalString; low: DecimalString; close: DecimalString; volume: DecimalString; trades: number; }, [EpochMilliseconds, DecimalString, DecimalString, DecimalString, DecimalString, DecimalString, number]>>>; }, z.core.$strip>, z.ZodTransform<{ instrumentId: PerpsInstrumentId; symbol: string | undefined; volume: DecimalString; openPrice: DecimalString; klines: { timestamp: EpochMilliseconds; open: DecimalString; high: DecimalString; low: DecimalString; close: DecimalString; volume: DecimalString; trades: number; }[]; }, { instrument_id: PerpsInstrumentId; volume: DecimalString; open_price: DecimalString; klines: { timestamp: EpochMilliseconds; open: DecimalString; high: DecimalString; low: DecimalString; close: DecimalString; volume: DecimalString; trades: number; }[]; symbol?: string | undefined; }>>; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ type PerpsStatistic = z.infer; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const FetchPerpsStatisticsResponseSchema: z.ZodArray>; symbol: z.ZodOptional; volume: z.ZodPipe>; open_price: z.ZodPipe>; klines: z.ZodArray>, z.ZodPipe>, z.ZodPipe>, z.ZodPipe>, z.ZodPipe>, z.ZodPipe>, z.ZodNumber], null>, z.ZodTransform<{ timestamp: EpochMilliseconds; open: DecimalString; high: DecimalString; low: DecimalString; close: DecimalString; volume: DecimalString; trades: number; }, [EpochMilliseconds, DecimalString, DecimalString, DecimalString, DecimalString, DecimalString, number]>>>; }, z.core.$strip>, z.ZodTransform<{ instrumentId: PerpsInstrumentId; symbol: string | undefined; volume: DecimalString; openPrice: DecimalString; klines: { timestamp: EpochMilliseconds; open: DecimalString; high: DecimalString; low: DecimalString; close: DecimalString; volume: DecimalString; trades: number; }[]; }, { instrument_id: PerpsInstrumentId; volume: DecimalString; open_price: DecimalString; klines: { timestamp: EpochMilliseconds; open: DecimalString; high: DecimalString; low: DecimalString; close: DecimalString; volume: DecimalString; trades: number; }[]; symbol?: string | undefined; }>>>; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const PerpsStatisticUpdateSchema: z.ZodPipe>; vol: z.ZodPipe>; open: z.ZodPipe>; klines: z.ZodArray>, z.ZodPipe>, z.ZodPipe>, z.ZodPipe>, z.ZodPipe>, z.ZodPipe>, z.ZodNumber], null>, z.ZodTransform<{ timestamp: EpochMilliseconds; open: DecimalString; high: DecimalString; low: DecimalString; close: DecimalString; volume: DecimalString; trades: number; }, [EpochMilliseconds, DecimalString, DecimalString, DecimalString, DecimalString, DecimalString, number]>>>; }, z.core.$strip>, z.ZodTransform<{ instrumentId: PerpsInstrumentId; volume: DecimalString; openPrice: DecimalString; klines: { timestamp: EpochMilliseconds; open: DecimalString; high: DecimalString; low: DecimalString; close: DecimalString; volume: DecimalString; trades: number; }[]; }, { iid: PerpsInstrumentId; vol: DecimalString; open: DecimalString; klines: { timestamp: EpochMilliseconds; open: DecimalString; high: DecimalString; low: DecimalString; close: DecimalString; volume: DecimalString; trades: number; }[]; }>>; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const PerpsBookLevelSchema: z.ZodPipe>, z.ZodPipe>], null>, z.ZodTransform<{ price: DecimalString; quantity: DecimalString; }, [DecimalString, DecimalString]>>; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ type PerpsBookLevel = z.infer; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const PerpsBookSchema: z.ZodPipe>; bids: z.ZodArray>, z.ZodPipe>], null>, z.ZodTransform<{ price: DecimalString; quantity: DecimalString; }, [DecimalString, DecimalString]>>>; asks: z.ZodArray>, z.ZodPipe>], null>, z.ZodTransform<{ price: DecimalString; quantity: DecimalString; }, [DecimalString, DecimalString]>>>; timestamp: z.ZodPipe>; sequence: z.ZodNumber; }, z.core.$strip>, z.ZodTransform<{ instrumentId: PerpsInstrumentId; bids: { price: DecimalString; quantity: DecimalString; }[]; asks: { price: DecimalString; quantity: DecimalString; }[]; timestamp: EpochMilliseconds; sequence: number; }, { instrument_id: PerpsInstrumentId; bids: { price: DecimalString; quantity: DecimalString; }[]; asks: { price: DecimalString; quantity: DecimalString; }[]; timestamp: EpochMilliseconds; sequence: number; }>>; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ type PerpsBook = z.infer; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const PerpsBookUpdateSchema: z.ZodPipe>, z.ZodPipe>], null>, z.ZodTransform<{ price: DecimalString; quantity: DecimalString; }, [DecimalString, DecimalString]>>>; a: z.ZodArray>, z.ZodPipe>], null>, z.ZodTransform<{ price: DecimalString; quantity: DecimalString; }, [DecimalString, DecimalString]>>>; }, z.core.$strip>, z.ZodTransform<{ bids: { price: DecimalString; quantity: DecimalString; }[]; asks: { price: DecimalString; quantity: DecimalString; }[]; }, { b: { price: DecimalString; quantity: DecimalString; }[]; a: { price: DecimalString; quantity: DecimalString; }[]; }>>; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const PerpsBboSchema: z.ZodObject<{ instrumentId: z.ZodPipe>; bidPrice: z.ZodPipe>; bidQuantity: z.ZodPipe>; askPrice: z.ZodPipe>; askQuantity: z.ZodPipe>; timestamp: z.ZodOptional>>; }, z.core.$strip>; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ type PerpsBbo = z.infer; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const PerpsBboUpdateSchema: z.ZodPipe>; bp: z.ZodPipe>; bq: z.ZodPipe>; ap: z.ZodPipe>; aq: z.ZodPipe>; }, z.core.$strip>, z.ZodTransform<{ instrumentId: PerpsInstrumentId; bidPrice: DecimalString; bidQuantity: DecimalString; askPrice: DecimalString; askQuantity: DecimalString; }, { iid: PerpsInstrumentId; bp: DecimalString; bq: DecimalString; ap: DecimalString; aq: DecimalString; }>>; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const PerpsPublicTradeSchema: z.ZodPipe>; instrument_id: z.ZodPipe>; side: z.ZodEnum; price: z.ZodPipe>; quantity: z.ZodPipe>; timestamp: z.ZodPipe>; hash: z.ZodPipe, z.ZodOptional>>>; }, z.core.$strip>, z.ZodTransform<{ tradeId: PerpsTradeId; instrumentId: PerpsInstrumentId; side: PerpsSide; price: DecimalString; quantity: DecimalString; timestamp: EpochMilliseconds; hash: _polymarket_types.TxHash | undefined; }, { trade_id: PerpsTradeId; instrument_id: PerpsInstrumentId; side: PerpsSide; price: DecimalString; quantity: DecimalString; timestamp: EpochMilliseconds; hash?: _polymarket_types.TxHash | undefined; }>>; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ type PerpsPublicTrade = z.infer; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const PerpsPublicTradeUpdateSchema: z.ZodPipe>; iid: z.ZodPipe>; side: z.ZodEnum; p: z.ZodPipe>; qty: z.ZodPipe>; ts: z.ZodPipe>; hash: z.ZodPipe, z.ZodOptional>>>; }, z.core.$strip>, z.ZodTransform<{ tradeId: PerpsTradeId; instrumentId: PerpsInstrumentId; side: PerpsSide; price: DecimalString; quantity: DecimalString; timestamp: EpochMilliseconds; hash: _polymarket_types.TxHash | undefined; }, { tid: PerpsTradeId; iid: PerpsInstrumentId; side: PerpsSide; p: DecimalString; qty: DecimalString; ts: EpochMilliseconds; hash?: _polymarket_types.TxHash | undefined; }>>; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const FetchPerpsTradesResponseSchema: z.ZodObject<{ data: z.ZodArray>; instrument_id: z.ZodPipe>; side: z.ZodEnum; price: z.ZodPipe>; quantity: z.ZodPipe>; timestamp: z.ZodPipe>; hash: z.ZodPipe, z.ZodOptional>>>; }, z.core.$strip>, z.ZodTransform<{ tradeId: PerpsTradeId; instrumentId: PerpsInstrumentId; side: PerpsSide; price: DecimalString; quantity: DecimalString; timestamp: EpochMilliseconds; hash: _polymarket_types.TxHash | undefined; }, { trade_id: PerpsTradeId; instrument_id: PerpsInstrumentId; side: PerpsSide; price: DecimalString; quantity: DecimalString; timestamp: EpochMilliseconds; hash?: _polymarket_types.TxHash | undefined; }>>>; more: z.ZodBoolean; }, z.core.$strip>; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const PerpsFundingRateSchema: z.ZodPipe>; timestamp: z.ZodPipe>; }, z.core.$strip>, z.ZodTransform<{ fundingRate: DecimalString; timestamp: EpochMilliseconds; }, { funding_rate: DecimalString; timestamp: EpochMilliseconds; }>>; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ type PerpsFundingRate = z.infer; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const FetchPerpsFundingHistoryResponseSchema: z.ZodObject<{ data: z.ZodArray>; timestamp: z.ZodPipe>; }, z.core.$strip>, z.ZodTransform<{ fundingRate: DecimalString; timestamp: EpochMilliseconds; }, { funding_rate: DecimalString; timestamp: EpochMilliseconds; }>>>; more: z.ZodBoolean; }, z.core.$strip>; declare const PerpsFeeTierSchema: z.ZodPipe>; taker_fee_rate: z.ZodPipe>; maker_fee_rate: z.ZodPipe>; }, z.core.$strip>, z.ZodTransform<{ minVolume30d: DecimalString; takerFeeRate: DecimalString; makerFeeRate: DecimalString; }, { min_volume_30d: DecimalString; taker_fee_rate: DecimalString; maker_fee_rate: DecimalString; }>>; type PerpsFeeTier = z.infer; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const PerpsFeeScheduleEntrySchema: z.ZodPipe; category: z.ZodEnum; taker_fee_rate: z.ZodPipe>; maker_fee_rate: z.ZodPipe>; tiers: z.ZodArray>; taker_fee_rate: z.ZodPipe>; maker_fee_rate: z.ZodPipe>; }, z.core.$strip>, z.ZodTransform<{ minVolume30d: DecimalString; takerFeeRate: DecimalString; makerFeeRate: DecimalString; }, { min_volume_30d: DecimalString; taker_fee_rate: DecimalString; maker_fee_rate: DecimalString; }>>>; }, z.core.$strip>, z.ZodTransform<{ category: PerpsInstrumentCategory; takerFeeRate: DecimalString; makerFeeRate: DecimalString; tiers: { minVolume30d: DecimalString; takerFeeRate: DecimalString; makerFeeRate: DecimalString; }[]; }, { instrument_type: PerpsInstrumentType.Perpetual; category: PerpsInstrumentCategory; taker_fee_rate: DecimalString; maker_fee_rate: DecimalString; tiers: { minVolume30d: DecimalString; takerFeeRate: DecimalString; makerFeeRate: DecimalString; }[]; }>>; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ type PerpsFeeScheduleEntry = z.infer; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const PerpsFeesInfoSchema: z.ZodPipe; category: z.ZodEnum; taker_fee_rate: z.ZodPipe>; maker_fee_rate: z.ZodPipe>; tiers: z.ZodArray>; taker_fee_rate: z.ZodPipe>; maker_fee_rate: z.ZodPipe>; }, z.core.$strip>, z.ZodTransform<{ minVolume30d: DecimalString; takerFeeRate: DecimalString; makerFeeRate: DecimalString; }, { min_volume_30d: DecimalString; taker_fee_rate: DecimalString; maker_fee_rate: DecimalString; }>>>; }, z.core.$strip>, z.ZodTransform<{ category: PerpsInstrumentCategory; takerFeeRate: DecimalString; makerFeeRate: DecimalString; tiers: { minVolume30d: DecimalString; takerFeeRate: DecimalString; makerFeeRate: DecimalString; }[]; }, { instrument_type: PerpsInstrumentType.Perpetual; category: PerpsInstrumentCategory; taker_fee_rate: DecimalString; maker_fee_rate: DecimalString; tiers: { minVolume30d: DecimalString; takerFeeRate: DecimalString; makerFeeRate: DecimalString; }[]; }>>>; }, z.core.$strip>, z.ZodTransform<{ feeSchedule: { category: PerpsInstrumentCategory; takerFeeRate: DecimalString; makerFeeRate: DecimalString; tiers: { minVolume30d: DecimalString; takerFeeRate: DecimalString; makerFeeRate: DecimalString; }[]; }[]; }, { fee_schedule: { category: PerpsInstrumentCategory; takerFeeRate: DecimalString; makerFeeRate: DecimalString; tiers: { minVolume30d: DecimalString; takerFeeRate: DecimalString; makerFeeRate: DecimalString; }[]; }[]; }>>; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ type PerpsFeesInfo = z.infer; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const FetchPerpsFeesResponseSchema: z.ZodPipe; category: z.ZodEnum; taker_fee_rate: z.ZodPipe>; maker_fee_rate: z.ZodPipe>; tiers: z.ZodArray>; taker_fee_rate: z.ZodPipe>; maker_fee_rate: z.ZodPipe>; }, z.core.$strip>, z.ZodTransform<{ minVolume30d: DecimalString; takerFeeRate: DecimalString; makerFeeRate: DecimalString; }, { min_volume_30d: DecimalString; taker_fee_rate: DecimalString; maker_fee_rate: DecimalString; }>>>; }, z.core.$strip>, z.ZodTransform<{ category: PerpsInstrumentCategory; takerFeeRate: DecimalString; makerFeeRate: DecimalString; tiers: { minVolume30d: DecimalString; takerFeeRate: DecimalString; makerFeeRate: DecimalString; }[]; }, { instrument_type: PerpsInstrumentType.Perpetual; category: PerpsInstrumentCategory; taker_fee_rate: DecimalString; maker_fee_rate: DecimalString; tiers: { minVolume30d: DecimalString; takerFeeRate: DecimalString; makerFeeRate: DecimalString; }[]; }>>>; }, z.core.$strip>, z.ZodTransform<{ feeSchedule: { category: PerpsInstrumentCategory; takerFeeRate: DecimalString; makerFeeRate: DecimalString; tiers: { minVolume30d: DecimalString; takerFeeRate: DecimalString; makerFeeRate: DecimalString; }[]; }[]; }, { fee_schedule: { category: PerpsInstrumentCategory; takerFeeRate: DecimalString; makerFeeRate: DecimalString; tiers: { minVolume30d: DecimalString; takerFeeRate: DecimalString; makerFeeRate: DecimalString; }[]; }[]; }>>; /** * @experimental This API may change in a breaking way in any release, including patch releases. */ declare const FetchPerpsCandlesResponseSchema: z.ZodObject<{ data: z.ZodArray>, z.ZodPipe>, z.ZodPipe>, z.ZodPipe>, z.ZodPipe>, z.ZodPipe>, z.ZodNumber], null>, z.ZodTransform<{ timestamp: EpochMilliseconds; open: DecimalString; high: DecimalString; low: DecimalString; close: DecimalString; volume: DecimalString; trades: number; }, [EpochMilliseconds, DecimalString, DecimalString, DecimalString, DecimalString, DecimalString, number]>>>; more: z.ZodBoolean; }, z.core.$strip>; export { FetchPerpsAccountConfigResponseSchema, FetchPerpsAccountStatsResponseSchema, FetchPerpsAutoCancelStatusResponseSchema, FetchPerpsBalancesResponseSchema, FetchPerpsCandlesResponseSchema, FetchPerpsFeesResponseSchema, FetchPerpsFundingHistoryResponseSchema, FetchPerpsInstrumentsResponseSchema, FetchPerpsPortfolioResponseSchema, FetchPerpsStatisticsResponseSchema, FetchPerpsTickersResponseSchema, FetchPerpsTradesResponseSchema, ListPerpsDepositsResponseSchema, ListPerpsEquityHistoryResponseSchema, ListPerpsFundingPaymentsResponseSchema, ListPerpsPnlHistoryResponseSchema, ListPerpsWithdrawalsResponseSchema, type PerpsAccountConfig, PerpsAccountConfigSchema, type PerpsAccountFundingPayment, PerpsAccountFundingPaymentEntrySchema, PerpsAccountFundingPaymentSchema, type PerpsAccountStats, PerpsAccountStatsSchema, type PerpsAutoCancelResponse, PerpsAutoCancelResponseSchema, type PerpsAutoCancelStatus, PerpsAutoCancelStatusSchema, type PerpsBalance, PerpsBalanceSchema, type PerpsBbo, PerpsBboSchema, PerpsBboUpdateSchema, type PerpsBook, type PerpsBookLevel, PerpsBookLevelSchema, PerpsBookSchema, PerpsBookUpdateSchema, type PerpsCandle, PerpsCandleSchema, PerpsCreateProxyResponseSchema, PerpsCredentialsResponseSchema, PerpsDeleteProxyResponseSchema, type PerpsDeposit, PerpsDepositSchema, PerpsDepositStatus, PerpsDepositUpdateSchema, PerpsEntityId, type PerpsEquityPoint, PerpsEquityPointSchema, type PerpsFeeScheduleEntry, PerpsFeeScheduleEntrySchema, type PerpsFeeTier, PerpsFeeTierSchema, type PerpsFeesInfo, PerpsFeesInfoSchema, PerpsFundingPaymentId, type PerpsFundingRate, PerpsFundingRateSchema, type PerpsInstrument, PerpsInstrumentCategory, PerpsInstrumentId, PerpsInstrumentSchema, PerpsInstrumentType, type PerpsInternalTransfer, PerpsInternalTransferDirection, PerpsInternalTransferId, PerpsInternalTransferSchema, PerpsKnownWithdrawalStatus, type PerpsMarginSummary, PerpsMarginSummarySchema, type PerpsPnlPoint, PerpsPnlPointSchema, type PerpsPortfolio, type PerpsPortfolioPosition, PerpsPortfolioPositionSchema, PerpsPortfolioSchema, type PerpsProxyKey, PerpsProxyKeySchema, type PerpsPublicTrade, PerpsPublicTradeSchema, PerpsPublicTradeUpdateSchema, type PerpsRiskTier, PerpsRiskTierSchema, PerpsSide, type PerpsStatistic, PerpsStatisticSchema, PerpsStatisticUpdateSchema, type PerpsTicker, PerpsTickerEntrySchema, PerpsTickerSchema, PerpsTradeId, PerpsWithdrawResponseSchema, type PerpsWithdrawal, PerpsWithdrawalId, PerpsWithdrawalSchema, PerpsWithdrawalUpdateSchema };