import { FormField } from "@inato-form/core"; import type { Array } from "effect"; import { Schema } from "effect"; interface RadioGroupFC extends React.FC<{ label?: React.ReactNode; placeholder?: string | undefined; className?: string; options: ReadonlyArray<{ label: React.ReactNode; value: Value; }>; }> { } declare const RadioGroup_base: import("effect/Context").TagClass>> & { make: (props: { schema: S; defaultValue: S["Encoded"]; }) => { readonly tag: import("effect/Context").Tag>>; readonly schema: S; readonly defaultValue: S["Encoded"] | typeof FormField.NoDefaultValue; decorate>(): { readonly tag: import("effect/Context").Tag>; readonly schema: S; readonly defaultValue: S["Encoded"] | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: S; readonly defaultValue: S["Encoded"] | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: S; readonly defaultValue: S["Encoded"] | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: S; readonly defaultValue: S["Encoded"] | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: S; readonly defaultValue: S["Encoded"] | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: S; readonly defaultValue: S["Encoded"] | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: S; readonly defaultValue: S["Encoded"] | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: S; readonly defaultValue: S["Encoded"] | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: S; readonly defaultValue: S["Encoded"] | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: S; readonly defaultValue: S["Encoded"] | typeof FormField.NoDefaultValue; decorate(): /*elided*/ any; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: S["Encoded"]) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: S["Encoded"]) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: S["Encoded"]) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: S["Encoded"]) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: S["Encoded"]) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: S["Encoded"]) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: S["Encoded"]) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: S["Encoded"]) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: S["Encoded"]) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: S["Encoded"]) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: S["Encoded"]) => void; withoutDefaultValue?: () => void; }): void; }; makeRequired: (props: { schema: S; }) => { readonly tag: import("effect/Context").Tag>>; readonly schema: S; readonly defaultValue: typeof FormField.NoDefaultValue | S["Encoded"]; decorate>(): { readonly tag: import("effect/Context").Tag>; readonly schema: S; readonly defaultValue: typeof FormField.NoDefaultValue | S["Encoded"]; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: S; readonly defaultValue: typeof FormField.NoDefaultValue | S["Encoded"]; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: S; readonly defaultValue: typeof FormField.NoDefaultValue | S["Encoded"]; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: S; readonly defaultValue: typeof FormField.NoDefaultValue | S["Encoded"]; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: S; readonly defaultValue: typeof FormField.NoDefaultValue | S["Encoded"]; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: S; readonly defaultValue: typeof FormField.NoDefaultValue | S["Encoded"]; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: S; readonly defaultValue: typeof FormField.NoDefaultValue | S["Encoded"]; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: S; readonly defaultValue: typeof FormField.NoDefaultValue | S["Encoded"]; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: S; readonly defaultValue: typeof FormField.NoDefaultValue | S["Encoded"]; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: S; readonly defaultValue: typeof FormField.NoDefaultValue | S["Encoded"]; decorate(): /*elided*/ any; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: S["Encoded"]) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: S["Encoded"]) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: S["Encoded"]) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: S["Encoded"]) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: S["Encoded"]) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: S["Encoded"]) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: S["Encoded"]) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: S["Encoded"]) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: S["Encoded"]) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: S["Encoded"]) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: S["Encoded"]) => void; withoutDefaultValue?: () => void; }): void; }; layerUncontrolled: (component: RadioGroupFC) => import("effect/Layer").Layer; layerControlled: (component: RadioGroupFC) => import("effect/Layer").Layer; }; export declare class RadioGroup extends RadioGroup_base { static Required: >(...literals: Literals) => { readonly tag: import("effect/Context").Tag>>; readonly schema: Schema.Literal<[...Literals]>; readonly defaultValue: [...Literals][number] | typeof FormField.NoDefaultValue; decorate>(): { readonly tag: import("effect/Context").Tag>; readonly schema: Schema.Literal<[...Literals]>; readonly defaultValue: [...Literals][number] | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: Schema.Literal<[...Literals]>; readonly defaultValue: [...Literals][number] | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: Schema.Literal<[...Literals]>; readonly defaultValue: [...Literals][number] | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: Schema.Literal<[...Literals]>; readonly defaultValue: [...Literals][number] | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: Schema.Literal<[...Literals]>; readonly defaultValue: [...Literals][number] | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: Schema.Literal<[...Literals]>; readonly defaultValue: [...Literals][number] | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: Schema.Literal<[...Literals]>; readonly defaultValue: [...Literals][number] | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: Schema.Literal<[...Literals]>; readonly defaultValue: [...Literals][number] | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: Schema.Literal<[...Literals]>; readonly defaultValue: [...Literals][number] | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: Schema.Literal<[...Literals]>; readonly defaultValue: [...Literals][number] | typeof FormField.NoDefaultValue; decorate(): /*elided*/ any; getDefaultValue(): import("effect/Option").Option<[...Literals][number]>; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: [...Literals][number]) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option<[...Literals][number]>; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: [...Literals][number]) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option<[...Literals][number]>; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: [...Literals][number]) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option<[...Literals][number]>; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: [...Literals][number]) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option<[...Literals][number]>; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: [...Literals][number]) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option<[...Literals][number]>; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: [...Literals][number]) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option<[...Literals][number]>; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: [...Literals][number]) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option<[...Literals][number]>; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: [...Literals][number]) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option<[...Literals][number]>; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: [...Literals][number]) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option<[...Literals][number]>; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: [...Literals][number]) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option<[...Literals][number]>; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: [...Literals][number]) => void; withoutDefaultValue?: () => void; }): void; }; static Optional: >(...literals: Literals) => { readonly tag: import("effect/Context").Tag>>; readonly schema: Schema.OptionFromNullOr>; readonly defaultValue: [...Literals][number] | typeof FormField.NoDefaultValue | null; decorate>(): { readonly tag: import("effect/Context").Tag>; readonly schema: Schema.OptionFromNullOr>; readonly defaultValue: [...Literals][number] | typeof FormField.NoDefaultValue | null; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: Schema.OptionFromNullOr>; readonly defaultValue: [...Literals][number] | typeof FormField.NoDefaultValue | null; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: Schema.OptionFromNullOr>; readonly defaultValue: [...Literals][number] | typeof FormField.NoDefaultValue | null; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: Schema.OptionFromNullOr>; readonly defaultValue: [...Literals][number] | typeof FormField.NoDefaultValue | null; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: Schema.OptionFromNullOr>; readonly defaultValue: [...Literals][number] | typeof FormField.NoDefaultValue | null; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: Schema.OptionFromNullOr>; readonly defaultValue: [...Literals][number] | typeof FormField.NoDefaultValue | null; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: Schema.OptionFromNullOr>; readonly defaultValue: [...Literals][number] | typeof FormField.NoDefaultValue | null; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: Schema.OptionFromNullOr>; readonly defaultValue: [...Literals][number] | typeof FormField.NoDefaultValue | null; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: Schema.OptionFromNullOr>; readonly defaultValue: [...Literals][number] | typeof FormField.NoDefaultValue | null; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: Schema.OptionFromNullOr>; readonly defaultValue: [...Literals][number] | typeof FormField.NoDefaultValue | null; decorate(): /*elided*/ any; getDefaultValue(): import("effect/Option").Option<[...Literals][number] | null>; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: [...Literals][number] | null) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option<[...Literals][number] | null>; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: [...Literals][number] | null) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option<[...Literals][number] | null>; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: [...Literals][number] | null) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option<[...Literals][number] | null>; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: [...Literals][number] | null) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option<[...Literals][number] | null>; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: [...Literals][number] | null) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option<[...Literals][number] | null>; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: [...Literals][number] | null) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option<[...Literals][number] | null>; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: [...Literals][number] | null) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option<[...Literals][number] | null>; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: [...Literals][number] | null) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option<[...Literals][number] | null>; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: [...Literals][number] | null) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option<[...Literals][number] | null>; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: [...Literals][number] | null) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option<[...Literals][number] | null>; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: [...Literals][number] | null) => void; withoutDefaultValue?: () => void; }): void; }; } export {}; //# sourceMappingURL=RadioGroup.d.ts.map