/** * Input Validation Schemas * * Zod schemas for runtime type validation of tool inputs */ import { z } from 'zod'; /** * Reusable validation schemas */ export declare const ethereumAddressSchema: z.ZodEffects; export declare const chainIdSchema: z.ZodNumber; export declare const paginationFirstSchema: z.ZodDefault; export declare const paginationSkipSchema: z.ZodDefault; /** * Tool-specific validation schemas */ export declare const queryGraphQLInputSchema: z.ZodObject<{ query: z.ZodString; variables: z.ZodOptional>; }, "strip", z.ZodTypeAny, { query: string; variables?: Record | undefined; }, { query: string; variables?: Record | undefined; }>; export declare const getVaultDataInputSchema: z.ZodObject<{ vaultAddress: z.ZodEffects; chainId: z.ZodNumber; }, "strip", z.ZodTypeAny, { vaultAddress: string; chainId: number; }, { vaultAddress: string; chainId: number; }>; export declare const getUserPortfolioInputSchema: z.ZodObject<{ userAddress: z.ZodEffects; responseFormat: z.ZodDefault>; }, "strip", z.ZodTypeAny, { userAddress: string; responseFormat: "full" | "list" | "summary"; }, { userAddress: string; responseFormat?: "full" | "list" | "summary" | undefined; }>; export declare const searchVaultsInputSchema: z.ZodObject<{ filters: z.ZodOptional; assetSymbol_in: z.ZodOptional>; assetId_eq: z.ZodOptional; assetId_in: z.ZodOptional>; chainId_eq: z.ZodOptional; chainId_in: z.ZodOptional>; curatorIds_contains: z.ZodOptional; curatorIds_contains_any: z.ZodOptional>; isVisible_eq: z.ZodOptional; address_eq: z.ZodOptional>; address_in: z.ZodOptional, "many">>; symbol_eq: z.ZodOptional; symbol_in: z.ZodOptional>; integratorId_eq: z.ZodOptional; integratorId_in: z.ZodOptional>; }, "strip", z.ZodTypeAny, { assetSymbol_eq?: string | undefined; assetSymbol_in?: string[] | undefined; assetId_eq?: string | undefined; assetId_in?: string[] | undefined; chainId_eq?: number | undefined; chainId_in?: number[] | undefined; curatorIds_contains?: string | undefined; curatorIds_contains_any?: string[] | undefined; isVisible_eq?: boolean | undefined; address_eq?: string | undefined; address_in?: string[] | undefined; symbol_eq?: string | undefined; symbol_in?: string[] | undefined; integratorId_eq?: string | undefined; integratorId_in?: string[] | undefined; }, { assetSymbol_eq?: string | undefined; assetSymbol_in?: string[] | undefined; assetId_eq?: string | undefined; assetId_in?: string[] | undefined; chainId_eq?: number | undefined; chainId_in?: number[] | undefined; curatorIds_contains?: string | undefined; curatorIds_contains_any?: string[] | undefined; isVisible_eq?: boolean | undefined; address_eq?: string | undefined; address_in?: string[] | undefined; symbol_eq?: string | undefined; symbol_in?: string[] | undefined; integratorId_eq?: string | undefined; integratorId_in?: string[] | undefined; }>>; pagination: z.ZodOptional; skip: z.ZodDefault; }, "strip", z.ZodTypeAny, { first: number; skip: number; }, { first?: number | undefined; skip?: number | undefined; }>>; orderBy: z.ZodDefault>; orderDirection: z.ZodDefault>; search: z.ZodOptional; entityIds: z.ZodOptional>; responseFormat: z.ZodDefault>; maxResults: z.ZodDefault; }, "strip", z.ZodTypeAny, { responseFormat: "full" | "list" | "summary"; orderBy: "chainId" | "address" | "id" | "totalAssetsUsd"; orderDirection: "asc" | "desc"; maxResults: number; filters?: { assetSymbol_eq?: string | undefined; assetSymbol_in?: string[] | undefined; assetId_eq?: string | undefined; assetId_in?: string[] | undefined; chainId_eq?: number | undefined; chainId_in?: number[] | undefined; curatorIds_contains?: string | undefined; curatorIds_contains_any?: string[] | undefined; isVisible_eq?: boolean | undefined; address_eq?: string | undefined; address_in?: string[] | undefined; symbol_eq?: string | undefined; symbol_in?: string[] | undefined; integratorId_eq?: string | undefined; integratorId_in?: string[] | undefined; } | undefined; pagination?: { first: number; skip: number; } | undefined; search?: string | undefined; entityIds?: string[] | undefined; }, { responseFormat?: "full" | "list" | "summary" | undefined; filters?: { assetSymbol_eq?: string | undefined; assetSymbol_in?: string[] | undefined; assetId_eq?: string | undefined; assetId_in?: string[] | undefined; chainId_eq?: number | undefined; chainId_in?: number[] | undefined; curatorIds_contains?: string | undefined; curatorIds_contains_any?: string[] | undefined; isVisible_eq?: boolean | undefined; address_eq?: string | undefined; address_in?: string[] | undefined; symbol_eq?: string | undefined; symbol_in?: string[] | undefined; integratorId_eq?: string | undefined; integratorId_in?: string[] | undefined; } | undefined; pagination?: { first?: number | undefined; skip?: number | undefined; } | undefined; orderBy?: "chainId" | "address" | "id" | "totalAssetsUsd" | undefined; orderDirection?: "asc" | "desc" | undefined; search?: string | undefined; entityIds?: string[] | undefined; maxResults?: number | undefined; }>; export declare const getVaultPerformanceInputSchema: z.ZodObject<{ vaultAddress: z.ZodEffects; chainId: z.ZodNumber; timeRange: z.ZodEnum<["7d", "30d", "90d", "1y"]>; includeSDKCalculations: z.ZodDefault>; responseFormat: z.ZodDefault>; }, "strip", z.ZodTypeAny, { vaultAddress: string; chainId: number; responseFormat: "summary" | "detailed"; timeRange: "7d" | "30d" | "90d" | "1y"; includeSDKCalculations: boolean; }, { vaultAddress: string; chainId: number; timeRange: "7d" | "30d" | "90d" | "1y"; responseFormat?: "summary" | "detailed" | undefined; includeSDKCalculations?: boolean | undefined; }>; export declare const getTransactionsInputSchema: z.ZodObject<{ vaultAddress: z.ZodEffects; chainId: z.ZodNumber; transactionTypes: z.ZodOptional, "many">>; pagination: z.ZodOptional; skip: z.ZodDefault; }, "strip", z.ZodTypeAny, { first: number; skip: number; }, { first?: number | undefined; skip?: number | undefined; }>>; orderBy: z.ZodDefault>; orderDirection: z.ZodDefault>; responseFormat: z.ZodDefault>; }, "strip", z.ZodTypeAny, { vaultAddress: string; chainId: number; responseFormat: "list" | "summary" | "detailed"; orderBy: "chainId" | "id" | "blockNumber" | "timestamp"; orderDirection: "asc" | "desc"; pagination?: { first: number; skip: number; } | undefined; transactionTypes?: ("SettleDeposit" | "SettleRedeem" | "DepositRequest" | "DepositRequestCanceled" | "RedeemRequest" | "RedeemRequestCanceled" | "Deposit" | "Withdraw" | "DepositSync" | "WithdrawSync" | "PreMint" | "NewTotalAssetsUpdated" | "TotalAssetsUpdated" | "PeriodSummary" | "StateUpdated" | "VaultState" | "RatesUpdated" | "FeeTaken" | "HaircutTaken" | "AccessModeUpdated" | "AsyncOnlyActivated" | "BlacklistUpdated" | "WhitelistUpdated" | "ExternalSanctionsListUpdated" | "GuardrailsStatusUpdated" | "GuardrailsUpdated" | "MaxCapUpdated" | "NameUpdated" | "SymbolUpdated" | "SyncModeUpdated" | "TotalAssetsExpirationUpdated" | "SafeUpdated" | "SecurityCouncilUpdated" | "SuperOperatorUpdated" | "ProxyDeployed")[] | undefined; }, { vaultAddress: string; chainId: number; responseFormat?: "list" | "summary" | "detailed" | undefined; pagination?: { first?: number | undefined; skip?: number | undefined; } | undefined; orderBy?: "chainId" | "id" | "blockNumber" | "timestamp" | undefined; orderDirection?: "asc" | "desc" | undefined; transactionTypes?: ("SettleDeposit" | "SettleRedeem" | "DepositRequest" | "DepositRequestCanceled" | "RedeemRequest" | "RedeemRequestCanceled" | "Deposit" | "Withdraw" | "DepositSync" | "WithdrawSync" | "PreMint" | "NewTotalAssetsUpdated" | "TotalAssetsUpdated" | "PeriodSummary" | "StateUpdated" | "VaultState" | "RatesUpdated" | "FeeTaken" | "HaircutTaken" | "AccessModeUpdated" | "AsyncOnlyActivated" | "BlacklistUpdated" | "WhitelistUpdated" | "ExternalSanctionsListUpdated" | "GuardrailsStatusUpdated" | "GuardrailsUpdated" | "MaxCapUpdated" | "NameUpdated" | "SymbolUpdated" | "SyncModeUpdated" | "TotalAssetsExpirationUpdated" | "SafeUpdated" | "SecurityCouncilUpdated" | "SuperOperatorUpdated" | "ProxyDeployed")[] | undefined; }>; export declare const compareVaultsInputSchema: z.ZodEffects, "many">; chainId: z.ZodOptional; chainIds: z.ZodOptional>; responseFormat: z.ZodDefault>; rankBy: z.ZodDefault>; }, "strip", z.ZodTypeAny, { responseFormat: "full" | "summary"; vaultAddresses: string[]; rankBy: "totalApr" | "sustainableApr"; chainId?: number | undefined; chainIds?: number[] | undefined; }, { vaultAddresses: string[]; chainId?: number | undefined; responseFormat?: "full" | "summary" | undefined; chainIds?: number[] | undefined; rankBy?: "totalApr" | "sustainableApr" | undefined; }>, { responseFormat: "full" | "summary"; vaultAddresses: string[]; rankBy: "totalApr" | "sustainableApr"; chainId?: number | undefined; chainIds?: number[] | undefined; }, { vaultAddresses: string[]; chainId?: number | undefined; responseFormat?: "full" | "summary" | undefined; chainIds?: number[] | undefined; rankBy?: "totalApr" | "sustainableApr" | undefined; }>; export declare const priceHistoryInputSchema: z.ZodObject<{ vaultAddress: z.ZodEffects; chainId: z.ZodNumber; timeRange: z.ZodEnum<["7d", "30d", "90d", "1y", "all"]>; responseFormat: z.ZodDefault>; }, "strip", z.ZodTypeAny, { vaultAddress: string; chainId: number; responseFormat: "summary" | "detailed"; timeRange: "all" | "7d" | "30d" | "90d" | "1y"; }, { vaultAddress: string; chainId: number; timeRange: "all" | "7d" | "30d" | "90d" | "1y"; responseFormat?: "summary" | "detailed" | undefined; }>; export declare const exportDataInputSchema: z.ZodObject<{ vaultAddresses: z.ZodArray, "many">; chainId: z.ZodNumber; dataType: z.ZodEnum<["vaults", "transactions", "price_history", "performance"]>; format: z.ZodEnum<["csv", "json"]>; }, "strip", z.ZodTypeAny, { chainId: number; vaultAddresses: string[]; dataType: "transactions" | "price_history" | "vaults" | "performance"; format: "csv" | "json"; }, { chainId: number; vaultAddresses: string[]; dataType: "transactions" | "price_history" | "vaults" | "performance"; format: "csv" | "json"; }>; export declare const analyzeRiskInputSchema: z.ZodObject<{ vaultAddress: z.ZodEffects; chainId: z.ZodNumber; responseFormat: z.ZodDefault>; }, "strip", z.ZodTypeAny, { vaultAddress: string; chainId: number; responseFormat: "summary" | "detailed" | "score"; }, { vaultAddress: string; chainId: number; responseFormat?: "summary" | "detailed" | "score" | undefined; }>; export declare const analyzeRisksInputSchema: z.ZodEffects, "many">; chainId: z.ZodOptional; chainIds: z.ZodOptional>; responseFormat: z.ZodDefault>; }, "strip", z.ZodTypeAny, { responseFormat: "summary" | "detailed" | "score"; vaultAddresses: string[]; chainId?: number | undefined; chainIds?: number[] | undefined; }, { vaultAddresses: string[]; chainId?: number | undefined; responseFormat?: "summary" | "detailed" | "score" | undefined; chainIds?: number[] | undefined; }>, { responseFormat: "summary" | "detailed" | "score"; vaultAddresses: string[]; chainId?: number | undefined; chainIds?: number[] | undefined; }, { vaultAddresses: string[]; chainId?: number | undefined; responseFormat?: "summary" | "detailed" | "score" | undefined; chainIds?: number[] | undefined; }>, { responseFormat: "summary" | "detailed" | "score"; vaultAddresses: string[]; chainId?: number | undefined; chainIds?: number[] | undefined; }, { vaultAddresses: string[]; chainId?: number | undefined; responseFormat?: "summary" | "detailed" | "score" | undefined; chainIds?: number[] | undefined; }>; export declare const predictYieldInputSchema: z.ZodObject<{ vaultAddress: z.ZodEffects; chainId: z.ZodNumber; timeRange: z.ZodEnum<["7d", "30d", "90d"]>; responseFormat: z.ZodDefault>; }, "strip", z.ZodTypeAny, { vaultAddress: string; chainId: number; responseFormat: "detailed" | "quick"; timeRange: "7d" | "30d" | "90d"; }, { vaultAddress: string; chainId: number; timeRange: "7d" | "30d" | "90d"; responseFormat?: "detailed" | "quick" | undefined; }>; export declare const optimizePortfolioInputSchema: z.ZodObject<{ vaultAddresses: z.ZodArray, "many">; chainId: z.ZodNumber; currentPositions: z.ZodArray; valueUsd: z.ZodNumber; }, "strip", z.ZodTypeAny, { vaultAddress: string; valueUsd: number; }, { vaultAddress: string; valueUsd: number; }>, "many">; strategy: z.ZodDefault>; rebalanceThreshold: z.ZodDefault; responseFormat: z.ZodDefault>; }, "strip", z.ZodTypeAny, { chainId: number; responseFormat: "detailed" | "quick" | "balanced"; vaultAddresses: string[]; currentPositions: { vaultAddress: string; valueUsd: number; }[]; strategy: "equal_weight" | "risk_parity" | "max_sharpe" | "min_variance"; rebalanceThreshold: number; }, { chainId: number; vaultAddresses: string[]; currentPositions: { vaultAddress: string; valueUsd: number; }[]; responseFormat?: "detailed" | "quick" | "balanced" | undefined; strategy?: "equal_weight" | "risk_parity" | "max_sharpe" | "min_variance" | undefined; rebalanceThreshold?: number | undefined; }>; export declare const getVaultCompositionInputSchema: z.ZodObject<{ vaultAddress: z.ZodEffects; chainId: z.ZodNumber; responseFormat: z.ZodDefault>; }, "strip", z.ZodTypeAny, { vaultAddress: string; chainId: number; responseFormat: "full" | "summary" | "protocols"; }, { vaultAddress: string; chainId: number; responseFormat?: "full" | "summary" | "protocols" | undefined; }>; export declare const getGlobalTvlInputSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; export declare const getIndexingStatusInputSchema: z.ZodObject<{ chainIds: z.ZodOptional>; }, "strip", z.ZodTypeAny, { chainIds?: number[] | undefined; }, { chainIds?: number[] | undefined; }>; export declare const listChainsInputSchema: z.ZodObject<{ isVisible: z.ZodOptional; pagination: z.ZodOptional; skip: z.ZodDefault; }, "strip", z.ZodTypeAny, { first: number; skip: number; }, { first?: number | undefined; skip?: number | undefined; }>>; }, "strip", z.ZodTypeAny, { pagination?: { first: number; skip: number; } | undefined; isVisible?: boolean | undefined; }, { pagination?: { first?: number | undefined; skip?: number | undefined; } | undefined; isVisible?: boolean | undefined; }>; export declare const listCuratorsInputSchema: z.ZodObject<{ isVisible: z.ZodOptional; pagination: z.ZodOptional; skip: z.ZodDefault; }, "strip", z.ZodTypeAny, { first: number; skip: number; }, { first?: number | undefined; skip?: number | undefined; }>>; }, "strip", z.ZodTypeAny, { pagination?: { first: number; skip: number; } | undefined; isVisible?: boolean | undefined; }, { pagination?: { first?: number | undefined; skip?: number | undefined; } | undefined; isVisible?: boolean | undefined; }>; export declare const getCuratorInputSchema: z.ZodObject<{ curatorId: z.ZodString; }, "strip", z.ZodTypeAny, { curatorId: string; }, { curatorId: string; }>; export declare const getAssetInputSchema: z.ZodObject<{ assetAddress: z.ZodEffects; chainId: z.ZodNumber; }, "strip", z.ZodTypeAny, { chainId: number; assetAddress: string; }, { chainId: number; assetAddress: string; }>; export declare const getHistoricalStateInputSchema: z.ZodObject<{ vaultAddress: z.ZodEffects; chainId: z.ZodNumber; timestamp: z.ZodNumber; }, "strip", z.ZodTypeAny, { vaultAddress: string; chainId: number; timestamp: number; }, { vaultAddress: string; chainId: number; timestamp: number; }>; /** * Type inference helpers */ export type QueryGraphQLInput = z.infer; export type GetVaultDataInput = z.infer; export type GetUserPortfolioInput = z.infer; export type SearchVaultsInput = z.infer; export type GetVaultPerformanceInput = z.infer; export type GetTransactionsInput = z.infer; export type CompareVaultsInput = z.infer; export type PriceHistoryInput = z.infer; export type ExportDataInput = z.infer; export type AnalyzeRiskInput = z.infer; export type AnalyzeRisksInput = z.infer; export type PredictYieldInput = z.infer; export type OptimizePortfolioInput = z.infer; export type GetVaultCompositionInput = z.infer; export type GetGlobalTvlInput = z.infer; export type GetIndexingStatusInput = z.infer; export type ListChainsInput = z.infer; export type ListCuratorsInput = z.infer; export type GetCuratorInput = z.infer; export type GetAssetInput = z.infer; export type GetHistoricalStateInput = z.infer; //# sourceMappingURL=validators.d.ts.map