UNPKG

@coinbase/agentkit

Version:

Coinbase AgentKit core primitives

30 lines (29 loc) 948 B
import { z } from "zod"; /** * Input schema for get CAB action. */ export declare const GetCABSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{ type: z.ZodLiteral<"networkFilter">; tokenTickers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; networks: z.ZodArray<z.ZodNumber, "many">; }, "strip", z.ZodTypeAny, { type: "networkFilter"; networks: number[]; tokenTickers?: string[] | undefined; }, { type: "networkFilter"; networks: number[]; tokenTickers?: string[] | undefined; }>, z.ZodObject<{ type: z.ZodLiteral<"networkType">; tokenTickers: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; networkType: z.ZodEnum<["mainnet", "testnet"]>; }, "strip", z.ZodTypeAny, { type: "networkType"; networkType: "testnet" | "mainnet"; tokenTickers?: string[] | undefined; }, { type: "networkType"; networkType: "testnet" | "mainnet"; tokenTickers?: string[] | undefined; }>]>;