import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'; import { type Account, type Near } from 'near-api-js'; import { z } from 'zod'; import { type Pool, type RefSwapByOutputAction, type Result } from './utils'; declare const FungibleTokenMetadataSchema: z.ZodObject<{ spec: z.ZodString; name: z.ZodString; symbol: z.ZodString; icon: z.ZodNullable; reference: z.ZodNullable; reference_hash: z.ZodNullable; decimals: z.ZodNumber; }, "strip", z.ZodTypeAny, { symbol: string; spec: string; name: string; icon: string | null; reference: string | null; reference_hash: string | null; decimals: number; }, { symbol: string; spec: string; name: string; icon: string | null; reference: string | null; reference_hash: string | null; decimals: number; }>; type FungibleTokenMetadata = z.infer; export declare const getFungibleTokenContractMetadataResult: (fungibleTokenContractId: string, connection: Near) => Promise>; type TokenMetadata = { id: string; metadata: FungibleTokenMetadata; }; type RefFinanceEstimate = { estimate: string; pool: Pool; outputToken: string; inputToken: string; }; export declare const toReadableNumber: (decimals: number, number?: string) => string; export declare const refFinanceGetEstimate: (tokenIn: TokenMetadata, tokenOut: TokenMetadata, pool: Pool, amountIn: string) => Promise>; export declare const refFinanceGetPoolsInfo: (connection: Near) => Promise>; export declare const executeRefSwap: (connection: Near, accountId: string, tokenIn: Account, tokenAmountIn: string, actions: RefSwapByOutputAction[]) => Promise>; export declare const createMcpServer: (keyDir: string) => Promise; export declare function runMcpServer(keystorePath?: string, remote?: boolean, port?: number): Promise; export {}; //# sourceMappingURL=services.d.ts.map