import { ReactNode } from 'react'; import { ComboBoxProps, Key, ListBoxItemProps } from 'react-aria-components'; import { IconType } from '../../atoms/Icon/types'; export declare const iconCustomVariants: (props?: ({ size?: "m" | "s" | "l" | null | undefined; } & import("class-variance-authority/dist/types").ClassProp) | undefined) => string; export type InputSize = 's' | 'm' | 'l'; export type InputVariantsProps = { isSuccess?: boolean; isInvalid?: boolean; isDisabled?: boolean; isReadOnly?: boolean; isRequired?: boolean; Icon?: IconType; size?: InputSize; helpText?: string; }; export type GetSelectIconProps = { selected?: SelectInputProps['selected']; Icon?: SelectInputProps['Icon']; size: SelectInputProps['size']; }; export type SelectOption = { id: Key; name: string; Icon?: IconType; leadingItem?: ReactNode; badges?: number; }; export type SelectProps = Omit, 'items'> & InputVariantsProps & { options: SelectOption[]; value: Key | undefined | null; label?: string; onChange: (value: SelectValue) => void; showIcons?: boolean; showBadges?: boolean; iconSize?: number; isLabelFixed?: boolean; placeholder?: string; sortFunction?: (a: SelectOption, b: SelectOption) => number; }; export type SelectValue = Key | null; export type SelectItemProps = ListBoxItemProps & { showIcons?: boolean; showBadges?: boolean; size?: InputSize; isIndeterminate?: boolean; name?: string; }; export type SelectInputProps = { placeholder?: string; handleInputChange?: (event: React.ChangeEvent) => void; handleFocus?: (event: React.FocusEvent) => void; handleBlur?: (event: React.FocusEvent) => void; leadingItem?: ReactNode; handleSelectionChange?: (selectedValue: SelectValue) => void; variantProps?: VariantProps; labelProps?: LabelProps; selectionChanged?: boolean; selected?: SelectOption; showBadges?: boolean; ref?: React.RefObject; isDisabled?: boolean; size: InputSize; showIcons?: boolean; Icon?: IconType; }; export type VariantProps = { isReadOnly: boolean | undefined; size: InputSize; filled: boolean | undefined; isDisabled: boolean | undefined; isInvalid: boolean | undefined; isSuccess: boolean | undefined; }; export type LabelProps = { label: string; size: InputSize; isRequired: boolean | undefined; isDisabled: boolean | undefined; isInvalid: boolean | undefined; isReadOnly: boolean | undefined; isSuccess: boolean | undefined; isFixed: boolean | undefined; }; export type StateSelect = { selected?: SelectOption | undefined; inputValue?: string | undefined; selectedKey?: Key | null; selectionChanged?: boolean; showEmptyMessage?: boolean; isFocused?: boolean; }; //# sourceMappingURL=types.d.ts.map