import * as z from "zod/v3";
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 = (FormFieldOptionGroup & {
    optionType: "group";
}) | (SimpleFormFieldOption & {
    optionType: "simple";
});
/** @internal */
export declare const FormFieldOption$inboundSchema: z.ZodType<FormFieldOption, z.ZodTypeDef, unknown>;
/** @internal */
export type FormFieldOption$Outbound = (FormFieldOptionGroup$Outbound & {
    option_type: "group";
}) | (SimpleFormFieldOption$Outbound & {
    option_type: "simple";
});
/** @internal */
export declare const FormFieldOption$outboundSchema: z.ZodType<FormFieldOption$Outbound, z.ZodTypeDef, FormFieldOption>;
export declare function formFieldOptionToJSON(formFieldOption: FormFieldOption): string;
export declare function formFieldOptionFromJSON(jsonString: string): SafeParseResult<FormFieldOption, SDKValidationError>;
//# sourceMappingURL=formfieldoption.d.ts.map