import * as v from "valibot"; //#region src/services/checkpoints/checkpoints.schemas.d.ts declare const CheckpointVolumePointSchema: v.ObjectSchema<{ readonly day: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; }, number>]>; readonly usd: v.SchemaWithPipe, v.RegexAction]>; readonly approximate: v.BooleanSchema; readonly trades: v.SchemaWithPipe, v.MaxValueAction, v.TransformAction]>; }, undefined>; type CheckpointVolumePoint = v.InferOutput; declare const CheckpointPortfolioValuePointSchema: v.ObjectSchema<{ readonly hour: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; }, number>]>; readonly usd: v.SchemaWithPipe, v.RegexAction]>; readonly approximate: v.BooleanSchema; }, undefined>; type CheckpointPortfolioValuePoint = v.InferOutput; declare const CheckpointPairActivitySchema: v.ObjectSchema<{ readonly symbolId: v.NumberSchema; readonly symbol: v.StringSchema; readonly volumeUsd: v.SchemaWithPipe, v.RegexAction]>; readonly trades: v.SchemaWithPipe, v.MaxValueAction, v.TransformAction]>; }, undefined>; type CheckpointPairActivity = v.InferOutput; declare const CheckpointBiggestTradeSchema: v.SchemaWithPipe; readonly symbol: v.StringSchema; readonly side: v.NumberSchema; readonly at: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; }, number>]>; }, undefined>, v.TransformAction<{ symbolId: number; symbol: string; side: number; at: number; }, { side: "unspecified" | "buy" | "sell"; symbolId: number; symbol: string; at: number; }>]>; type CheckpointBiggestTrade = v.InferOutput; declare const CheckpointOrderTypeCountsSchema: v.ObjectSchema<{ readonly limit: v.SchemaWithPipe, v.MaxValueAction, v.TransformAction]>; readonly market: v.SchemaWithPipe, v.MaxValueAction, v.TransformAction]>; }, undefined>; type CheckpointOrderTypeCounts = v.InferOutput; declare const CheckpointTimeInForceCountsSchema: v.ObjectSchema<{ readonly gtc: v.SchemaWithPipe, v.MaxValueAction, v.TransformAction]>; readonly ioc: v.SchemaWithPipe, v.MaxValueAction, v.TransformAction]>; readonly fok: v.SchemaWithPipe, v.MaxValueAction, v.TransformAction]>; readonly gtd: v.SchemaWithPipe, v.MaxValueAction, v.TransformAction]>; }, undefined>; type CheckpointTimeInForceCounts = v.InferOutput; declare const CheckpointOrderToolCountsSchema: v.ObjectSchema<{ readonly stopLoss: v.SchemaWithPipe, v.MaxValueAction, v.TransformAction]>; readonly takeProfit: v.SchemaWithPipe, v.MaxValueAction, v.TransformAction]>; readonly trailingStop: v.SchemaWithPipe, v.MaxValueAction, v.TransformAction]>; readonly twap: v.SchemaWithPipe, v.MaxValueAction, v.TransformAction]>; readonly ladder: v.SchemaWithPipe, v.MaxValueAction, v.TransformAction]>; }, undefined>; type CheckpointOrderToolCounts = v.InferOutput; declare const CheckpointVipTierChangeSchema: v.ObjectSchema<{ readonly date: v.SchemaWithPipe, v.IsoDateAction]>; readonly tier: v.SchemaWithPipe, v.IntegerAction, v.MinValueAction, v.MaxValueAction]>; }, undefined>; type CheckpointVipTierChange = v.InferOutput; declare const CheckpointEarnedBadgeSchema: v.ObjectSchema<{ readonly badge: v.SchemaWithPipe, v.TransformAction]>; readonly earnedAt: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; }, number>]>; }, undefined>; type CheckpointEarnedBadge = v.InferOutput; /** * `usd` is `undefined` when the asset had no USD price at the required time; it is not zero. * `excludedFromValue` marks an asset that is not account equity, such as a testnet faucet * token: it is listed by amount only, never has `usd`, and is left out of every USD total. */ declare const CheckpointAssetAmountSchema: v.SchemaWithPipe; readonly amount: v.SchemaWithPipe, v.RegexAction]>; readonly usd: v.OptionalSchema, v.RegexAction]>, undefined>; readonly excludedFromValue: v.BooleanSchema; }, undefined>, v.CheckAction<{ asset: string; amount: string; usd?: string | undefined; excludedFromValue: boolean; }, "usd: must be absent for an asset excluded from value">]>; type CheckpointAssetAmount = v.InferOutput; /** `usd` is `undefined` when any operation had no USD value; it is not zero. */ declare const CheckpointFlowTotalSchema: v.ObjectSchema<{ readonly count: v.SchemaWithPipe, v.MaxValueAction, v.TransformAction]>; readonly usd: v.OptionalSchema, v.RegexAction]>, undefined>; }, undefined>; type CheckpointFlowTotal = v.InferOutput; declare const CheckpointChainFlowSchema: v.ObjectSchema<{ readonly polyesterChainId: v.NumberSchema; readonly chainName: v.StringSchema; readonly total: v.OptionalSchema, v.MaxValueAction, v.TransformAction]>; readonly usd: v.OptionalSchema, v.RegexAction]>, undefined>; }, undefined>, { count: bigint; }>; }, undefined>; type CheckpointChainFlow = v.InferOutput; declare const CheckpointFundingFlowSummarySchema: v.ObjectSchema<{ readonly count: v.SchemaWithPipe, v.MaxValueAction, v.TransformAction]>; readonly chains: v.OptionalSchema; readonly chainName: v.StringSchema; readonly total: v.OptionalSchema, v.MaxValueAction, v.TransformAction]>; readonly usd: v.OptionalSchema, v.RegexAction]>, undefined>; }, undefined>, { count: bigint; }>; }, undefined>, undefined>, readonly []>; readonly amounts: v.OptionalSchema; readonly amount: v.SchemaWithPipe, v.RegexAction]>; readonly usd: v.OptionalSchema, v.RegexAction]>, undefined>; readonly excludedFromValue: v.BooleanSchema; }, undefined>, v.CheckAction<{ asset: string; amount: string; usd?: string | undefined; excludedFromValue: boolean; }, "usd: must be absent for an asset excluded from value">]>, undefined>, readonly []>; }, undefined>; type CheckpointFundingFlowSummary = v.InferOutput; declare const CheckpointFundingDaySchema: v.ObjectSchema<{ readonly date: v.SchemaWithPipe, v.IsoDateAction]>; readonly depositUsd: v.OptionalSchema, v.RegexAction]>, undefined>; readonly withdrawalUsd: v.OptionalSchema, v.RegexAction]>, undefined>; }, undefined>; type CheckpointFundingDay = v.InferOutput; declare const CheckpointSchema: v.ObjectSchema<{ readonly number: v.SchemaWithPipe, v.IntegerAction, v.MinValueAction]>; readonly seasonStart: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; }, number>]>; readonly seasonEnd: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; }, number>]>; readonly takenAt: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; }, number>]>; readonly volumeUsd: v.SchemaWithPipe, v.RegexAction]>; readonly trades: v.SchemaWithPipe, v.MaxValueAction, v.TransformAction]>; readonly orders: v.SchemaWithPipe, v.MaxValueAction, v.TransformAction]>; readonly daysActive: v.NumberSchema; readonly longestStreak: v.NumberSchema; readonly topPairs: v.OptionalSchema; readonly symbol: v.StringSchema; readonly volumeUsd: v.SchemaWithPipe, v.RegexAction]>; readonly trades: v.SchemaWithPipe, v.MaxValueAction, v.TransformAction]>; }, undefined>, undefined>, readonly []>; readonly marketsTraded: v.NumberSchema; readonly makerTrades: v.SchemaWithPipe, v.MaxValueAction, v.TransformAction]>; readonly takerTrades: v.SchemaWithPipe, v.MaxValueAction, v.TransformAction]>; readonly selfTrades: v.SchemaWithPipe, v.MaxValueAction, v.TransformAction]>; readonly tradesByWeekdayHour: v.SchemaWithPipe, v.MaxValueAction, v.TransformAction]>, undefined>, v.LengthAction]>; }, undefined>, v.TransformAction<{ hours: number[]; }, number[]>]>, undefined>, v.LengthAction]>; readonly dailyVolume: v.OptionalSchema; readonly nanos: v.OptionalSchema, 0>; }, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; }, number>]>; readonly usd: v.SchemaWithPipe, v.RegexAction]>; readonly approximate: v.BooleanSchema; readonly trades: v.SchemaWithPipe, v.MaxValueAction, v.TransformAction]>; }, undefined>, undefined>, readonly []>; readonly biggestTradeUsd: v.SchemaWithPipe, v.RegexAction]>; readonly biggestTrade: v.OptionalSchema; readonly symbol: v.StringSchema; readonly side: v.NumberSchema; readonly at: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; }, number>]>; }, undefined>, v.TransformAction<{ symbolId: number; symbol: string; side: number; at: number; }, { side: "unspecified" | "buy" | "sell"; symbolId: number; symbol: string; at: number; }>]>, undefined>; readonly orderTypes: v.OptionalSchema, v.MaxValueAction, v.TransformAction]>; readonly market: v.SchemaWithPipe, v.MaxValueAction, v.TransformAction]>; }, undefined>, { readonly limit: 0n; readonly market: 0n; }>; readonly timeInForce: v.OptionalSchema, v.MaxValueAction, v.TransformAction]>; readonly ioc: v.SchemaWithPipe, v.MaxValueAction, v.TransformAction]>; readonly fok: v.SchemaWithPipe, v.MaxValueAction, v.TransformAction]>; readonly gtd: v.SchemaWithPipe, v.MaxValueAction, v.TransformAction]>; }, undefined>, { readonly gtc: 0n; readonly ioc: 0n; readonly fok: 0n; readonly gtd: 0n; }>; readonly tools: v.OptionalSchema, v.MaxValueAction, v.TransformAction]>; readonly takeProfit: v.SchemaWithPipe, v.MaxValueAction, v.TransformAction]>; readonly trailingStop: v.SchemaWithPipe, v.MaxValueAction, v.TransformAction]>; readonly twap: v.SchemaWithPipe, v.MaxValueAction, v.TransformAction]>; readonly ladder: v.SchemaWithPipe, v.MaxValueAction, v.TransformAction]>; }, undefined>, { readonly stopLoss: 0n; readonly takeProfit: 0n; readonly trailingStop: 0n; readonly twap: 0n; readonly ladder: 0n; }>; readonly postOnly: v.SchemaWithPipe, v.MaxValueAction, v.TransformAction]>; readonly amends: v.SchemaWithPipe, v.MaxValueAction, v.TransformAction]>; readonly filledOrders: v.SchemaWithPipe, v.MaxValueAction, v.TransformAction]>; readonly partiallyFilledOrders: v.SchemaWithPipe, v.MaxValueAction, v.TransformAction]>; readonly canceledOrders: v.SchemaWithPipe, v.MaxValueAction, v.TransformAction]>; readonly rejectedOrders: v.SchemaWithPipe, v.MaxValueAction, v.TransformAction]>; readonly fillRate: v.SchemaWithPipe, v.RegexAction]>; readonly cancelRatio: v.SchemaWithPipe, v.RegexAction]>; readonly medianLimitRestMs: v.OptionalSchema, v.MaxValueAction, v.TransformAction]>, undefined>; readonly firstTradeAt: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; } | undefined, number | undefined>]>; readonly busiestDay: v.OptionalSchema, v.IsoDateAction]>, undefined>; readonly mostActiveHourUtc: v.OptionalSchema, v.IntegerAction, v.MinValueAction, v.MaxValueAction]>, undefined>; readonly vipTierAtCheckpoint: v.SchemaWithPipe, v.IntegerAction, v.MinValueAction, v.MaxValueAction]>; readonly peakVipTier: v.SchemaWithPipe, v.IntegerAction, v.MinValueAction, v.MaxValueAction]>; readonly vipTimeline: v.OptionalSchema, v.IsoDateAction]>; readonly tier: v.SchemaWithPipe, v.IntegerAction, v.MinValueAction, v.MaxValueAction]>; }, undefined>, undefined>, readonly []>; readonly badges: v.OptionalSchema, v.TransformAction]>; readonly earnedAt: v.SchemaWithPipe; readonly nanos: v.OptionalSchema, 0>; }, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; }, number>]>; }, undefined>, undefined>, readonly []>; readonly portfolioValue: v.OptionalSchema; readonly nanos: v.OptionalSchema, 0>; }, undefined>, v.TransformAction<{ seconds: bigint; nanos: number; }, number>]>; readonly usd: v.SchemaWithPipe, v.RegexAction]>; readonly approximate: v.BooleanSchema; }, undefined>, undefined>, readonly []>; readonly tradingBalances: v.OptionalSchema; readonly amount: v.SchemaWithPipe, v.RegexAction]>; readonly usd: v.OptionalSchema, v.RegexAction]>, undefined>; readonly excludedFromValue: v.BooleanSchema; }, undefined>, v.CheckAction<{ asset: string; amount: string; usd?: string | undefined; excludedFromValue: boolean; }, "usd: must be absent for an asset excluded from value">]>, undefined>, readonly []>; readonly fundingBalances: v.OptionalSchema; readonly amount: v.SchemaWithPipe, v.RegexAction]>; readonly usd: v.OptionalSchema, v.RegexAction]>, undefined>; readonly excludedFromValue: v.BooleanSchema; }, undefined>, v.CheckAction<{ asset: string; amount: string; usd?: string | undefined; excludedFromValue: boolean; }, "usd: must be absent for an asset excluded from value">]>, undefined>, readonly []>; readonly deposits: v.OptionalSchema, v.MaxValueAction, v.TransformAction]>; readonly chains: v.OptionalSchema; readonly chainName: v.StringSchema; readonly total: v.OptionalSchema, v.MaxValueAction, v.TransformAction]>; readonly usd: v.OptionalSchema, v.RegexAction]>, undefined>; }, undefined>, { count: bigint; }>; }, undefined>, undefined>, readonly []>; readonly amounts: v.OptionalSchema; readonly amount: v.SchemaWithPipe, v.RegexAction]>; readonly usd: v.OptionalSchema, v.RegexAction]>, undefined>; readonly excludedFromValue: v.BooleanSchema; }, undefined>, v.CheckAction<{ asset: string; amount: string; usd?: string | undefined; excludedFromValue: boolean; }, "usd: must be absent for an asset excluded from value">]>, undefined>, readonly []>; }, undefined>, { count: bigint; }>; readonly withdrawals: v.OptionalSchema, v.MaxValueAction, v.TransformAction]>; readonly chains: v.OptionalSchema; readonly chainName: v.StringSchema; readonly total: v.OptionalSchema, v.MaxValueAction, v.TransformAction]>; readonly usd: v.OptionalSchema, v.RegexAction]>, undefined>; }, undefined>, { count: bigint; }>; }, undefined>, undefined>, readonly []>; readonly amounts: v.OptionalSchema; readonly amount: v.SchemaWithPipe, v.RegexAction]>; readonly usd: v.OptionalSchema, v.RegexAction]>, undefined>; readonly excludedFromValue: v.BooleanSchema; }, undefined>, v.CheckAction<{ asset: string; amount: string; usd?: string | undefined; excludedFromValue: boolean; }, "usd: must be absent for an asset excluded from value">]>, undefined>, readonly []>; }, undefined>, { count: bigint; }>; readonly fundingByDay: v.OptionalSchema, v.IsoDateAction]>; readonly depositUsd: v.OptionalSchema, v.RegexAction]>, undefined>; readonly withdrawalUsd: v.OptionalSchema, v.RegexAction]>, undefined>; }, undefined>, undefined>, readonly []>; readonly transfersIn: v.OptionalSchema, v.MaxValueAction, v.TransformAction]>; readonly usd: v.OptionalSchema, v.RegexAction]>, undefined>; }, undefined>, { count: bigint; }>; readonly transfersOut: v.OptionalSchema, v.MaxValueAction, v.TransformAction]>; readonly usd: v.OptionalSchema, v.RegexAction]>, undefined>; }, undefined>, { count: bigint; }>; readonly internalTransfers: v.SchemaWithPipe, v.MaxValueAction, v.TransformAction]>; readonly dailyClaims: v.SchemaWithPipe, v.MaxValueAction, v.TransformAction]>; readonly dailyClaimAmounts: v.OptionalSchema; readonly amount: v.SchemaWithPipe, v.RegexAction]>; readonly usd: v.OptionalSchema, v.RegexAction]>, undefined>; readonly excludedFromValue: v.BooleanSchema; }, undefined>, v.CheckAction<{ asset: string; amount: string; usd?: string | undefined; excludedFromValue: boolean; }, "usd: must be absent for an asset excluded from value">]>, undefined>, readonly []>; readonly inflowUsd: v.OptionalSchema, v.RegexAction]>, undefined>; readonly outflowUsd: v.OptionalSchema, v.RegexAction]>, undefined>; readonly netInflowUsd: v.OptionalSchema, v.RegexAction]>, undefined>; readonly finalValueUsd: v.OptionalSchema, v.RegexAction]>, undefined>; /** * Holdings restored when the season opened, valued at season end like `finalValueUsd`; * `"0"` when the season opened with no balances. */ readonly openingValueUsd: v.OptionalSchema, v.RegexAction]>, undefined>; /** `finalValueUsd` minus `openingValueUsd` minus `netInflowUsd`; absent when any of them is. */ readonly seasonResultUsd: v.OptionalSchema, v.RegexAction]>, undefined>; readonly subaccounts: v.SchemaWithPipe, v.MaxValueAction, v.TransformAction]>; /** Values computed from partial evidence; show them with an approximation marker. */ readonly incomplete: v.OptionalSchema, v.TransformAction]>, undefined>, readonly []>; }, undefined>; /** * One frozen season recap of a root account and all of its subaccounts. An absent USD value * means the value was unavailable, not zero. */ type Checkpoint = v.InferOutput; declare const ListCheckpointsInputSchema: v.StrictObjectSchema<{ readonly subaccountId: v.SchemaWithPipe, v.TrimAction]>, undefined>, v.TransformAction]>, v.CheckAction]>; }, undefined>; type ListCheckpointsInput = v.InferInput; //#endregion export { Checkpoint, CheckpointAssetAmount, CheckpointAssetAmountSchema, CheckpointBiggestTrade, CheckpointBiggestTradeSchema, CheckpointChainFlow, CheckpointChainFlowSchema, CheckpointEarnedBadge, CheckpointEarnedBadgeSchema, CheckpointFlowTotal, CheckpointFlowTotalSchema, CheckpointFundingDay, CheckpointFundingDaySchema, CheckpointFundingFlowSummary, CheckpointFundingFlowSummarySchema, CheckpointOrderToolCounts, CheckpointOrderToolCountsSchema, CheckpointOrderTypeCounts, CheckpointOrderTypeCountsSchema, CheckpointPairActivity, CheckpointPairActivitySchema, CheckpointPortfolioValuePoint, CheckpointPortfolioValuePointSchema, CheckpointSchema, CheckpointTimeInForceCounts, CheckpointTimeInForceCountsSchema, CheckpointVipTierChange, CheckpointVipTierChangeSchema, CheckpointVolumePoint, CheckpointVolumePointSchema, ListCheckpointsInput, ListCheckpointsInputSchema }; //# sourceMappingURL=checkpoints.schemas.d.ts.map