import { z } from 'zod'; import { type ParseResult } from '../../lib/zod'; import { type CopyContext } from '../../context'; import { type DeserializedRecord } from '../../serialization'; import { ControlDefinition, type Resolvable, type SchemaType } from '../definition'; import { DefaultControlInstance, type ControlInstanceArgs } from '../instance'; import { ControlDefinitionVisitor } from '../visitor'; type Option = { readonly value: T; readonly label: string; }; type OptionList = readonly [Option, ...Option[]]; type Config = { readonly options: OptionList; readonly defaultValue?: T; readonly label?: string; readonly labelOrientation?: 'horizontal' | 'vertical'; readonly description?: string; }; type ItemType = C extends Config ? Item : never; type DataType = undefined extends C['defaultValue'] ? ItemType | undefined : ItemType; type ValueType = DataType; type ResolvedValueType = ValueType; declare class Definition extends ControlDefinition, ValueType, ResolvedValueType> { static readonly type: "makeswift::controls::select"; static schema(item: SchemaType, data: SchemaType, defaultValue: SchemaType): { type: z.ZodLiteral<"makeswift::controls::select">; data: SchemaType; value: SchemaType; resolvedValue: SchemaType; config: z.ZodObject<{ options: z.ZodArray; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>]: z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { [k_1_1 in keyof z.objectUtil.addQuestionMarks; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>]: z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>, "options" | (undefined extends V ? never : "defaultValue")>]: z.objectUtil.addQuestionMarks; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>]: z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>, "options" | (undefined extends V ? never : "defaultValue")>[k_1_1]; }, { [k_2_1 in keyof z.baseObjectInputType<{ options: z.ZodArray; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>]: z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>]: z.baseObjectInputType<{ options: z.ZodArray; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>]: z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>[k_2_1]; }>; definition: z.ZodObject<{ type: z.ZodLiteral<"makeswift::controls::select">; config: z.ZodObject<{ options: z.ZodArray; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>]: z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { [k_1_1 in keyof z.objectUtil.addQuestionMarks; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>]: z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>, "options" | (undefined extends V ? never : "defaultValue")>]: z.objectUtil.addQuestionMarks; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>]: z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>, "options" | (undefined extends V ? never : "defaultValue")>[k_1_1]; }, { [k_2_1 in keyof z.baseObjectInputType<{ options: z.ZodArray; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>]: z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>]: z.baseObjectInputType<{ options: z.ZodArray; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>]: z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>[k_2_1]; }>; }, "strip", z.ZodTypeAny, { [k_1_2 in keyof z.objectUtil.addQuestionMarks; config: z.ZodObject<{ options: z.ZodArray; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>]: z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { [k_1_1 in keyof z.objectUtil.addQuestionMarks; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>]: z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>, "options" | (undefined extends V ? never : "defaultValue")>]: z.objectUtil.addQuestionMarks; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>]: z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>, "options" | (undefined extends V ? never : "defaultValue")>[k_1_1]; }, { [k_2_1 in keyof z.baseObjectInputType<{ options: z.ZodArray; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>]: z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>]: z.baseObjectInputType<{ options: z.ZodArray; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>]: z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>[k_2_1]; }>; }>, "type" | (undefined extends { [k_1_1 in keyof z.objectUtil.addQuestionMarks; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>]: z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>, "options" | (undefined extends V ? never : "defaultValue")>]: z.objectUtil.addQuestionMarks; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>]: z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>, "options" | (undefined extends V ? never : "defaultValue")>[k_1_1]; } ? never : "config")>]: z.objectUtil.addQuestionMarks; config: z.ZodObject<{ options: z.ZodArray; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>]: z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { [k_1_1 in keyof z.objectUtil.addQuestionMarks; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>]: z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>, "options" | (undefined extends V ? never : "defaultValue")>]: z.objectUtil.addQuestionMarks; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>]: z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>, "options" | (undefined extends V ? never : "defaultValue")>[k_1_1]; }, { [k_2_1 in keyof z.baseObjectInputType<{ options: z.ZodArray; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>]: z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>]: z.baseObjectInputType<{ options: z.ZodArray; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>]: z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>[k_2_1]; }>; }>, "type" | (undefined extends { [k_1_1 in keyof z.objectUtil.addQuestionMarks; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>]: z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>, "options" | (undefined extends V ? never : "defaultValue")>]: z.objectUtil.addQuestionMarks; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>]: z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>, "options" | (undefined extends V ? never : "defaultValue")>[k_1_1]; } ? never : "config")>[k_1_2]; }, { [k_2_2 in keyof z.baseObjectInputType<{ type: z.ZodLiteral<"makeswift::controls::select">; config: z.ZodObject<{ options: z.ZodArray; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>]: z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { [k_1_1 in keyof z.objectUtil.addQuestionMarks; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>]: z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>, "options" | (undefined extends V ? never : "defaultValue")>]: z.objectUtil.addQuestionMarks; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>]: z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>, "options" | (undefined extends V ? never : "defaultValue")>[k_1_1]; }, { [k_2_1 in keyof z.baseObjectInputType<{ options: z.ZodArray; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>]: z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>]: z.baseObjectInputType<{ options: z.ZodArray; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>]: z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>[k_2_1]; }>; }>]: z.baseObjectInputType<{ type: z.ZodLiteral<"makeswift::controls::select">; config: z.ZodObject<{ options: z.ZodArray; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>]: z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { [k_1_1 in keyof z.objectUtil.addQuestionMarks; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>]: z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>, "options" | (undefined extends V ? never : "defaultValue")>]: z.objectUtil.addQuestionMarks; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>]: z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>, "options" | (undefined extends V ? never : "defaultValue")>[k_1_1]; }, { [k_2_1 in keyof z.baseObjectInputType<{ options: z.ZodArray; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>]: z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>]: z.baseObjectInputType<{ options: z.ZodArray; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>]: z.objectUtil.addQuestionMarks; label: z.ZodString; }>, "label" | (undefined extends T ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>[k_2_1]; }>; }>[k_2_2]; }>; }; static deserialize(data: DeserializedRecord): SelectDefinition; get controlType(): "makeswift::controls::select"; get schema(): { type: z.ZodLiteral<"makeswift::controls::select">; data: SchemaType>; value: SchemaType>; resolvedValue: SchemaType>; config: z.ZodObject<{ options: z.ZodArray>; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>]: z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType | undefined>; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { [k_1_1 in keyof z.objectUtil.addQuestionMarks>; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>]: z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType | undefined>; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>, "options" | (undefined extends ItemType | undefined ? never : "defaultValue")>]: z.objectUtil.addQuestionMarks>; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>]: z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType | undefined>; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>, "options" | (undefined extends ItemType | undefined ? never : "defaultValue")>[k_1_1]; }, { [k_2_1 in keyof z.baseObjectInputType<{ options: z.ZodArray>; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>]: z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType | undefined>; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>]: z.baseObjectInputType<{ options: z.ZodArray>; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>]: z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType | undefined>; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>[k_2_1]; }>; definition: z.ZodObject<{ type: z.ZodLiteral<"makeswift::controls::select">; config: z.ZodObject<{ options: z.ZodArray>; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>]: z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType | undefined>; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { [k_1_1 in keyof z.objectUtil.addQuestionMarks>; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>]: z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType | undefined>; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>, "options" | (undefined extends ItemType | undefined ? never : "defaultValue")>]: z.objectUtil.addQuestionMarks>; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>]: z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType | undefined>; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>, "options" | (undefined extends ItemType | undefined ? never : "defaultValue")>[k_1_1]; }, { [k_2_1 in keyof z.baseObjectInputType<{ options: z.ZodArray>; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>]: z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType | undefined>; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>]: z.baseObjectInputType<{ options: z.ZodArray>; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>]: z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType | undefined>; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>[k_2_1]; }>; }, "strip", z.ZodTypeAny, { [k_1_2 in keyof z.objectUtil.addQuestionMarks; config: z.ZodObject<{ options: z.ZodArray>; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>]: z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType | undefined>; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { [k_1_1 in keyof z.objectUtil.addQuestionMarks>; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>]: z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType | undefined>; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>, "options" | (undefined extends ItemType | undefined ? never : "defaultValue")>]: z.objectUtil.addQuestionMarks>; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>]: z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType | undefined>; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>, "options" | (undefined extends ItemType | undefined ? never : "defaultValue")>[k_1_1]; }, { [k_2_1 in keyof z.baseObjectInputType<{ options: z.ZodArray>; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>]: z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType | undefined>; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>]: z.baseObjectInputType<{ options: z.ZodArray>; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>]: z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType | undefined>; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>[k_2_1]; }>; }>, "type" | (undefined extends { [k_1_1 in keyof z.objectUtil.addQuestionMarks>; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>]: z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType | undefined>; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>, "options" | (undefined extends ItemType | undefined ? never : "defaultValue")>]: z.objectUtil.addQuestionMarks>; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>]: z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType | undefined>; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>, "options" | (undefined extends ItemType | undefined ? never : "defaultValue")>[k_1_1]; } ? never : "config")>]: z.objectUtil.addQuestionMarks; config: z.ZodObject<{ options: z.ZodArray>; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>]: z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType | undefined>; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { [k_1_1 in keyof z.objectUtil.addQuestionMarks>; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>]: z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType | undefined>; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>, "options" | (undefined extends ItemType | undefined ? never : "defaultValue")>]: z.objectUtil.addQuestionMarks>; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>]: z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType | undefined>; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>, "options" | (undefined extends ItemType | undefined ? never : "defaultValue")>[k_1_1]; }, { [k_2_1 in keyof z.baseObjectInputType<{ options: z.ZodArray>; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>]: z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType | undefined>; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>]: z.baseObjectInputType<{ options: z.ZodArray>; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>]: z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType | undefined>; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>[k_2_1]; }>; }>, "type" | (undefined extends { [k_1_1 in keyof z.objectUtil.addQuestionMarks>; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>]: z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType | undefined>; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>, "options" | (undefined extends ItemType | undefined ? never : "defaultValue")>]: z.objectUtil.addQuestionMarks>; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>]: z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType | undefined>; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>, "options" | (undefined extends ItemType | undefined ? never : "defaultValue")>[k_1_1]; } ? never : "config")>[k_1_2]; }, { [k_2_2 in keyof z.baseObjectInputType<{ type: z.ZodLiteral<"makeswift::controls::select">; config: z.ZodObject<{ options: z.ZodArray>; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>]: z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType | undefined>; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { [k_1_1 in keyof z.objectUtil.addQuestionMarks>; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>]: z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType | undefined>; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>, "options" | (undefined extends ItemType | undefined ? never : "defaultValue")>]: z.objectUtil.addQuestionMarks>; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>]: z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType | undefined>; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>, "options" | (undefined extends ItemType | undefined ? never : "defaultValue")>[k_1_1]; }, { [k_2_1 in keyof z.baseObjectInputType<{ options: z.ZodArray>; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>]: z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType | undefined>; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>]: z.baseObjectInputType<{ options: z.ZodArray>; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>]: z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType | undefined>; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>[k_2_1]; }>; }>]: z.baseObjectInputType<{ type: z.ZodLiteral<"makeswift::controls::select">; config: z.ZodObject<{ options: z.ZodArray>; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>]: z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType | undefined>; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }, "strip", z.ZodTypeAny, { [k_1_1 in keyof z.objectUtil.addQuestionMarks>; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>]: z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType | undefined>; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>, "options" | (undefined extends ItemType | undefined ? never : "defaultValue")>]: z.objectUtil.addQuestionMarks>; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>]: z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType | undefined>; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>, "options" | (undefined extends ItemType | undefined ? never : "defaultValue")>[k_1_1]; }, { [k_2_1 in keyof z.baseObjectInputType<{ options: z.ZodArray>; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>]: z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType | undefined>; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>]: z.baseObjectInputType<{ options: z.ZodArray>; label: z.ZodString; }, "strip", z.ZodTypeAny, { [k_1 in keyof z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>]: z.objectUtil.addQuestionMarks>; label: z.ZodString; }>, "label" | (undefined extends ItemType ? never : "value")>[k_1]; }, { [k_2 in keyof z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>]: z.baseObjectInputType<{ value: SchemaType>; label: z.ZodString; }>[k_2]; }>, "atleastone">; defaultValue: SchemaType | undefined>; label: z.ZodOptional; labelOrientation: z.ZodOptional, z.ZodLiteral<"vertical">]>>; description: z.ZodOptional; }>[k_2_1]; }>; }>[k_2_2]; }>; }; get itemSchema(): SchemaType>; get dataSchema(): SchemaType>; safeParse(data: unknown | undefined): ParseResult | undefined>; fromData(data: DataType | undefined): ValueType | undefined; toData(value: ValueType): DataType; copyData(data: DataType | undefined, _context: CopyContext): DataType | undefined; resolveValue(data: DataType | undefined): Resolvable | undefined>; createInstance(args: ControlInstanceArgs): DefaultControlInstance; accept(visitor: ControlDefinitionVisitor, ...args: unknown[]): R; } export declare class SelectDefinition extends Definition { } type UserConfig['defaultValue']> = Config & { defaultValue?: D; }; type NormedConfig['defaultValue']> = Config & (undefined extends D ? { readonly defaultValue?: T; } : { readonly defaultValue: T; }); export declare function Select['defaultValue']>(config: UserConfig & { readonly options: OptionList; }): SelectDefinition>; export { type Config as SelectConfig }; //# sourceMappingURL=select.d.ts.map