/// <reference types="react" />
import { TreeSelectProps } from "@tiller-ds/selectors";
declare type TreeSelectOnlyPropsUnion = "value" | "onChange" | "onBlur" | "error";
export declare type TreeSelectFieldProps<T> = {
    /**
     * The accessor value for the component (for validation, fetching, etc.).
     */
    name: string;
    /**
     * Function describing what property of the object the component will treat as a value.
     */
    getOptionValue?: (item: T) => unknown;
} & Omit<TreeSelectProps<T>, TreeSelectOnlyPropsUnion>;
export default function TreeSelectField<T>({ name, options, getItems, getOptionValue, ...props }: TreeSelectFieldProps<T>): JSX.Element;
export {};
