import * as z from "zod"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; export type Currency = { /** * Currency Id, has format `ETHEREUM:${token}` or `ETHEREUM:${token}:${tokenId}` */ currencyId: string; symbol: string; abbreviation?: string | undefined; /** * Alias to real coin, 'usd' means 1:1 to USD */ alias?: string | undefined; rate?: string | undefined; /** * Number of decimals */ decimals: number; }; /** @internal */ export declare const Currency$inboundSchema: z.ZodType; /** @internal */ export type Currency$Outbound = { currencyId: string; symbol: string; abbreviation?: string | undefined; alias?: string | undefined; rate?: string | undefined; decimals: number; }; /** @internal */ export declare const Currency$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace Currency$ { /** @deprecated use `Currency$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Currency$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Currency$Outbound` instead. */ type Outbound = Currency$Outbound; } export declare function currencyToJSON(currency: Currency): string; export declare function currencyFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=currency.d.ts.map