import * as z from "zod"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import * as models from "../index.js"; export declare const GetApiV4SubnetsSubnetSpecializationOrType: { readonly European: "european"; readonly Fiduciary: "fiduciary"; readonly Application: "application"; readonly System: "system"; }; export type GetApiV4SubnetsSubnetSpecializationOrType = ClosedEnum; export declare const GetApiV4SubnetsSubnetSpecialization: { readonly European: "european"; readonly Fiduciary: "fiduciary"; }; export type GetApiV4SubnetsSubnetSpecialization = ClosedEnum; export declare const SortBy: { readonly InstructionRate: "instruction_rate"; readonly MinusInstructionRate: "-instruction_rate"; readonly MemoryUsage: "memory_usage"; readonly MinusMemoryUsage: "-memory_usage"; readonly MessageExecutionRate: "message_execution_rate"; readonly MinusMessageExecutionRate: "-message_execution_rate"; readonly NakamotoCoefficientOverall: "nakamoto_coefficient_overall"; readonly MinusNakamotoCoefficientOverall: "-nakamoto_coefficient_overall"; readonly SubnetAuthorization: "subnet_authorization"; readonly MinusSubnetAuthorization: "-subnet_authorization"; readonly SubnetId: "subnet_id"; readonly MinusSubnetId: "-subnet_id"; readonly SubnetType: "subnet_type"; readonly MinusSubnetType: "-subnet_type"; readonly SubnetSpecialization: "subnet_specialization"; readonly MinusSubnetSpecialization: "-subnet_specialization"; readonly SubnetSpecializationOrType: "subnet_specialization_or_type"; readonly MinusSubnetSpecializationOrType: "-subnet_specialization_or_type"; readonly TotalNodes: "total_nodes"; readonly MinusTotalNodes: "-total_nodes"; readonly TotalCanisters: "total_canisters"; readonly MinusTotalCanisters: "-total_canisters"; readonly TotalCountries: "total_countries"; readonly MinusTotalCountries: "-total_countries"; }; export type SortBy = ClosedEnum; export declare const GetApiV4SubnetsFormat: { readonly Json: "json"; readonly Csv: "csv"; }; export type GetApiV4SubnetsFormat = ClosedEnum; export declare const GetApiV4SubnetsSubnetAuthorization: { readonly Public: "public"; readonly AuthorizedOnly: "authorized_only"; }; export type GetApiV4SubnetsSubnetAuthorization = ClosedEnum; export declare const GetApiV4SubnetsSubnetType: { readonly Application: "application"; readonly System: "system"; readonly VerifiedApplication: "verified_application"; }; export type GetApiV4SubnetsSubnetType = ClosedEnum; export type GetApiV4SubnetsRequest = { /** * Only match values after this ledger_canister_id */ after?: Array | undefined; /** * Subnet Specialization or Type */ subnetSpecializationOrType?: Array | undefined; limit?: number | undefined; /** * Subnet Specialization */ subnetSpecialization?: Array | undefined; sortBy?: SortBy | undefined; format?: GetApiV4SubnetsFormat | undefined; /** * Only match values before this ledger_canister_id */ before?: Array | undefined; /** * Subnet Authorization */ subnetAuthorization?: Array | undefined; /** * Include Replica Versions */ includeReplicaVersions?: boolean | undefined; /** * Subnet Type */ subnetType?: Array | undefined; /** * Data Center ID */ dcId?: string | null | undefined; }; export type GetApiV4SubnetsResponse = models.ErrorT | models.ListSubnetsResponse; /** @internal */ export declare const GetApiV4SubnetsSubnetSpecializationOrType$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const GetApiV4SubnetsSubnetSpecializationOrType$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace GetApiV4SubnetsSubnetSpecializationOrType$ { /** @deprecated use `GetApiV4SubnetsSubnetSpecializationOrType$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly European: "european"; readonly Fiduciary: "fiduciary"; readonly Application: "application"; readonly System: "system"; }>; /** @deprecated use `GetApiV4SubnetsSubnetSpecializationOrType$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly European: "european"; readonly Fiduciary: "fiduciary"; readonly Application: "application"; readonly System: "system"; }>; } /** @internal */ export declare const GetApiV4SubnetsSubnetSpecialization$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const GetApiV4SubnetsSubnetSpecialization$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace GetApiV4SubnetsSubnetSpecialization$ { /** @deprecated use `GetApiV4SubnetsSubnetSpecialization$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly European: "european"; readonly Fiduciary: "fiduciary"; }>; /** @deprecated use `GetApiV4SubnetsSubnetSpecialization$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly European: "european"; readonly Fiduciary: "fiduciary"; }>; } /** @internal */ export declare const SortBy$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const SortBy$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace SortBy$ { /** @deprecated use `SortBy$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly InstructionRate: "instruction_rate"; readonly MinusInstructionRate: "-instruction_rate"; readonly MemoryUsage: "memory_usage"; readonly MinusMemoryUsage: "-memory_usage"; readonly MessageExecutionRate: "message_execution_rate"; readonly MinusMessageExecutionRate: "-message_execution_rate"; readonly NakamotoCoefficientOverall: "nakamoto_coefficient_overall"; readonly MinusNakamotoCoefficientOverall: "-nakamoto_coefficient_overall"; readonly SubnetAuthorization: "subnet_authorization"; readonly MinusSubnetAuthorization: "-subnet_authorization"; readonly SubnetId: "subnet_id"; readonly MinusSubnetId: "-subnet_id"; readonly SubnetType: "subnet_type"; readonly MinusSubnetType: "-subnet_type"; readonly SubnetSpecialization: "subnet_specialization"; readonly MinusSubnetSpecialization: "-subnet_specialization"; readonly SubnetSpecializationOrType: "subnet_specialization_or_type"; readonly MinusSubnetSpecializationOrType: "-subnet_specialization_or_type"; readonly TotalNodes: "total_nodes"; readonly MinusTotalNodes: "-total_nodes"; readonly TotalCanisters: "total_canisters"; readonly MinusTotalCanisters: "-total_canisters"; readonly TotalCountries: "total_countries"; readonly MinusTotalCountries: "-total_countries"; }>; /** @deprecated use `SortBy$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly InstructionRate: "instruction_rate"; readonly MinusInstructionRate: "-instruction_rate"; readonly MemoryUsage: "memory_usage"; readonly MinusMemoryUsage: "-memory_usage"; readonly MessageExecutionRate: "message_execution_rate"; readonly MinusMessageExecutionRate: "-message_execution_rate"; readonly NakamotoCoefficientOverall: "nakamoto_coefficient_overall"; readonly MinusNakamotoCoefficientOverall: "-nakamoto_coefficient_overall"; readonly SubnetAuthorization: "subnet_authorization"; readonly MinusSubnetAuthorization: "-subnet_authorization"; readonly SubnetId: "subnet_id"; readonly MinusSubnetId: "-subnet_id"; readonly SubnetType: "subnet_type"; readonly MinusSubnetType: "-subnet_type"; readonly SubnetSpecialization: "subnet_specialization"; readonly MinusSubnetSpecialization: "-subnet_specialization"; readonly SubnetSpecializationOrType: "subnet_specialization_or_type"; readonly MinusSubnetSpecializationOrType: "-subnet_specialization_or_type"; readonly TotalNodes: "total_nodes"; readonly MinusTotalNodes: "-total_nodes"; readonly TotalCanisters: "total_canisters"; readonly MinusTotalCanisters: "-total_canisters"; readonly TotalCountries: "total_countries"; readonly MinusTotalCountries: "-total_countries"; }>; } /** @internal */ export declare const GetApiV4SubnetsFormat$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const GetApiV4SubnetsFormat$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace GetApiV4SubnetsFormat$ { /** @deprecated use `GetApiV4SubnetsFormat$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Json: "json"; readonly Csv: "csv"; }>; /** @deprecated use `GetApiV4SubnetsFormat$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Json: "json"; readonly Csv: "csv"; }>; } /** @internal */ export declare const GetApiV4SubnetsSubnetAuthorization$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const GetApiV4SubnetsSubnetAuthorization$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace GetApiV4SubnetsSubnetAuthorization$ { /** @deprecated use `GetApiV4SubnetsSubnetAuthorization$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Public: "public"; readonly AuthorizedOnly: "authorized_only"; }>; /** @deprecated use `GetApiV4SubnetsSubnetAuthorization$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Public: "public"; readonly AuthorizedOnly: "authorized_only"; }>; } /** @internal */ export declare const GetApiV4SubnetsSubnetType$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const GetApiV4SubnetsSubnetType$outboundSchema: z.ZodNativeEnum; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace GetApiV4SubnetsSubnetType$ { /** @deprecated use `GetApiV4SubnetsSubnetType$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Application: "application"; readonly System: "system"; readonly VerifiedApplication: "verified_application"; }>; /** @deprecated use `GetApiV4SubnetsSubnetType$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Application: "application"; readonly System: "system"; readonly VerifiedApplication: "verified_application"; }>; } /** @internal */ export declare const GetApiV4SubnetsRequest$inboundSchema: z.ZodType; /** @internal */ export type GetApiV4SubnetsRequest$Outbound = { after?: Array | undefined; subnet_specialization_or_type?: Array | undefined; limit: number; subnet_specialization?: Array | undefined; sort_by: string; format: string; before?: Array | undefined; subnet_authorization?: Array | undefined; include_replica_versions: boolean; subnet_type?: Array | undefined; dc_id: string | null; }; /** @internal */ export declare const GetApiV4SubnetsRequest$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 GetApiV4SubnetsRequest$ { /** @deprecated use `GetApiV4SubnetsRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GetApiV4SubnetsRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GetApiV4SubnetsRequest$Outbound` instead. */ type Outbound = GetApiV4SubnetsRequest$Outbound; } export declare function getApiV4SubnetsRequestToJSON(getApiV4SubnetsRequest: GetApiV4SubnetsRequest): string; export declare function getApiV4SubnetsRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetApiV4SubnetsResponse$inboundSchema: z.ZodType; /** @internal */ export type GetApiV4SubnetsResponse$Outbound = models.ErrorT$Outbound | models.ListSubnetsResponse$Outbound; /** @internal */ export declare const GetApiV4SubnetsResponse$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 GetApiV4SubnetsResponse$ { /** @deprecated use `GetApiV4SubnetsResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GetApiV4SubnetsResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GetApiV4SubnetsResponse$Outbound` instead. */ type Outbound = GetApiV4SubnetsResponse$Outbound; } export declare function getApiV4SubnetsResponseToJSON(getApiV4SubnetsResponse: GetApiV4SubnetsResponse): string; export declare function getApiV4SubnetsResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=getapiv4subnets.d.ts.map