sei-agent-kit
Version:
A package for building AI agents on the SEI blockchain
57 lines • 1.66 kB
TypeScript
import { StructuredTool } from "langchain/tools";
import { SeiAgentKit } from "../../agent";
import { CancelOrderReturnType } from "../../../node_modules/citrex-sdk/lib/types.js";
import { z } from "zod";
declare const CitrexCancelOrdersInputSchema: z.ZodObject<{
orders: z.ZodArray<z.ZodObject<{
orderId: z.ZodString;
productId: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
productId: number;
orderId: string;
}, {
productId: number;
orderId: string;
}>, "many">;
}, "strip", z.ZodTypeAny, {
orders: {
productId: number;
orderId: string;
}[];
}, {
orders: {
productId: number;
orderId: string;
}[];
}>;
export declare class SeiCitrexCancelOrdersTool extends StructuredTool<typeof CitrexCancelOrdersInputSchema> {
private readonly seiKit;
name: string;
description: string;
schema: z.ZodObject<{
orders: z.ZodArray<z.ZodObject<{
orderId: z.ZodString;
productId: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
productId: number;
orderId: string;
}, {
productId: number;
orderId: string;
}>, "many">;
}, "strip", z.ZodTypeAny, {
orders: {
productId: number;
orderId: string;
}[];
}, {
orders: {
productId: number;
orderId: string;
}[];
}>;
constructor(seiKit: SeiAgentKit);
_call(input: z.infer<typeof CitrexCancelOrdersInputSchema>): Promise<CancelOrderReturnType[] | undefined>;
}
export {};
//# sourceMappingURL=cancelOrders.d.ts.map