import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type GetWeightedIndexRequest = { /** * The list of weights to apply on the features selection to create the index */ weights: Array; /** * The list of features to include in the index */ featureCodes: Array; /** * user defined string used to name the weighted index */ indexLabel: string; /** * Start of transformed feature data window (YYYY-MM-DD) */ startDate?: string | null | undefined; /** * End of transformed feature data window (YYYY-MM-DD) */ endDate?: string | null | undefined; }; /** @internal */ export declare const GetWeightedIndexRequest$inboundSchema: z.ZodType; /** @internal */ export type GetWeightedIndexRequest$Outbound = { weights: Array; feature_codes: Array; index_label: string; start_date?: string | null | undefined; end_date?: string | null | undefined; }; /** @internal */ export declare const GetWeightedIndexRequest$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 GetWeightedIndexRequest$ { /** @deprecated use `GetWeightedIndexRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `GetWeightedIndexRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `GetWeightedIndexRequest$Outbound` instead. */ type Outbound = GetWeightedIndexRequest$Outbound; } export declare function getWeightedIndexRequestToJSON(getWeightedIndexRequest: GetWeightedIndexRequest): string; export declare function getWeightedIndexRequestFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=getweightedindex.d.ts.map