import { ODataCollectionModel, ODataSelectBaseProps } from "@ryuzaki13/react-foundation-api/odata";
import { CollectionItem } from "@ryuzaki13/react-foundation-lib/odata";
interface UseODataSelectBaseOptions extends Omit<ODataSelectBaseProps, "model" | "value"> {
    model: Required<ODataCollectionModel>;
    value?: string[];
}
export declare function useODataSelectBase({ odata, segment, model, value, dependencies }: UseODataSelectBaseOptions): {
    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 type ODataSelectBaseModel = ReturnType<typeof useODataSelectBase>;
export declare function mapSelectedItemsToValues(items: CollectionItem[], selectionKey: string): string[];
export {};
//# sourceMappingURL=useODataSelectBase.d.ts.map