import type { CacheConfig, CacheStrategy, CacheableModel, CollectionEssentials, SearchModel, SearchResult } from "@metabase/embedding-sdk-react/dist/frontend/src/metabase-types/api";
/** Something with a configurable cache strategy */
export type CacheableItem = Omit<CacheConfig, "model_id"> & {
    id: number;
    name?: string;
    collection?: CollectionEssentials;
    strategy?: CacheStrategy;
    /** In the sense of 'type of object' */
    iconModel?: SearchModel;
};
export type DashboardResult = SearchResult<number, "dashboard">;
export type QuestionResult = SearchResult<number, "card">;
export type UpdateTarget = (newValues: {
    id: number | null;
    model: CacheableModel | null;
}, isFormDirty: boolean) => void;
