import { Option } from "../../../types/variables.mjs"; import { FC, InputHTMLAttributes } from "react"; //#region src/components/form/autocomplete/autocomplete.d.ts type BaseProps = { id: string; invalid?: boolean; options: readonly Option[]; } & Omit, 'type' | 'role' | 'className' | 'style' | 'value' | 'onChange' | 'defaultValue' | 'children' | 'id' | 'autoComplete' | 'aria-autocomplete' | 'aria-controls' | 'aria-expanded'>; type ControlledProps = { value: string[]; onChange: (value: string[]) => void; defaultValue?: never; }; type UncontrolledProps = { defaultValue?: string[]; value?: never; onChange?: (value: string[]) => void; }; type Props = BaseProps & (ControlledProps | UncontrolledProps); declare const Autocomplete: FC; //#endregion export { Autocomplete };