import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { Tick, Tick$Outbound } from "./tick.js"; export type Contract = { assetSymbol: string; symbol: string; name: string; lastTick?: Tick | null | undefined; }; /** @internal */ export declare const Contract$inboundSchema: z.ZodType; /** @internal */ export type Contract$Outbound = { asset_symbol: string; symbol: string; name: string; last_tick?: Tick$Outbound | null | undefined; }; /** @internal */ export declare const Contract$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 Contract$ { /** @deprecated use `Contract$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Contract$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Contract$Outbound` instead. */ type Outbound = Contract$Outbound; } export declare function contractToJSON(contract: Contract): string; export declare function contractFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=contract.d.ts.map