import { AssetConfig, PAIR_STATUSES, PairConfig, PairMarketDataConfig, PairStatus, SpotConfig } from "../../shared/catalog-config.js"; import { SideFilter } from "../../gen/marketdata/v1/marketdata_pb.js"; import { SdkScales } from "../../shared/decimal-surface.js"; import * as v from "valibot"; //#region src/services/market-data/market-data.schemas.d.ts declare function createMarketTradeSchema(scales: SdkScales): v.SchemaWithPipe; readonly matchId: v.BigintSchema; readonly isBuy: v.BooleanSchema; readonly priceTicks: v.BigintSchema; readonly qtyScaled: v.BigintSchema; readonly tsNs: v.OptionalSchema, 0n>; }, undefined>, v.TransformAction<{ symbolId: number; matchId: bigint; isBuy: boolean; priceTicks: bigint; qtyScaled: bigint; tsNs: bigint; }, { symbolId: number; matchId: string; isBuy: boolean; sideLabel: "buy" | "sell"; qty: string; price: string; tsNs: string; tsMs: number; }>]>; type MarketTrade = v.InferOutput>; /** Cursor fields of a gap-free `afterTradeId` backfill page. */ declare const TradeBackfillSchema: v.ObjectSchema<{ readonly completeThroughTradeId: v.SchemaWithPipe, v.TransformAction]>; readonly nextAfterTradeId: v.SchemaWithPipe, v.TransformAction]>; readonly epochEnds: v.ArraySchema; readonly lastTradeId: v.BigintSchema; }, undefined>, v.TransformAction<{ epoch: bigint; lastTradeId: bigint; }, { epoch: string; lastTradeId: string; }>]>, undefined>; }, undefined>; type TradeBackfill = v.InferOutput; declare function createGetMarketTradesInputSchema(): v.SchemaWithPipe, v.IntegerAction, v.GtValueAction, v.MaxValueAction]>; readonly side: v.OptionalSchema, undefined>; readonly startTsNs: v.SchemaWithPipe, v.TrimAction]>, undefined>, v.TransformAction]>; readonly endTsNs: v.SchemaWithPipe, v.TrimAction]>, undefined>, v.TransformAction]>; readonly limit: v.OptionalSchema, v.IntegerAction, v.GtValueAction, v.MaxValueAction]>, undefined>; readonly pageToken: v.OptionalSchema, v.TrimAction]>, "">; readonly afterTradeId: v.SchemaWithPipe, v.TrimAction]>, undefined>, v.TransformAction]>; }, undefined>, v.CheckAction<{ symbolId: number; side?: "buy" | "sell" | undefined; startTsNs?: bigint | undefined; endTsNs?: bigint | undefined; limit?: number | undefined; pageToken: string; afterTradeId?: bigint | undefined; }, "afterTradeId cannot be combined with side, startTsNs, endTsNs or pageToken">, v.TransformAction<{ symbolId: number; side?: "buy" | "sell" | undefined; startTsNs?: bigint | undefined; endTsNs?: bigint | undefined; limit?: number | undefined; pageToken: string; afterTradeId?: bigint | undefined; }, { symbolId: number; side: SideFilter.BUY | SideFilter.SELL | undefined; startTime: import("@bufbuild/protobuf/wkt").Timestamp | undefined; endTime: import("@bufbuild/protobuf/wkt").Timestamp | undefined; limit: number | undefined; pageToken: string; afterTradeId: bigint | undefined; }>]>; type GetMarketTradesInput = v.InferInput>; //#endregion export { type AssetConfig, GetMarketTradesInput, MarketTrade, type PairConfig, type PairStatus, type SpotConfig, TradeBackfill, TradeBackfillSchema, createGetMarketTradesInputSchema, createMarketTradeSchema }; //# sourceMappingURL=market-data.schemas.d.ts.map