import { FormField } from "@inato-form/core"; import { Schema } from "effect"; export interface TextAreaFC extends React.FC<{ label?: React.ReactNode; placeholder?: string | undefined; className?: string; }> { } declare const TextArea_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: TextAreaFC) => import("effect/Layer").Layer; layerControlled: (component: TextAreaFC) => import("effect/Layer").Layer; }; export declare class TextArea extends TextArea_base { static Optional: { readonly tag: import("effect/Context").Tag>; readonly schema: Schema.transform>; readonly defaultValue: string | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: Schema.transform>; readonly defaultValue: string | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: Schema.transform>; readonly defaultValue: string | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: Schema.transform>; readonly defaultValue: string | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: Schema.transform>; readonly defaultValue: string | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: Schema.transform>; readonly defaultValue: string | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: Schema.transform>; readonly defaultValue: string | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: Schema.transform>; readonly defaultValue: string | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: Schema.transform>; readonly defaultValue: string | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: Schema.transform>; readonly defaultValue: string | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: Schema.transform>; readonly defaultValue: string | typeof FormField.NoDefaultValue; decorate(): /*elided*/ any; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: string) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: string) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: string) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: string) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: string) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: string) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: string) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: string) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: string) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: string) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: string) => void; withoutDefaultValue?: () => void; }): void; }; static Required: { readonly tag: import("effect/Context").Tag>; readonly schema: Schema.filter>; readonly defaultValue: string | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: Schema.filter>; readonly defaultValue: string | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: Schema.filter>; readonly defaultValue: string | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: Schema.filter>; readonly defaultValue: string | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: Schema.filter>; readonly defaultValue: string | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: Schema.filter>; readonly defaultValue: string | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: Schema.filter>; readonly defaultValue: string | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: Schema.filter>; readonly defaultValue: string | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: Schema.filter>; readonly defaultValue: string | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: Schema.filter>; readonly defaultValue: string | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: Schema.filter>; readonly defaultValue: string | typeof FormField.NoDefaultValue; decorate(): /*elided*/ any; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: string) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: string) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: string) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: string) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: string) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: string) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: string) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: string) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: string) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: string) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: string) => void; withoutDefaultValue?: () => void; }): void; }; } export {}; //# sourceMappingURL=TextArea.d.ts.map