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"; export declare const GetApiV3NeuronsNeuronIdRecentBallotsIncludeStatus: { readonly Unknown: "UNKNOWN"; readonly Unspecified: "UNSPECIFIED"; readonly Open: "OPEN"; readonly Rejected: "REJECTED"; readonly Adopted: "ADOPTED"; readonly Executed: "EXECUTED"; readonly Failed: "FAILED"; }; export type GetApiV3NeuronsNeuronIdRecentBallotsIncludeStatus = ClosedEnum; export declare const GetApiV3NeuronsNeuronIdRecentBallotsFormat: { readonly Json: "json"; readonly Csv: "csv"; }; export type GetApiV3NeuronsNeuronIdRecentBallotsFormat = ClosedEnum; export declare const GetApiV3NeuronsNeuronIdRecentBallotsIncludeVote: { readonly Zero: 0; readonly One: 1; readonly Two: 2; }; export type GetApiV3NeuronsNeuronIdRecentBallotsIncludeVote = ClosedEnum; export declare const GetApiV3NeuronsNeuronIdRecentBallotsIncludeTopic: { readonly TopicUnspecified: "TOPIC_UNSPECIFIED"; readonly TopicNeuronManagement: "TOPIC_NEURON_MANAGEMENT"; readonly TopicExchangeRate: "TOPIC_EXCHANGE_RATE"; readonly TopicNetworkEconomics: "TOPIC_NETWORK_ECONOMICS"; readonly TopicGovernance: "TOPIC_GOVERNANCE"; readonly TopicNodeAdmin: "TOPIC_NODE_ADMIN"; readonly TopicParticipantManagement: "TOPIC_PARTICIPANT_MANAGEMENT"; readonly TopicSubnetManagement: "TOPIC_SUBNET_MANAGEMENT"; readonly TopicNetworkCanisterManagement: "TOPIC_NETWORK_CANISTER_MANAGEMENT"; readonly TopicKyc: "TOPIC_KYC"; readonly TopicNodeProviderRewards: "TOPIC_NODE_PROVIDER_REWARDS"; readonly TopicSnsDecentralizationSale: "TOPIC_SNS_DECENTRALIZATION_SALE"; readonly TopicIcOsVersionDeployment: "TOPIC_IC_OS_VERSION_DEPLOYMENT"; readonly TopicIcOsVersionElection: "TOPIC_IC_OS_VERSION_ELECTION"; readonly TopicSnsAndCommunityFund: "TOPIC_SNS_AND_COMMUNITY_FUND"; readonly TopicApiBoundaryNodeManagement: "TOPIC_API_BOUNDARY_NODE_MANAGEMENT"; readonly TopicSubnetRental: "TOPIC_SUBNET_RENTAL"; readonly TopicProtocolCanisterManagement: "TOPIC_PROTOCOL_CANISTER_MANAGEMENT"; readonly TopicServiceNervousSystemManagement: "TOPIC_SERVICE_NERVOUS_SYSTEM_MANAGEMENT"; readonly TopicSystemCanisterManagement: "TOPIC_SYSTEM_CANISTER_MANAGEMENT"; readonly TopicApplicationCanisterManagement: "TOPIC_APPLICATION_CANISTER_MANAGEMENT"; }; export type GetApiV3NeuronsNeuronIdRecentBallotsIncludeTopic = ClosedEnum; export type GetApiV3NeuronsNeuronIdRecentBallotsRequest = { neuronId: number; /** * Proposal ID */ proposalId?: number | null | undefined; includeStatus?: Array | undefined; /** * Available values : proposal_id, topic, status, vote */ sortBy?: any | undefined; format?: GetApiV3NeuronsNeuronIdRecentBallotsFormat | undefined; includeVote?: Array | undefined; includeTopic?: Array | undefined; }; /** @internal */ export declare const GetApiV3NeuronsNeuronIdRecentBallotsIncludeStatus$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const GetApiV3NeuronsNeuronIdRecentBallotsIncludeStatus$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 GetApiV3NeuronsNeuronIdRecentBallotsIncludeStatus$ { /** @deprecated use `GetApiV3NeuronsNeuronIdRecentBallotsIncludeStatus$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Unknown: "UNKNOWN"; readonly Unspecified: "UNSPECIFIED"; readonly Open: "OPEN"; readonly Rejected: "REJECTED"; readonly Adopted: "ADOPTED"; readonly Executed: "EXECUTED"; readonly Failed: "FAILED"; }>; /** @deprecated use `GetApiV3NeuronsNeuronIdRecentBallotsIncludeStatus$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Unknown: "UNKNOWN"; readonly Unspecified: "UNSPECIFIED"; readonly Open: "OPEN"; readonly Rejected: "REJECTED"; readonly Adopted: "ADOPTED"; readonly Executed: "EXECUTED"; readonly Failed: "FAILED"; }>; } /** @internal */ export declare const GetApiV3NeuronsNeuronIdRecentBallotsFormat$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const GetApiV3NeuronsNeuronIdRecentBallotsFormat$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 GetApiV3NeuronsNeuronIdRecentBallotsFormat$ { /** @deprecated use `GetApiV3NeuronsNeuronIdRecentBallotsFormat$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Json: "json"; readonly Csv: "csv"; }>; /** @deprecated use `GetApiV3NeuronsNeuronIdRecentBallotsFormat$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Json: "json"; readonly Csv: "csv"; }>; } /** @internal */ export declare const GetApiV3NeuronsNeuronIdRecentBallotsIncludeVote$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const GetApiV3NeuronsNeuronIdRecentBallotsIncludeVote$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 GetApiV3NeuronsNeuronIdRecentBallotsIncludeVote$ { /** @deprecated use `GetApiV3NeuronsNeuronIdRecentBallotsIncludeVote$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Zero: 0; readonly One: 1; readonly Two: 2; }>; /** @deprecated use `GetApiV3NeuronsNeuronIdRecentBallotsIncludeVote$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Zero: 0; readonly One: 1; readonly Two: 2; }>; } /** @internal */ export declare const GetApiV3NeuronsNeuronIdRecentBallotsIncludeTopic$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const GetApiV3NeuronsNeuronIdRecentBallotsIncludeTopic$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 GetApiV3NeuronsNeuronIdRecentBallotsIncludeTopic$ { /** @deprecated use `GetApiV3NeuronsNeuronIdRecentBallotsIncludeTopic$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly TopicUnspecified: "TOPIC_UNSPECIFIED"; readonly TopicNeuronManagement: "TOPIC_NEURON_MANAGEMENT"; readonly TopicExchangeRate: "TOPIC_EXCHANGE_RATE"; readonly TopicNetworkEconomics: "TOPIC_NETWORK_ECONOMICS"; readonly TopicGovernance: "TOPIC_GOVERNANCE"; readonly TopicNodeAdmin: "TOPIC_NODE_ADMIN"; readonly TopicParticipantManagement: "TOPIC_PARTICIPANT_MANAGEMENT"; readonly TopicSubnetManagement: "TOPIC_SUBNET_MANAGEMENT"; readonly TopicNetworkCanisterManagement: "TOPIC_NETWORK_CANISTER_MANAGEMENT"; readonly TopicKyc: "TOPIC_KYC"; readonly TopicNodeProviderRewards: "TOPIC_NODE_PROVIDER_REWARDS"; readonly TopicSnsDecentralizationSale: "TOPIC_SNS_DECENTRALIZATION_SALE"; readonly TopicIcOsVersionDeployment: "TOPIC_IC_OS_VERSION_DEPLOYMENT"; readonly TopicIcOsVersionElection: "TOPIC_IC_OS_VERSION_ELECTION"; readonly TopicSnsAndCommunityFund: "TOPIC_SNS_AND_COMMUNITY_FUND"; readonly TopicApiBoundaryNodeManagement: "TOPIC_API_BOUNDARY_NODE_MANAGEMENT"; readonly TopicSubnetRental: "TOPIC_SUBNET_RENTAL"; readonly TopicProtocolCanisterManagement: "TOPIC_PROTOCOL_CANISTER_MANAGEMENT"; readonly TopicServiceNervousSystemManagement: "TOPIC_SERVICE_NERVOUS_SYSTEM_MANAGEMENT"; readonly TopicSystemCanisterManagement: "TOPIC_SYSTEM_CANISTER_MANAGEMENT"; readonly TopicApplicationCanisterManagement: "TOPIC_APPLICATION_CANISTER_MANAGEMENT"; }>; /** @deprecated use `GetApiV3NeuronsNeuronIdRecentBallotsIncludeTopic$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly TopicUnspecified: "TOPIC_UNSPECIFIED"; readonly TopicNeuronManagement: "TOPIC_NEURON_MANAGEMENT"; readonly TopicExchangeRate: "TOPIC_EXCHANGE_RATE"; readonly TopicNetworkEconomics: "TOPIC_NETWORK_ECONOMICS"; readonly TopicGovernance: "TOPIC_GOVERNANCE"; readonly TopicNodeAdmin: "TOPIC_NODE_ADMIN"; readonly TopicParticipantManagement: "TOPIC_PARTICIPANT_MANAGEMENT"; readonly TopicSubnetManagement: "TOPIC_SUBNET_MANAGEMENT"; readonly TopicNetworkCanisterManagement: "TOPIC_NETWORK_CANISTER_MANAGEMENT"; readonly TopicKyc: "TOPIC_KYC"; readonly TopicNodeProviderRewards: "TOPIC_NODE_PROVIDER_REWARDS"; readonly TopicSnsDecentralizationSale: "TOPIC_SNS_DECENTRALIZATION_SALE"; readonly TopicIcOsVersionDeployment: "TOPIC_IC_OS_VERSION_DEPLOYMENT"; readonly TopicIcOsVersionElection: "TOPIC_IC_OS_VERSION_ELECTION"; readonly TopicSnsAndCommunityFund: "TOPIC_SNS_AND_COMMUNITY_FUND"; readonly TopicApiBoundaryNodeManagement: "TOPIC_API_BOUNDARY_NODE_MANAGEMENT"; readonly TopicSubnetRental: "TOPIC_SUBNET_RENTAL"; readonly TopicProtocolCanisterManagement: "TOPIC_PROTOCOL_CANISTER_MANAGEMENT"; readonly TopicServiceNervousSystemManagement: "TOPIC_SERVICE_NERVOUS_SYSTEM_MANAGEMENT"; readonly TopicSystemCanisterManagement: "TOPIC_SYSTEM_CANISTER_MANAGEMENT"; readonly TopicApplicationCanisterManagement: "TOPIC_APPLICATION_CANISTER_MANAGEMENT"; }>; } /** @internal */ export declare const GetApiV3NeuronsNeuronIdRecentBallotsRequest$inboundSchema: z.ZodType; /** @internal */ export type GetApiV3NeuronsNeuronIdRecentBallotsRequest$Outbound = { neuron_id: number; proposal_id: number | null; include_status?: Array | undefined; sort_by?: any; format: string; include_vote?: Array | undefined; include_topic?: Array | undefined; }; /** @internal */ export declare const GetApiV3NeuronsNeuronIdRecentBallotsRequest$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 GetApiV3NeuronsNeuronIdRecentBallotsRequest$ { /** @deprecated use `GetApiV3NeuronsNeuronIdRecentBallotsRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GetApiV3NeuronsNeuronIdRecentBallotsRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GetApiV3NeuronsNeuronIdRecentBallotsRequest$Outbound` instead. */ type Outbound = GetApiV3NeuronsNeuronIdRecentBallotsRequest$Outbound; } export declare function getApiV3NeuronsNeuronIdRecentBallotsRequestToJSON(getApiV3NeuronsNeuronIdRecentBallotsRequest: GetApiV3NeuronsNeuronIdRecentBallotsRequest): string; export declare function getApiV3NeuronsNeuronIdRecentBallotsRequestFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=getapiv3neuronsneuronidrecentballots.d.ts.map