import { FormField } from "@inato-form/core"; import { Schema } from "effect"; export interface CheckboxFC extends React.FC<{ label?: React.ReactNode; className?: string; onChange?: React.ChangeEventHandler | undefined; }> { } declare const Checkbox_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: CheckboxFC) => import("effect/Layer").Layer; layerControlled: (component: CheckboxFC) => import("effect/Layer").Layer; }; export declare class Checkbox extends Checkbox_base { static Default: { readonly tag: import("effect/Context").Tag>; readonly schema: typeof Schema.Boolean; readonly defaultValue: boolean | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: typeof Schema.Boolean; readonly defaultValue: boolean | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: typeof Schema.Boolean; readonly defaultValue: boolean | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: typeof Schema.Boolean; readonly defaultValue: boolean | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: typeof Schema.Boolean; readonly defaultValue: boolean | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: typeof Schema.Boolean; readonly defaultValue: boolean | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: typeof Schema.Boolean; readonly defaultValue: boolean | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: typeof Schema.Boolean; readonly defaultValue: boolean | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: typeof Schema.Boolean; readonly defaultValue: boolean | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: typeof Schema.Boolean; readonly defaultValue: boolean | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: typeof Schema.Boolean; readonly defaultValue: boolean | typeof FormField.NoDefaultValue; decorate(): /*elided*/ any; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: boolean) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: boolean) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: boolean) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: boolean) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: boolean) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: boolean) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: boolean) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: boolean) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: boolean) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: boolean) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: boolean) => void; withoutDefaultValue?: () => void; }): void; }; } export {}; //# sourceMappingURL=Checkbox.d.ts.map