import type { ListCollectionItemsRequest, SearchModel, DashboardId, CollectionId } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api";
import type { CollectionItemId, CollectionPickerItem } from "../CollectionPicker";
import type { EntityPickerModalOptions, ListProps } from "../EntityPicker";
export type DashboardPickerModel = Extract<CollectionPickerItem["model"], "dashboard" | "collection">;
export type DashboardPickerValueModel = Extract<CollectionPickerItem["model"], "dashboard">;
export type DashboardPickerValueItem = CollectionPickerItem & {
    id: DashboardId;
    model: DashboardPickerValueModel;
};
export type DashboardPickerInitialValueItem = {
    id: DashboardId | CollectionId;
    model: DashboardPickerModel;
};
export type DashboardPickerItem = CollectionPickerItem;
export type DashboardPickerOptions = EntityPickerModalOptions & {
    allowCreateNew?: boolean;
    showPersonalCollections?: boolean;
    showRootCollection?: boolean;
};
export type DashboardItemListProps = ListProps<CollectionItemId, SearchModel, DashboardPickerItem, ListCollectionItemsRequest, DashboardPickerOptions>;
