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 GetApiV3NeuronsNeuronIdBallotsIncludeStatus: { readonly Unknown: "UNKNOWN"; readonly Unspecified: "UNSPECIFIED"; readonly Open: "OPEN"; readonly Rejected: "REJECTED"; readonly Adopted: "ADOPTED"; readonly Executed: "EXECUTED"; readonly Failed: "FAILED"; }; export type GetApiV3NeuronsNeuronIdBallotsIncludeStatus = ClosedEnum; export declare const GetApiV3NeuronsNeuronIdBallotsFormat: { readonly Json: "json"; readonly Csv: "csv"; }; export type GetApiV3NeuronsNeuronIdBallotsFormat = ClosedEnum; export declare const GetApiV3NeuronsNeuronIdBallotsIncludeVote: { readonly Zero: 0; readonly One: 1; readonly Two: 2; }; export type GetApiV3NeuronsNeuronIdBallotsIncludeVote = ClosedEnum; export declare const GetApiV3NeuronsNeuronIdBallotsIncludeTopic: { 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"; readonly Unknown: ""; }; export type GetApiV3NeuronsNeuronIdBallotsIncludeTopic = ClosedEnum; export type GetApiV3NeuronsNeuronIdBallotsRequest = { neuronId: number; /** * Proposal ID */ proposalId?: number | null | undefined; limit?: number | undefined; includeStatus?: Array | undefined; offset?: number | undefined; /** * Available values : proposal_id, topic, status, vote */ sortBy?: any | undefined; format?: GetApiV3NeuronsNeuronIdBallotsFormat | undefined; includeVote?: Array | undefined; maxBallotIndex?: number | null | undefined; includeTopic?: Array | undefined; }; /** @internal */ export declare const GetApiV3NeuronsNeuronIdBallotsIncludeStatus$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const GetApiV3NeuronsNeuronIdBallotsIncludeStatus$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 GetApiV3NeuronsNeuronIdBallotsIncludeStatus$ { /** @deprecated use `GetApiV3NeuronsNeuronIdBallotsIncludeStatus$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 `GetApiV3NeuronsNeuronIdBallotsIncludeStatus$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 GetApiV3NeuronsNeuronIdBallotsFormat$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const GetApiV3NeuronsNeuronIdBallotsFormat$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 GetApiV3NeuronsNeuronIdBallotsFormat$ { /** @deprecated use `GetApiV3NeuronsNeuronIdBallotsFormat$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Json: "json"; readonly Csv: "csv"; }>; /** @deprecated use `GetApiV3NeuronsNeuronIdBallotsFormat$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Json: "json"; readonly Csv: "csv"; }>; } /** @internal */ export declare const GetApiV3NeuronsNeuronIdBallotsIncludeVote$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const GetApiV3NeuronsNeuronIdBallotsIncludeVote$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 GetApiV3NeuronsNeuronIdBallotsIncludeVote$ { /** @deprecated use `GetApiV3NeuronsNeuronIdBallotsIncludeVote$inboundSchema` instead. */ const inboundSchema: z.ZodNativeEnum<{ readonly Zero: 0; readonly One: 1; readonly Two: 2; }>; /** @deprecated use `GetApiV3NeuronsNeuronIdBallotsIncludeVote$outboundSchema` instead. */ const outboundSchema: z.ZodNativeEnum<{ readonly Zero: 0; readonly One: 1; readonly Two: 2; }>; } /** @internal */ export declare const GetApiV3NeuronsNeuronIdBallotsIncludeTopic$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const GetApiV3NeuronsNeuronIdBallotsIncludeTopic$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 GetApiV3NeuronsNeuronIdBallotsIncludeTopic$ { /** @deprecated use `GetApiV3NeuronsNeuronIdBallotsIncludeTopic$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"; readonly Unknown: ""; }>; /** @deprecated use `GetApiV3NeuronsNeuronIdBallotsIncludeTopic$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"; readonly Unknown: ""; }>; } /** @internal */ export declare const GetApiV3NeuronsNeuronIdBallotsRequest$inboundSchema: z.ZodType; /** @internal */ export type GetApiV3NeuronsNeuronIdBallotsRequest$Outbound = { neuron_id: number; proposal_id: number | null; limit: number; include_status?: Array | undefined; offset: number; sort_by?: any; format: string; include_vote?: Array | undefined; max_ballot_index: number | null; include_topic?: Array | undefined; }; /** @internal */ export declare const GetApiV3NeuronsNeuronIdBallotsRequest$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 GetApiV3NeuronsNeuronIdBallotsRequest$ { /** @deprecated use `GetApiV3NeuronsNeuronIdBallotsRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GetApiV3NeuronsNeuronIdBallotsRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GetApiV3NeuronsNeuronIdBallotsRequest$Outbound` instead. */ type Outbound = GetApiV3NeuronsNeuronIdBallotsRequest$Outbound; } export declare function getApiV3NeuronsNeuronIdBallotsRequestToJSON(getApiV3NeuronsNeuronIdBallotsRequest: GetApiV3NeuronsNeuronIdBallotsRequest): string; export declare function getApiV3NeuronsNeuronIdBallotsRequestFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=getapiv3neuronsneuronidballots.d.ts.map