import type { SelectProps } from "src/components/Select/types";
type SingleSelectProps = Extract<SelectProps, {
    isMulti?: false;
}>;
export declare function useSelectState(props: SingleSelectProps): {
    id: string;
    errorId: string;
    helpTextId: string;
    sizeConfig: {
        chips: string;
        input: string;
        chip: string;
    };
    isControlled: boolean;
    currentValue: string;
    effectiveItems: string[] | {
        label: string;
        items: string[];
    }[] | undefined;
    creatableFilter: (itemValue: string, query: string, itemToString?: (v: string) => string) => boolean;
    handleValueChange: (next: string | null) => void;
    handleInputValueChange: (value: string) => void;
    handleClear: () => void;
    showCreateOption: boolean;
    showClearButton: boolean;
    ariaDescribedBy: string | undefined;
    testIdPrefix: string | undefined;
    labelForValue: (val: string) => string;
    flatOptionsMap: Map<string, import("src/components/Select/types").OptionBase>;
    label: string;
    error: string;
    helpText: string | number | bigint | boolean | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<import("react").ReactNode> | null | undefined> | null;
    isDisabled: boolean;
    required: boolean;
    isSearchable: boolean;
    autoHighlight: boolean;
    onOpenChange: ((open: boolean) => void) | undefined;
    isClearable: boolean;
    isAsync: boolean;
    resolvedOptions: import("src/components/Select/types").Option[];
    flatOptions: import("src/components/Select/types").OptionBase[];
    isGrouped: boolean;
    isLoading: boolean;
    handleAsyncInputChange: (value: string) => void;
    baseUiItems: string[] | {
        label: string;
        items: string[];
    }[] | undefined;
    hasMoreLazy: boolean;
    loaderCallbackRef: (node: HTMLDivElement | null) => void;
};
export {};
