import { FormField } from "@inato-form/core"; import type { Array } from "effect"; import { Schema } from "effect"; interface MultiSelectFC extends React.FC<{ label?: React.ReactNode; placeholder?: string | undefined; className?: string; options: ReadonlyArray<{ label: string; value: Value; }>; }> { } declare const MultiSelect_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: MultiSelectFC) => import("effect/Layer").Layer; layerControlled: (component: MultiSelectFC) => import("effect/Layer").Layer; }; export declare class MultiSelect extends MultiSelect_base { static Default: >(...literals: Literals) => { readonly tag: import("effect/Context").Tag>>; readonly schema: Schema.HashSet>; readonly defaultValue: readonly [...Literals][number][] | typeof FormField.NoDefaultValue; decorate>(): { readonly tag: import("effect/Context").Tag>; readonly schema: Schema.HashSet>; readonly defaultValue: readonly [...Literals][number][] | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: Schema.HashSet>; readonly defaultValue: readonly [...Literals][number][] | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: Schema.HashSet>; readonly defaultValue: readonly [...Literals][number][] | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: Schema.HashSet>; readonly defaultValue: readonly [...Literals][number][] | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: Schema.HashSet>; readonly defaultValue: readonly [...Literals][number][] | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: Schema.HashSet>; readonly defaultValue: readonly [...Literals][number][] | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: Schema.HashSet>; readonly defaultValue: readonly [...Literals][number][] | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: Schema.HashSet>; readonly defaultValue: readonly [...Literals][number][] | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: Schema.HashSet>; readonly defaultValue: readonly [...Literals][number][] | typeof FormField.NoDefaultValue; decorate(): { readonly tag: import("effect/Context").Tag>; readonly schema: Schema.HashSet>; readonly defaultValue: readonly [...Literals][number][] | typeof FormField.NoDefaultValue; decorate(): /*elided*/ any; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: readonly [...Literals][number][]) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: readonly [...Literals][number][]) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: readonly [...Literals][number][]) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: readonly [...Literals][number][]) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: readonly [...Literals][number][]) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: readonly [...Literals][number][]) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: readonly [...Literals][number][]) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: readonly [...Literals][number][]) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: readonly [...Literals][number][]) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: readonly [...Literals][number][]) => void; withoutDefaultValue?: () => void; }): void; }; getDefaultValue(): import("effect/Option").Option; matchDefaultValue({ withDefaultValue, withoutDefaultValue }: { withDefaultValue: (value: readonly [...Literals][number][]) => void; withoutDefaultValue?: () => void; }): void; }; } export {}; //# sourceMappingURL=MultiSelect.d.ts.map