import React from "react"; import type { InputPrimitiveProps } from "../../Input/index.js"; import { type VariantProps } from "../../utils.js"; import type { IconPickerIconDto } from "../domains/index.js"; declare const iconPickerVariants: (props?: ({ size?: "md" | "lg" | "xl" | null | undefined; disabled?: boolean | null | undefined; } & import("class-variance-authority/types").ClassProp) | undefined) => string; interface IconPickerPrimitiveProps extends VariantProps { /** * Indicates if the field is disabled. */ disabled?: boolean; /** * Callback triggered when the value changes. */ onChange?: (value: string) => void; /** * List of icons to be displayed in the icon picker. */ icons: IconPickerIconDto[]; /** * Indicates if the input field is invalid. * Refer to `InputPrimitiveProps["invalid"]` for possible values. */ invalid?: InputPrimitiveProps["invalid"]; /** * Optional selected icon. */ value?: string; /** * Variant of the input field. * Refer to `InputPrimitiveProps["variant"]` for possible values. */ variant?: InputPrimitiveProps["variant"]; } declare const IconPickerPrimitive: (props: IconPickerPrimitiveProps) => React.JSX.Element; export { IconPickerPrimitive, type IconPickerPrimitiveProps };