import type { Collection } from "../../../../metabase-types/api";
import type { CollectionItemListProps, CollectionPickerItem } from "./types";
/**
 * This is a special item list that exists "above" our analytics and might include:
 * a) the highest-level collections the user can access (often "our analytics")
 * b) the user's personal collection
 * c) a top level folder including all personal collections (admin only)
 */
export declare const useRootCollectionPickerItems: (options: CollectionItemListProps["options"]) => {
    items: CollectionPickerItem[];
    isLoading: boolean;
};
export declare const useEnsureCollectionSelected: ({ currentCollection, enabled, options, useRootCollection, onInit, }: {
    currentCollection: Collection | undefined;
    enabled: boolean;
    options: CollectionItemListProps["options"];
    useRootCollection: boolean;
    onInit: (item: CollectionPickerItem) => void;
}) => void;
