import { AnalyticsPosition } from "./analytics.js"; import { z } from "zod/v4"; //#region src/model/analytics.schema.d.ts /** Default page size of the protocol-wide positions list. */ export declare const ANALYTICS_POSITIONS_DEFAULT_LIMIT = 25; /** Largest page the protocol-wide positions list accepts. */ export declare const ANALYTICS_POSITIONS_MAX_LIMIT = 100; /** {@link AnalyticsPositionSortField} */ export declare const analyticsPositionSortFieldSchema: z.ZodEnum<{ healthFactor: "healthFactor"; netValueUsd: "netValueUsd"; pnlUsd: "pnlUsd"; totalDebtUsd: "totalDebtUsd"; totalValueUsd: "totalValueUsd"; }>; /** {@link AnalyticsSortDirection} */ export declare const analyticsSortDirectionSchema: z.ZodEnum<{ asc: "asc"; desc: "desc"; }>; /** {@link AnalyticsContractRef} */ export declare const analyticsContractRefSchema: z.ZodObject<{ chainId: z.ZodNumber; address: z.ZodCustom<`0x${string}`, `0x${string}`>; }, z.core.$strip>; /** {@link AnalyticsPosition} */ export declare const analyticsPositionSchema: z.ZodType; /** {@link AnalyticsPositionListOptions} */ export declare const analyticsPositionListOptionsSchema: z.ZodObject<{ borrower: z.ZodOptional>; pool: z.ZodOptional; }, z.core.$strip>, z.ZodReadonly; }, z.core.$strip>>>]>>; creditManager: z.ZodOptional; }, z.core.$strip>, z.ZodReadonly; }, z.core.$strip>>>]>>; asset: z.ZodOptional; }, z.core.$strip>, z.ZodReadonly; }, z.core.$strip>>>]>>; curator: z.ZodOptional, z.ZodReadonly>>]>, z.ZodLiteral<"all">]>>; kind: z.ZodOptional, z.ZodLiteral<"strategy">, z.ZodLiteral<"liquidation">]>, z.ZodLiteral<"all">]>>; isZeroDebt: z.ZodOptional]>>; chainIds: z.ZodOptional>; underlyingType: z.ZodOptional, z.ZodLiteral<"ETH">, z.ZodLiteral<"BTC">]>, z.ZodLiteral<"all">]>>; sortBy: z.ZodOptional>; sortDirection: z.ZodOptional>; offset: z.ZodOptional; limit: z.ZodOptional; }, z.core.$strip>; /** * {@link AnalyticsPositionListOptions} as URL query parameters. * Pool, credit manager and asset choices are comma-separated `chainId:address` * references; curator choices are comma-separated names. An empty string * carries an empty list rather than an unrestricted condition. **/ export declare const analyticsPositionListQueryParamsSchema: z.ZodObject<{ borrower: z.ZodOptional>>; pool: z.ZodOptional; creditManager: z.ZodOptional; asset: z.ZodOptional; curator: z.ZodOptional; kind: z.ZodOptional, z.ZodLiteral<"strategy">, z.ZodLiteral<"liquidation">]>>; isZeroDebt: z.ZodOptional>; chainIds: z.ZodOptional; underlyingType: z.ZodOptional, z.ZodLiteral<"ETH">, z.ZodLiteral<"BTC">]>>; sortBy: z.ZodOptional>; sortDirection: z.ZodOptional>; offset: z.ZodOptional; limit: z.ZodOptional; }, z.core.$strip>; /** * Codec for an analytics position-list query. It is shared by the SDK client * and backend controller so both sides interpret every parameter identically. **/ export declare const analyticsPositionListQuerySchema: z.ZodCodec>>; pool: z.ZodOptional; creditManager: z.ZodOptional; asset: z.ZodOptional; curator: z.ZodOptional; kind: z.ZodOptional, z.ZodLiteral<"strategy">, z.ZodLiteral<"liquidation">]>>; isZeroDebt: z.ZodOptional>; chainIds: z.ZodOptional; underlyingType: z.ZodOptional, z.ZodLiteral<"ETH">, z.ZodLiteral<"BTC">]>>; sortBy: z.ZodOptional>; sortDirection: z.ZodOptional>; offset: z.ZodOptional; limit: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ borrower: z.ZodOptional>; pool: z.ZodOptional; }, z.core.$strip>, z.ZodReadonly; }, z.core.$strip>>>]>>; creditManager: z.ZodOptional; }, z.core.$strip>, z.ZodReadonly; }, z.core.$strip>>>]>>; asset: z.ZodOptional; }, z.core.$strip>, z.ZodReadonly; }, z.core.$strip>>>]>>; curator: z.ZodOptional, z.ZodReadonly>>]>, z.ZodLiteral<"all">]>>; kind: z.ZodOptional, z.ZodLiteral<"strategy">, z.ZodLiteral<"liquidation">]>, z.ZodLiteral<"all">]>>; isZeroDebt: z.ZodOptional]>>; chainIds: z.ZodOptional>; underlyingType: z.ZodOptional, z.ZodLiteral<"ETH">, z.ZodLiteral<"BTC">]>, z.ZodLiteral<"all">]>>; sortBy: z.ZodOptional>; sortDirection: z.ZodOptional>; offset: z.ZodOptional; limit: z.ZodOptional; }, z.core.$strip>>; /** {@link AnalyticsPositionPage} */ export declare const analyticsPositionPageSchema: z.ZodObject<{ items: z.ZodArray>>; total: z.ZodNumber; offset: z.ZodNumber; limit: z.ZodNumber; }, z.core.$strip>; /** {@link AnalyticsContractOption} */ export declare const analyticsContractOptionSchema: z.ZodObject<{ chainId: z.ZodNumber; address: z.ZodCodec>; name: z.ZodString; underlyingToken: z.ZodObject<{ chainId: z.ZodNumber; address: z.ZodCodec>; symbol: z.ZodString; name: z.ZodString; decimals: z.ZodNumber; assetType: z.ZodOptional, z.ZodLiteral<"ETH">, z.ZodLiteral<"BTC">]>>; wrappedAddress: z.ZodNullable>>; }, z.core.$strip>; curator: z.ZodObject<{ address: z.ZodCodec>; name: z.ZodOptional>; url: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>; /** {@link AnalyticsCuratorOption} */ export declare const analyticsCuratorOptionSchema: z.ZodObject<{ name: z.ZodEnum<{ "Chaos Labs": "Chaos Labs"; "Gami Labs": "Gami Labs"; Hyperithm: "Hyperithm"; "Invariant Group": "Invariant Group"; K3: "K3"; KPK: "KPK"; "M11 Credit": "M11 Credit"; Re7: "Re7"; Securitize: "Securitize"; TelosC: "TelosC"; "Testnet Curator": "Testnet Curator"; Tulipa: "Tulipa"; UltraYield: "UltraYield"; cp0x: "cp0x"; }>; url: z.ZodNullable; }, z.core.$strip>; /** {@link AnalyticsPositionFilterOptions} */ export declare const analyticsPositionFilterOptionsSchema: z.ZodObject<{ pools: z.ZodArray>; name: z.ZodString; underlyingToken: z.ZodObject<{ chainId: z.ZodNumber; address: z.ZodCodec>; symbol: z.ZodString; name: z.ZodString; decimals: z.ZodNumber; assetType: z.ZodOptional, z.ZodLiteral<"ETH">, z.ZodLiteral<"BTC">]>>; wrappedAddress: z.ZodNullable>>; }, z.core.$strip>; curator: z.ZodObject<{ address: z.ZodCodec>; name: z.ZodOptional>; url: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>>; creditManagers: z.ZodArray>; name: z.ZodString; underlyingToken: z.ZodObject<{ chainId: z.ZodNumber; address: z.ZodCodec>; symbol: z.ZodString; name: z.ZodString; decimals: z.ZodNumber; assetType: z.ZodOptional, z.ZodLiteral<"ETH">, z.ZodLiteral<"BTC">]>>; wrappedAddress: z.ZodNullable>>; }, z.core.$strip>; curator: z.ZodObject<{ address: z.ZodCodec>; name: z.ZodOptional>; url: z.ZodNullable; }, z.core.$strip>; }, z.core.$strip>>; assets: z.ZodArray>; symbol: z.ZodString; name: z.ZodString; decimals: z.ZodNumber; assetType: z.ZodOptional, z.ZodLiteral<"ETH">, z.ZodLiteral<"BTC">]>>; }, z.core.$strip>>; curators: z.ZodArray; url: z.ZodNullable; }, z.core.$strip>>; }, z.core.$strip>; /** Chain scope of a filter-options read, shared by the client and backend. */ export declare const analyticsPositionFilterOptionsQuerySchema: z.ZodCodec; }, z.core.$strip>, z.ZodObject<{ chainIds: z.ZodOptional>; }, z.core.$strip>>; /** * {@link AnalyticsChartQuery} * * The metric list is narrowed to {@link ProtocolChartMetric} here rather than * on the route, so asking the protocol chart for an opportunity metric is * rejected by the one codec both sides share instead of by a check only the * backend runs. **/ export declare const analyticsChartQueryOptionsSchema: z.ZodObject<{ metrics: z.ZodReadonly>>; range: z.ZodEnum<{ "1d": "1d"; "1m": "1m"; "1w": "1w"; "1y": "1y"; max: "max"; }>; chainIds: z.ZodOptional>; }, z.core.$strip>; /** * {@link AnalyticsChartQuery} as URL query parameters: the metrics comma-joined * like every other chart read, and the chains comma-joined like every other * analytics read. **/ export declare const analyticsChartQueryParamsSchema: z.ZodObject<{ metrics: z.ZodString; range: z.ZodEnum<{ "1d": "1d"; "1m": "1m"; "1w": "1w"; "1y": "1y"; max: "max"; }>; chainIds: z.ZodOptional; }, z.core.$strip>; /** * Codec for a protocol-wide chart query. It is shared by the SDK client and * backend controller so both sides interpret every parameter identically. **/ export declare const analyticsChartQuerySchema: z.ZodCodec; chainIds: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ metrics: z.ZodReadonly>>; range: z.ZodEnum<{ "1d": "1d"; "1m": "1m"; "1w": "1w"; "1y": "1y"; max: "max"; }>; chainIds: z.ZodOptional>; }, z.core.$strip>>; //#endregion