import * as z from "zod"; import { Result as SafeParseResult } from "../types/fp.js"; import { DataCenter, DataCenter$Outbound } from "./datacenter.js"; import { DecentralizationScore, DecentralizationScore$Outbound } from "./decentralizationscore.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; import { ReplicaVersion, ReplicaVersion$Outbound } from "./replicaversion.js"; export type Subnet = { /** * Decentralization Score */ decentralizationScore?: DecentralizationScore | undefined; /** * Display Name */ displayName?: string | undefined; /** * Total Nodes */ totalNodes?: string | undefined; /** * Instruction Rate */ instructionRate?: string | undefined; /** * Memory Usage */ memoryUsage?: string | undefined; /** * Running Canisters */ runningCanisters?: string | undefined; /** * Subnet Specialization */ subnetSpecialization?: string | undefined; /** * Replica Versions */ replicaVersions?: Array | undefined; /** * Total Canisters */ totalCanisters?: string | undefined; /** * Data Centers */ dataCenters?: Array | undefined; /** * Total Countries */ totalCountries?: string | undefined; /** * Subnet ID */ subnetId?: string | undefined; /** * Subnet Authorization */ subnetAuthorization?: string | undefined; /** * Up Nodes */ upNodes?: string | undefined; /** * Message Execution */ messageExecutionRate?: string | undefined; /** * Total Node Providers */ totalNodeProviders?: string | undefined; /** * Subnet Type */ subnetType?: string | undefined; /** * Stopped Canisters */ stoppedCanisters?: string | undefined; }; /** @internal */ export declare const Subnet$inboundSchema: z.ZodType; /** @internal */ export type Subnet$Outbound = { decentralization_score?: DecentralizationScore$Outbound | undefined; display_name?: string | undefined; total_nodes?: string | undefined; instruction_rate?: string | undefined; memory_usage?: string | undefined; running_canisters?: string | undefined; subnet_specialization?: string | undefined; replica_versions?: Array | undefined; total_canisters?: string | undefined; data_centers?: Array | undefined; total_countries?: string | undefined; subnet_id?: string | undefined; subnet_authorization?: string | undefined; up_nodes?: string | undefined; message_execution_rate?: string | undefined; total_node_providers?: string | undefined; subnet_type?: string | undefined; stopped_canisters?: string | undefined; }; /** @internal */ export declare const Subnet$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 Subnet$ { /** @deprecated use `Subnet$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `Subnet$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `Subnet$Outbound` instead. */ type Outbound = Subnet$Outbound; } export declare function subnetToJSON(subnet: Subnet): string; export declare function subnetFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=subnet.d.ts.map