import type { CollectionId, CollectionItemModel, Card, CardType, ListCollectionItemsRequest } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api";
import type { PickerState } from "../EntityPicker";
import type { QuestionPickerItem, QuestionPickerValue, QuestionPickerValueModel } from "./types";
export declare const getCollectionIdPath: (collection: Pick<QuestionPickerItem, "id" | "location" | "is_personal" | "effective_location">, userPersonalCollectionId?: CollectionId) => CollectionId[];
export declare const getStateFromIdPath: ({ idPath, namespace, models, }: {
    idPath: CollectionId[];
    namespace?: "snippets";
    models?: CollectionItemModel[];
}) => PickerState<QuestionPickerItem, ListCollectionItemsRequest>;
export declare const isFolder: (item: QuestionPickerItem, models: CollectionItemModel[]) => boolean;
export declare const getQuestionPickerValue: ({ id, type, }: Pick<Card, "id" | "type">) => QuestionPickerValue;
export declare const getQuestionPickerValueModel: (type: CardType) => QuestionPickerValueModel;
