/// import type { ParamValues } from "airplane/api"; import { DefaultParams } from "../../client"; import { SelectTValue } from "../../state/components/select/reducer"; import { SelectComponentProps, SelectItem, SelectProps, SelectPropsWithTask } from "./Select.types"; export declare const Select: { (props: SelectProps): import("react/jsx-runtime").JSX.Element; displayName: string; }; /** * Presentational select component. */ export declare const SelectComponent: import("react").ForwardRefExoticComponent<{ id?: string | undefined; defaultValue?: string | number | undefined; value?: SelectTValue; label?: import("react").ReactNode; placeholder?: string | undefined; description?: import("react").ReactNode; nothingFound?: import("react").ReactNode; onChange?: ((value: string | null) => void) | undefined; filter?: ((value: string, item: SelectItem) => boolean) | undefined; size?: import("@mantine/core").MantineSize | undefined; defaultDisabled?: boolean | undefined; searchable?: boolean | undefined; clearable?: boolean | undefined; loading?: boolean | undefined; data: (string | number | SelectItem)[]; radius?: import("@mantine/core").MantineSize | undefined; allowDeselect?: boolean | undefined; error?: import("react").ReactNode; initiallyOpened?: boolean | undefined; ItemComponent?: import("react").FunctionComponent | undefined; itemComponent?: import("react").FunctionComponent | undefined; disabled?: boolean | undefined; autoFocus?: boolean | undefined; withinPortal?: boolean | undefined; unstyled?: boolean | undefined; readOnly?: boolean | undefined; sx?: import("@mantine/core").CSSObject | undefined; classNames?: Partial> | undefined; } & import("../layout/layout.types").CommonLayoutProps & import("../styling.types").CommonStylingProps & import("react").RefAttributes>; export declare const SelectComponentWithoutRef: ({ loading, data, value, defaultValue, filter, withinPortal, innerRef, unstyled, disabled, ItemComponent, itemComponent, className, style, width, height, grow, ...restProps }: { id?: string | undefined; defaultValue?: string | number | undefined; value?: SelectTValue; label?: import("react").ReactNode; placeholder?: string | undefined; description?: import("react").ReactNode; nothingFound?: import("react").ReactNode; onChange?: ((value: string | null) => void) | undefined; filter?: ((value: string, item: SelectItem) => boolean) | undefined; size?: import("@mantine/core").MantineSize | undefined; defaultDisabled?: boolean | undefined; searchable?: boolean | undefined; clearable?: boolean | undefined; loading?: boolean | undefined; data: (string | number | SelectItem)[]; radius?: import("@mantine/core").MantineSize | undefined; allowDeselect?: boolean | undefined; error?: import("react").ReactNode; initiallyOpened?: boolean | undefined; ItemComponent?: import("react").FunctionComponent | undefined; itemComponent?: import("react").FunctionComponent | undefined; disabled?: boolean | undefined; autoFocus?: boolean | undefined; withinPortal?: boolean | undefined; unstyled?: boolean | undefined; readOnly?: boolean | undefined; sx?: import("@mantine/core").CSSObject | undefined; classNames?: Partial> | undefined; } & import("../layout/layout.types").CommonLayoutProps & import("../styling.types").CommonStylingProps & { innerRef: React.Ref; }) => import("react/jsx-runtime").JSX.Element; /** * outputToData converts task output to Select data. */ export declare function outputToData(output: TOutput, dataTransform?: SelectPropsWithTask["outputTransform"]): SelectComponentProps["data"];