import { type KeyboardEvent } from "react";
import { type CatalogItemPickerSelectionMode, type CatalogItemPickerType } from "./types.js";
interface IUseCatalogItemPickerStateParams {
    isOpen: boolean;
    selectionMode: CatalogItemPickerSelectionMode;
    itemTypes: CatalogItemPickerType[];
}
/**
 * @internal
 */
export declare function useCatalogItemPickerState({ isOpen, selectionMode, itemTypes }: IUseCatalogItemPickerStateParams): {
    searchString: string;
    selectedIds: Set<string>;
    activeType: CatalogItemPickerType;
    setActiveType: import("react").Dispatch<import("react").SetStateAction<CatalogItemPickerType>>;
    setSelectedIds: import("react").Dispatch<import("react").SetStateAction<Set<string>>>;
    handleItemSelect: (id: string) => void;
    handleSearchChange: (value: string | number) => void;
    handleSearchEscKeyPress: (e: KeyboardEvent<Element>) => void;
    resetSelection: () => void;
};
export {};
//# sourceMappingURL=useCatalogItemPickerState.d.ts.map