import { type ReactNode } from "react"; import { type SelectProps, Select } from "@heroui/react"; import type { Key } from "@react-types/shared"; import type { FieldComponentProps } from "soda-tanstack-form"; import type { StrictOmit } from "soda-type"; import { type EmptyValue } from "./FormProvider"; export type SelectionMode = "single" | "multiple"; export type SelectLabelPlacement = "inside" | "outside" | "outside-left" | "outside-top"; export interface FormSelectProps extends StrictOmit, Value>, "selectionMode" | "labelPlacement"> { labelPlacement?: SelectLabelPlacement; selectionMode?: Mode; emptyValue?: EmptyValue; component?: (props: SelectProps) => ReactNode; } export declare function FormSelect({ field, emptyValue, component: Select2, selectionMode, labelPlacement, classNames: { base, label, ...restClassNames }, ...rest }: FormSelectProps): ReactNode;