import type { CollectionId, ListCollectionItemsRequest } from "../../../../metabase-types/api";
import type { PickerState } from "../EntityPicker";
import type { QuestionPickerItem } from "../QuestionPicker";
import type { CollectionPickerItem, CollectionPickerStatePath } from "./types";
export declare const getCollectionIdPath: (collection: Pick<CollectionPickerItem, "id" | "location" | "is_personal" | "effective_location">, userPersonalCollectionId?: CollectionId) => CollectionId[];
export declare const getStateFromIdPath: ({ idPath, namespace, }: {
    idPath: CollectionId[];
    namespace?: "snippets";
}) => CollectionPickerStatePath;
export declare const isFolder: (item: CollectionPickerItem) => boolean;
export declare const getParentCollectionId: (location?: string | null) => CollectionId;
export declare const getPathLevelForItem: (item: CollectionPickerItem | QuestionPickerItem, path: PickerState<CollectionPickerItem | QuestionPickerItem, ListCollectionItemsRequest>, userPersonalCollectionId?: CollectionId) => number;
