import { Timeframe as Timeframe$1 } from "../../gen/marketdata/v1/marketdata_pb.js"; import { DecodedEnum } from "../../utils/types.js"; import { SdkScales } from "../../shared/decimal-surface.js"; import * as v from "valibot"; //#region src/services/candles/candles.schemas.d.ts declare const TimeframeSchema: v.PicklistSchema; type Timeframe = v.InferOutput; type TimestampInit = { seconds: bigint; nanos: number; }; declare function createCandleRowSchema(scales: SdkScales): v.SchemaWithPipe; readonly timeframe: v.SchemaWithPipe, v.TransformAction>]>; readonly tsSec: v.BigintSchema; readonly open: v.BigintSchema; readonly high: v.BigintSchema; readonly low: v.BigintSchema; readonly close: v.BigintSchema; readonly volume: v.BigintSchema; readonly quoteVolume: v.StringSchema; readonly isClosed: v.OptionalSchema, false>; }, undefined>, v.TransformAction<{ symbolId: number; timeframe: DecodedEnum<"1d" | "1s" | "1m" | "5m" | "1h" | "15m" | "30m" | "4h" | "12h" | "1w" | "1mo">; tsSec: bigint; open: bigint; high: bigint; low: bigint; close: bigint; volume: bigint; quoteVolume: string; isClosed: boolean; }, { symbolId: number; timeframe: DecodedEnum<"1d" | "1s" | "1m" | "5m" | "1h" | "15m" | "30m" | "4h" | "12h" | "1w" | "1mo">; time: number; open: string; high: string; low: string; close: string; volume: string; quoteVolume: string; isClosed: boolean; }>]>; declare const createCandleRowIntSchema: typeof createCandleRowSchema; declare function createCandleColumnarSchema(scales: SdkScales): v.SchemaWithPipe; readonly timeframe: v.SchemaWithPipe, v.TransformAction>]>; readonly tsSec: v.ArraySchema, undefined>; readonly open: v.ArraySchema, undefined>; readonly high: v.ArraySchema, undefined>; readonly low: v.ArraySchema, undefined>; readonly close: v.ArraySchema, undefined>; readonly volume: v.ArraySchema, undefined>; readonly quoteVolume: v.ArraySchema, undefined>; readonly referenceTsSec: v.OptionalSchema, undefined>, readonly []>; readonly referenceOpen: v.OptionalSchema, undefined>, readonly []>; readonly referenceHigh: v.OptionalSchema, undefined>, readonly []>; readonly referenceLow: v.OptionalSchema, undefined>, readonly []>; readonly referenceClose: v.OptionalSchema, undefined>, readonly []>; readonly referenceVolume: v.OptionalSchema, undefined>, readonly []>; readonly nextPageToken: v.OptionalSchema, "">; }, undefined>, v.TransformAction<{ symbolId: number; timeframe: DecodedEnum<"1d" | "1s" | "1m" | "5m" | "1h" | "15m" | "30m" | "4h" | "12h" | "1w" | "1mo">; tsSec: bigint[]; open: bigint[]; high: bigint[]; low: bigint[]; close: bigint[]; volume: bigint[]; quoteVolume: string[]; referenceTsSec: bigint[]; referenceOpen: bigint[]; referenceHigh: bigint[]; referenceLow: bigint[]; referenceClose: bigint[]; referenceVolume: bigint[]; nextPageToken: string; }, { symbolId: number; timeframe: DecodedEnum<"1d" | "1s" | "1m" | "5m" | "1h" | "15m" | "30m" | "4h" | "12h" | "1w" | "1mo">; time: number[]; open: string[]; high: string[]; low: string[]; close: string[]; volume: string[]; quoteVolume: string[]; nextPageToken: string; reference: { time: number[]; open: string[]; high: string[]; low: string[]; close: string[]; volume: string[]; } | null; }>]>; declare function createCandleColumnarIntSchema(scales: SdkScales): v.SchemaWithPipe; readonly timeframe: v.SchemaWithPipe, v.TransformAction>]>; readonly tsSec: v.ArraySchema, undefined>; readonly open: v.ArraySchema, undefined>; readonly high: v.ArraySchema, undefined>; readonly low: v.ArraySchema, undefined>; readonly close: v.ArraySchema, undefined>; readonly volume: v.ArraySchema, undefined>; readonly quoteVolume: v.ArraySchema, undefined>; readonly referenceTsSec: v.OptionalSchema, undefined>, readonly []>; readonly referenceOpen: v.OptionalSchema, undefined>, readonly []>; readonly referenceHigh: v.OptionalSchema, undefined>, readonly []>; readonly referenceLow: v.OptionalSchema, undefined>, readonly []>; readonly referenceClose: v.OptionalSchema, undefined>, readonly []>; readonly referenceVolume: v.OptionalSchema, undefined>, readonly []>; readonly nextPageToken: v.OptionalSchema, "">; }, undefined>, v.TransformAction<{ symbolId: number; timeframe: DecodedEnum<"1d" | "1s" | "1m" | "5m" | "1h" | "15m" | "30m" | "4h" | "12h" | "1w" | "1mo">; tsSec: bigint[]; open: bigint[]; high: bigint[]; low: bigint[]; close: bigint[]; volume: bigint[]; quoteVolume: string[]; referenceTsSec: bigint[]; referenceOpen: bigint[]; referenceHigh: bigint[]; referenceLow: bigint[]; referenceClose: bigint[]; referenceVolume: bigint[]; nextPageToken: string; }, { symbolId: number; timeframe: DecodedEnum<"1d" | "1s" | "1m" | "5m" | "1h" | "15m" | "30m" | "4h" | "12h" | "1w" | "1mo">; tsSec: number[]; open: string[]; high: string[]; low: string[]; close: string[]; volume: string[]; quoteVolume: string[]; nextPageToken: string; reference: { tsSec: number[]; open: string[]; high: string[]; low: string[]; close: string[]; volume: string[]; } | null; }>]>; type Candle = v.InferOutput>; type CandleInt = v.InferOutput>; type CandleColumnar = v.InferOutput>; type CandleColumnarInt = v.InferOutput>; declare function createListCandlesInputSchema(): v.SchemaWithPipe, v.IntegerAction, v.GtValueAction, v.MaxValueAction]>; readonly timeframe: v.SchemaWithPipe, v.TransformAction<"1d" | "1s" | "1m" | "5m" | "1h" | "15m" | "30m" | "4h" | "12h" | "1w" | "1mo", Timeframe$1.SEC_1 | Timeframe$1.MIN_1 | Timeframe$1.MIN_5 | Timeframe$1.MIN_15 | Timeframe$1.MIN_30 | Timeframe$1.HOUR_1 | Timeframe$1.HOUR_4 | Timeframe$1.DAY_1 | Timeframe$1.HOUR_12 | Timeframe$1.WEEK_1 | Timeframe$1.MONTH_1>]>; readonly limit: v.OptionalSchema, v.IntegerAction, v.GtValueAction, v.MaxValueAction]>, undefined>; readonly includeIncomplete: v.OptionalSchema, false>; readonly includeReference: v.OptionalSchema, false>; readonly startTsSec: v.OptionalSchema, v.IntegerAction, v.MinValueAction, v.MaxValueAction, v.TransformAction]>, undefined>; readonly endTsSec: v.OptionalSchema, v.IntegerAction, v.MinValueAction, v.MaxValueAction, v.TransformAction]>, undefined>; readonly pageToken: v.OptionalSchema, v.TrimAction]>, "">; }, undefined>, v.TransformAction<{ symbolId: number; timeframe: Timeframe$1.SEC_1 | Timeframe$1.MIN_1 | Timeframe$1.MIN_5 | Timeframe$1.MIN_15 | Timeframe$1.MIN_30 | Timeframe$1.HOUR_1 | Timeframe$1.HOUR_4 | Timeframe$1.DAY_1 | Timeframe$1.HOUR_12 | Timeframe$1.WEEK_1 | Timeframe$1.MONTH_1; limit?: number | undefined; includeIncomplete: boolean; includeReference: boolean; startTsSec?: bigint | undefined; endTsSec?: bigint | undefined; pageToken: string; }, { symbolId: number; timeframe: Timeframe$1.SEC_1 | Timeframe$1.MIN_1 | Timeframe$1.MIN_5 | Timeframe$1.MIN_15 | Timeframe$1.MIN_30 | Timeframe$1.HOUR_1 | Timeframe$1.HOUR_4 | Timeframe$1.DAY_1 | Timeframe$1.HOUR_12 | Timeframe$1.WEEK_1 | Timeframe$1.MONTH_1; limit: number | undefined; includeIncomplete: boolean; includeReference: boolean; startTime: TimestampInit | undefined; endTime: TimestampInit | undefined; pageToken: string; }>]>; type GetCandlesInput = v.InferInput>; type GetCandlesColumnsInput = v.InferInput>; //#endregion export { Candle, CandleColumnar, CandleColumnarInt, CandleInt, GetCandlesColumnsInput, GetCandlesInput, Timeframe, TimeframeSchema, createCandleColumnarIntSchema, createCandleColumnarSchema, createCandleRowIntSchema, createCandleRowSchema, createListCandlesInputSchema }; //# sourceMappingURL=candles.schemas.d.ts.map