import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { FormFieldOptionGroup, FormFieldOptionGroup$Outbound } from "./formfieldoptiongroup.js"; import { SimpleFormFieldOption, SimpleFormFieldOption$Outbound } from "./simpleformfieldoption.js"; export type FormFieldOption = SimpleFormFieldOption | FormFieldOptionGroup; /** @internal */ export declare const FormFieldOption$inboundSchema: z.ZodType; /** @internal */ export type FormFieldOption$Outbound = SimpleFormFieldOption$Outbound | FormFieldOptionGroup$Outbound; /** @internal */ export declare const FormFieldOption$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 FormFieldOption$ { /** @deprecated use `FormFieldOption$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `FormFieldOption$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `FormFieldOption$Outbound` instead. */ type Outbound = FormFieldOption$Outbound; } export declare function formFieldOptionToJSON(formFieldOption: FormFieldOption): string; export declare function formFieldOptionFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=formfieldoption.d.ts.map