import { ODataCollectionModel, ODataSingleSelectProps } from "@ryuzaki13/react-foundation-api/odata";
import { CollectionItem } from "@ryuzaki13/react-foundation-lib/odata";
interface UseODataSelectOptions extends Omit<ODataSingleSelectProps, "model"> {
    model: Required<ODataCollectionModel>;
    onChange: (value: string | undefined) => void;
}
export declare function useODataSelect({ odata, segment, model, value, dependencies, onChange }: UseODataSelectOptions): {
    selectedItem: CollectionItem;
    options: CollectionItem[];
    handleChange: (item: CollectionItem | undefined) => void;
    query: string;
    setQuery: import("react").Dispatch<import("react").SetStateAction<string>>;
    debouncedQuery: string;
    selectedItems: CollectionItem[];
    filteredItems: CollectionItem[];
    itemsCount: number;
    isLoading: boolean;
    isError: boolean;
    codeKey: string;
    textKey: string;
    selectionKey: string;
    placeholder: string;
};
export {};
//# sourceMappingURL=useODataSelect.d.ts.map